Mercurial > mplayer.hg
annotate libvo/Makefile @ 20644:307af5777f42
Sync with r20637
author | torinthiel |
---|---|
date | Sat, 04 Nov 2006 09:45:00 +0000 |
parents | d04ee0eb6a11 |
children | 618d1857f4c4 |
rev | line source |
---|---|
1 | 1 |
19034 | 2 include ../config.mak |
1 | 3 |
4 LIBNAME = libvo.a | |
5 | |
15772 | 6 SRCS=aclib.c \ |
7 aspect.c \ | |
8 geometry.c \ | |
9 osd.c \ | |
10 spuenc.c \ | |
11 sub.c \ | |
12 video_out.c \ | |
13 vo_mpegpes.c \ | |
14 vo_null.c \ | |
15 vo_yuv4mpeg.c \ | |
19034 | 16 $(VO_SRCS) \ |
15772 | 17 |
16331
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
18 LIBAV_INC = |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
19 ifeq ($(CONFIG_LIBAVUTIL),yes) |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
20 LIBAV_INC += -I../libavutil |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
21 endif |
96be528902fd
Add -I../libavutil to the includes to fix building vo_zr[2].
diego
parents:
16264
diff
changeset
|
22 |
15291 | 23 OBJS_TEMP=$(basename $(SRCS)) |
24 OBJS=$(OBJS_TEMP:%=%.o) | |
1 | 25 |
19485
d04ee0eb6a11
support for disabling/enabling bitmap font support from configure
diego
parents:
19420
diff
changeset
|
26 ifeq ($(BITMAP_FONT),yes) |
d04ee0eb6a11
support for disabling/enabling bitmap font support from configure
diego
parents:
19420
diff
changeset
|
27 SRCS += font_load.c |
d04ee0eb6a11
support for disabling/enabling bitmap font support from configure
diego
parents:
19420
diff
changeset
|
28 endif |
d04ee0eb6a11
support for disabling/enabling bitmap font support from configure
diego
parents:
19420
diff
changeset
|
29 |
18864
1629108cd5b0
Move conditional FreeType support compilation to the build system.
diego
parents:
17988
diff
changeset
|
30 ifeq ($(FREETYPE),yes) |
1629108cd5b0
Move conditional FreeType support compilation to the build system.
diego
parents:
17988
diff
changeset
|
31 SRCS += font_load_ft.c |
1629108cd5b0
Move conditional FreeType support compilation to the build system.
diego
parents:
17988
diff
changeset
|
32 endif |
1629108cd5b0
Move conditional FreeType support compilation to the build system.
diego
parents:
17988
diff
changeset
|
33 |
4089 | 34 ifeq ($(VIDIX),yes) |
4168 | 35 SRCS += vosub_vidix.c |
4089 | 36 endif |
37 | |
17988 | 38 ifeq ($(EXTERNAL_VIDIX),yes) |
39 SRCS += vosub_vidix.c | |
40 endif | |
41 | |
19412
747453e12f3b
consistency cosmetics: Handle includes just like in other Makefiles.
diego
parents:
19190
diff
changeset
|
42 INCLUDE = -I. -I.. -I../osdep $(LIBAV_INC) |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19412
diff
changeset
|
43 CFLAGS = $(INCLUDE) $(OPTFLAGS) -DMPG12PLAY |
15772 | 44 |
45 #CFLAGS += -Wall | |
1 | 46 |
15473
c1a6002fb140
If we use .m suffix we really should include it in .SUFFIXES
wight
parents:
15291
diff
changeset
|
47 .SUFFIXES: .c .o .m |
1 | 48 |
49 # .PHONY: all clean | |
50 | |
51 .c.o: | |
24 | 52 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 53 |
15291 | 54 .m.o: |
55 $(CC) -c $(CFLAGS) -o $@ $< | |
56 | |
1010 | 57 $(LIBNAME): $(OBJS) |
1 | 58 $(AR) r $(LIBNAME) $(OBJS) |
12634 | 59 $(RANLIB) $(LIBNAME) |
1 | 60 |
61 all: $(LIBNAME) | |
62 | |
63 clean: | |
64 rm -f *.o *.a *~ | |
65 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
16331
diff
changeset
|
66 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
16331
diff
changeset
|
67 rm -f .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 |