Mercurial > mplayer.hg
annotate libvo/Makefile @ 2743:1438574ccdc3
dvb test, /dev/ost/video:
Check for character device (-c) instead of file existance (-e), the -e test
is not available on solaris' /bin/sh.
author | jkeil |
---|---|
date | Tue, 06 Nov 2001 16:56:27 +0000 |
parents | ae79207a3055 |
children | 107d9e9e5bd1 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
5 | |
2732 | 6 SRCS=aspect.c aclib.c osd.c font_load.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c x11_common.c $(OPTIONAL_SRCS) img_format.c |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
7 OBJS=$(SRCS:.c=.o) |
1 | 8 |
1309
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
9 ifeq ($(TARGET_ARCH_X86),yes) |
2244 | 10 ifeq ($(TARGET_OS),Linux) |
2444 | 11 SRCS += vo_vesa.c |
2244 | 12 endif |
1309
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
13 endif |
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
14 |
2732 | 15 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DVB_INC) -DMPG12PLAY #-Wall |
1 | 16 # -I/usr/X11R6/include/ |
17 | |
18 .SUFFIXES: .c .o | |
19 | |
20 # .PHONY: all clean | |
21 | |
22 .c.o: | |
24 | 23 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 24 |
1010 | 25 $(LIBNAME): $(OBJS) |
1 | 26 $(AR) r $(LIBNAME) $(OBJS) |
27 | |
28 all: $(LIBNAME) | |
29 | |
30 clean: | |
31 rm -f *.o *.a *~ | |
32 | |
33 distclean: | |
24 | 34 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 35 |
36 dep: depend | |
37 | |
1010 | 38 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 40 |
24 | 41 # |
42 # include dependency files if they exist | |
43 # | |
44 ifneq ($(wildcard .depend),) | |
45 include .depend | |
46 endif |