Mercurial > mplayer.hg
annotate libvo/Makefile @ 18831:bd70d74a994b
updated DOCS with new generic (non LIVE555 dependant) usage of -rtsp-port option
author | ben |
---|---|
date | Mon, 26 Jun 2006 21:32:59 +0000 |
parents | 4f7892794a7f |
children | 1629108cd5b0 |
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 | |
17988 | 32 ifeq ($(EXTERNAL_VIDIX),yes) |
33 SRCS += vosub_vidix.c | |
34 endif | |
35 | |
15772 | 36 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
|
37 $(LIBAV_INC) \ |
15772 | 38 $(FREETYPE_INC) \ |
39 $(SDL_INC) \ | |
40 $(X11_INC) \ | |
41 $(EXTRA_INC) \ | |
42 $(DXR2_INC) \ | |
43 $(DIRECTFB_INC) \ | |
44 -DMPG12PLAY \ | |
45 | |
46 #CFLAGS += -Wall | |
1 | 47 |
15473
c1a6002fb140
If we use .m suffix we really should include it in .SUFFIXES
wight
parents:
15291
diff
changeset
|
48 .SUFFIXES: .c .o .m |
1 | 49 |
50 # .PHONY: all clean | |
51 | |
52 .c.o: | |
24 | 53 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 54 |
15291 | 55 .m.o: |
56 $(CC) -c $(CFLAGS) -o $@ $< | |
57 | |
1010 | 58 $(LIBNAME): $(OBJS) |
1 | 59 $(AR) r $(LIBNAME) $(OBJS) |
12634 | 60 $(RANLIB) $(LIBNAME) |
1 | 61 |
10651
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
62 vo_mpegpes.o: vo_mpegpes.c |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
63 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $< |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
64 |
1 | 65 all: $(LIBNAME) |
66 | |
67 clean: | |
68 rm -f *.o *.a *~ | |
69 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
16331
diff
changeset
|
70 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
16331
diff
changeset
|
71 rm -f .depend |
1 | 72 |
73 dep: depend | |
74 | |
1010 | 75 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
76 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 77 |
24 | 78 # |
79 # include dependency files if they exist | |
80 # | |
81 ifneq ($(wildcard .depend),) | |
82 include .depend | |
83 endif |