Mercurial > mplayer.hg
annotate libvo/Makefile @ 18937:9e95ac641e77
Initial libass release (without mencoder support).
author | eugeni |
---|---|
date | Fri, 07 Jul 2006 18:26:51 +0000 |
parents | 1629108cd5b0 |
children | 9b3a8b48e5b3 |
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 geometry.c \ | |
10 osd.c \ | |
11 spuenc.c \ | |
12 sub.c \ | |
13 video_out.c \ | |
14 vo_mpegpes.c \ | |
15 vo_null.c \ | |
16 vo_yuv4mpeg.c \ | |
17 $(OPTIONAL_SRCS) \ | |
18 | |
16331
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
19 LIBAV_INC = |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
20 ifeq ($(CONFIG_LIBAVUTIL),yes) |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
21 LIBAV_INC += -I../libavutil |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
22 endif |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
23 |
15291 | 24 OBJS_TEMP=$(basename $(SRCS)) |
25 OBJS=$(OBJS_TEMP:%=%.o) | |
1 | 26 |
18864
1629108cd5b0
Move conditional FreeType support compilation to the build system.
diego
parents:
17988
diff
changeset
|
27 ifeq ($(FREETYPE),yes) |
1629108cd5b0
Move conditional FreeType support compilation to the build system.
diego
parents:
17988
diff
changeset
|
28 SRCS += font_load_ft.c |
1629108cd5b0
Move conditional FreeType support compilation to the build system.
diego
parents:
17988
diff
changeset
|
29 endif |
1629108cd5b0
Move conditional FreeType support compilation to the build system.
diego
parents:
17988
diff
changeset
|
30 |
4089 | 31 ifeq ($(VIDIX),yes) |
4168 | 32 SRCS += vosub_vidix.c |
4089 | 33 endif |
34 | |
17988 | 35 ifeq ($(EXTERNAL_VIDIX),yes) |
36 SRCS += vosub_vidix.c | |
37 endif | |
38 | |
15772 | 39 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
|
40 $(LIBAV_INC) \ |
15772 | 41 $(FREETYPE_INC) \ |
42 $(SDL_INC) \ | |
43 $(X11_INC) \ | |
44 $(EXTRA_INC) \ | |
45 $(DXR2_INC) \ | |
46 $(DIRECTFB_INC) \ | |
47 -DMPG12PLAY \ | |
48 | |
49 #CFLAGS += -Wall | |
1 | 50 |
15473
c1a6002fb140
If we use .m suffix we really should include it in .SUFFIXES
wight
parents:
15291
diff
changeset
|
51 .SUFFIXES: .c .o .m |
1 | 52 |
53 # .PHONY: all clean | |
54 | |
55 .c.o: | |
24 | 56 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 57 |
15291 | 58 .m.o: |
59 $(CC) -c $(CFLAGS) -o $@ $< | |
60 | |
1010 | 61 $(LIBNAME): $(OBJS) |
1 | 62 $(AR) r $(LIBNAME) $(OBJS) |
12634 | 63 $(RANLIB) $(LIBNAME) |
1 | 64 |
10651
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
65 vo_mpegpes.o: vo_mpegpes.c |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
66 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $< |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
67 |
1 | 68 all: $(LIBNAME) |
69 | |
70 clean: | |
71 rm -f *.o *.a *~ | |
72 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
16331
diff
changeset
|
73 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
16331
diff
changeset
|
74 rm -f .depend |
1 | 75 |
76 dep: depend | |
77 | |
1010 | 78 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
79 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 80 |
24 | 81 # |
82 # include dependency files if they exist | |
83 # | |
84 ifneq ($(wildcard .depend),) | |
85 include .depend | |
86 endif |