Mercurial > mplayer.hg
annotate libvo/Makefile @ 16763:da25725d92f7
synced with 1.31
author | gabrov |
---|---|
date | Fri, 14 Oct 2005 18:53:33 +0000 |
parents | 96be528902fd |
children | ce1ba8fd57e7 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
5 | |
15772 | 6 SRCS=aclib.c \ |
7 aspect.c \ | |
8 font_load.c \ | |
9 font_load_ft.c \ | |
10 geometry.c \ | |
11 osd.c \ | |
12 spuenc.c \ | |
13 sub.c \ | |
14 video_out.c \ | |
15 vo_mpegpes.c \ | |
16 vo_null.c \ | |
17 vo_yuv4mpeg.c \ | |
18 $(OPTIONAL_SRCS) \ | |
19 | |
16331
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
20 LIBAV_INC = |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
21 ifeq ($(CONFIG_LIBAVUTIL),yes) |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
22 LIBAV_INC += -I../libavutil |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
23 endif |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
24 |
15291 | 25 OBJS_TEMP=$(basename $(SRCS)) |
26 OBJS=$(OBJS_TEMP:%=%.o) | |
1 | 27 |
4089 | 28 ifeq ($(VIDIX),yes) |
4168 | 29 SRCS += vosub_vidix.c |
4089 | 30 endif |
31 | |
15772 | 32 CFLAGS = $(OPTFLAGS) -I. -I.. -I../osdep \ |
16331
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
33 $(LIBAV_INC) \ |
15772 | 34 $(FREETYPE_INC) \ |
35 $(SDL_INC) \ | |
36 $(X11_INC) \ | |
37 $(EXTRA_INC) \ | |
38 $(DXR2_INC) \ | |
39 $(DIRECTFB_INC) \ | |
40 -DMPG12PLAY \ | |
41 | |
42 #CFLAGS += -Wall | |
1 | 43 |
15473
c1a6002fb140
If we use .m suffix we really should include it in .SUFFIXES
wight
parents:
15291
diff
changeset
|
44 .SUFFIXES: .c .o .m |
1 | 45 |
46 # .PHONY: all clean | |
47 | |
48 .c.o: | |
24 | 49 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 50 |
15291 | 51 .m.o: |
52 $(CC) -c $(CFLAGS) -o $@ $< | |
53 | |
1010 | 54 $(LIBNAME): $(OBJS) |
1 | 55 $(AR) r $(LIBNAME) $(OBJS) |
12634 | 56 $(RANLIB) $(LIBNAME) |
1 | 57 |
10651
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
58 vo_mpegpes.o: vo_mpegpes.c |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
59 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $< |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
60 |
1 | 61 all: $(LIBNAME) |
62 | |
63 clean: | |
64 rm -f *.o *.a *~ | |
65 | |
66 distclean: | |
24 | 67 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 68 |
69 dep: depend | |
70 | |
1010 | 71 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
72 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 73 |
24 | 74 # |
75 # include dependency files if they exist | |
76 # | |
77 ifneq ($(wildcard .depend),) | |
78 include .depend | |
79 endif |