comparison libvo/Makefile @ 22528:8bcff5c7e387

Give more descriptive names to the source and library variables and split between common, MPlayer-specific and MEncoder-specific parts.
author diego
date Tue, 13 Mar 2007 12:10:57 +0000
parents 254e55a37c6d
children 090ec2169aee
comparison
equal deleted inserted replaced
22527:5dc92a83d58a 22528:8bcff5c7e387
1 1
2 include ../config.mak 2 include ../config.mak
3 3
4 LIBNAME2 = libosd.a 4 LIBNAME_COMMON = libosd.a
5 ifeq ($(MPLAYER),yes) 5 LIBNAME_MPLAYER = libvo.a
6 LIBNAME = libvo.a
7 endif
8 6
9 SRCS=aspect.c \ 7 SRCS_MPLAYER = aspect.c \
10 geometry.c \ 8 geometry.c \
11 spuenc.c \ 9 spuenc.c \
12 video_out.c \ 10 video_out.c \
13 vo_mpegpes.c \ 11 vo_mpegpes.c \
14 vo_null.c \ 12 vo_null.c \
15 vo_yuv4mpeg.c \ 13 vo_yuv4mpeg.c \
16 $(VO_SRCS) \ 14 $(VO_SRCS) \
17 15
18 SRCS-$(EXTERNAL_VIDIX) += vosub_vidix.c 16 SRCS_MPLAYER-$(EXTERNAL_VIDIX) += vosub_vidix.c
19 SRCS-$(VIDIX) += vosub_vidix.c 17 SRCS_MPLAYER-$(VIDIX) += vosub_vidix.c
20 18
21 SRCS2 = aclib.c \ 19 SRCS_COMMON = aclib.c \
22 osd.c \ 20 osd.c \
23 sub.c \ 21 sub.c \
24 22
25 SRCS2-$(BITMAP_FONT) += font_load.c 23 SRCS_COMMON-$(BITMAP_FONT) += font_load.c
26 SRCS2-$(FREETYPE) += font_load_ft.c 24 SRCS_COMMON-$(FREETYPE) += font_load_ft.c
27 25
28 CFLAGS-$(CONFIG_LIBAVUTIL) += -I../libavutil 26 CFLAGS-$(CONFIG_LIBAVUTIL) += -I../libavutil
29 27
30 CFLAGS = -I../osdep 28 CFLAGS = -I../osdep
31 29