Mercurial > mplayer.hg
comparison libvo/Makefile @ 21285:a396402b091b
FFmpeg-style conditional dependency declaration
author | diego |
---|---|
date | Mon, 27 Nov 2006 01:17:22 +0000 |
parents | 92b122592776 |
children | f423ce0a1c36 |
comparison
equal
deleted
inserted
replaced
21284:30c0e0cfd9ed | 21285:a396402b091b |
---|---|
16 vo_mpegpes.c \ | 16 vo_mpegpes.c \ |
17 vo_null.c \ | 17 vo_null.c \ |
18 vo_yuv4mpeg.c \ | 18 vo_yuv4mpeg.c \ |
19 $(VO_SRCS) \ | 19 $(VO_SRCS) \ |
20 | 20 |
21 SRCS-$(EXTERNAL_VIDIX) += vosub_vidix.c | |
22 SRCS-$(VIDIX) += vosub_vidix.c | |
23 | |
21 SRCS2 = aclib.c \ | 24 SRCS2 = aclib.c \ |
22 osd.c \ | 25 osd.c \ |
23 sub.c \ | 26 sub.c \ |
24 | 27 |
25 ifeq ($(CONFIG_LIBAVUTIL),yes) | 28 SRCS2-$(BITMAP_FONT) += font_load.c |
26 LIBAV_INC += -I../libavutil | 29 SRCS2-$(FREETYPE) += font_load_ft.c |
27 endif | |
28 | 30 |
29 OBJS_TEMP=$(basename $(SRCS)) | 31 OBJS_TEMP=$(basename $(SRCS)) |
30 OBJS=$(OBJS_TEMP:%=%.o) | 32 OBJS=$(OBJS_TEMP:%=%.o) |
31 | 33 |
32 OBJS2=$(SRCS2:.c=.o) | 34 OBJS2=$(SRCS2:.c=.o) |
33 | 35 |
34 ifeq ($(BITMAP_FONT),yes) | 36 LIBAV_INC-$(CONFIG_LIBAVUTIL) += -I../libavutil |
35 SRCS2 += font_load.c | |
36 endif | |
37 ifeq ($(FREETYPE),yes) | |
38 SRCS2 += font_load_ft.c | |
39 endif | |
40 | 37 |
41 ifeq ($(VIDIX),yes) | 38 SRCS += $(SRCS-yes) |
42 SRCS += vosub_vidix.c | 39 SRCS2 += $(SRCS2-yes) |
43 endif | 40 LIBAV_INC += $(LIBAV_INC-yes) |
44 | |
45 ifeq ($(EXTERNAL_VIDIX),yes) | |
46 SRCS += vosub_vidix.c | |
47 endif | |
48 | 41 |
49 CFLAGS = -I.. -I../osdep $(LIBAV_INC) | 42 CFLAGS = -I.. -I../osdep $(LIBAV_INC) |
50 | 43 |
51 include ../mpcommon.mak | 44 include ../mpcommon.mak |
52 | 45 |