comparison Makefile @ 26344:3278dca99929

Merge libaf/Makefile into Makefile, one less instance of recursive make.
author diego
date Wed, 09 Apr 2008 18:15:21 +0000
parents 543b9e331d8c
children 1e6b8666f96f
comparison
equal deleted inserted replaced
26343:1b73f5aa1796 26344:3278dca99929
31 spudec.c \ 31 spudec.c \
32 sub_cc.c \ 32 sub_cc.c \
33 subopt-helper.c \ 33 subopt-helper.c \
34 subreader.c \ 34 subreader.c \
35 vobsub.c \ 35 vobsub.c \
36 libaf/af.c \
37 libaf/af_center.c \
38 libaf/af_channels.c \
39 libaf/af_comp.c \
40 libaf/af_delay.c \
41 libaf/af_dummy.c \
42 libaf/af_equalizer.c \
43 libaf/af_extrastereo.c \
44 libaf/af_format.c \
45 libaf/af_gate.c \
46 libaf/af_hrtf.c \
47 libaf/af_karaoke.c \
48 libaf/af_pan.c \
49 libaf/af_resample.c \
50 libaf/af_scaletempo.c \
51 libaf/af_sinesuppress.c \
52 libaf/af_sub.c \
53 libaf/af_surround.c \
54 libaf/af_sweep.c \
55 libaf/af_tools.c \
56 libaf/af_volnorm.c \
57 libaf/af_volume.c \
58 libaf/filter.c \
59 libaf/format.c \
60 libaf/reorder_ch.c \
61 libaf/window.c \
36 libass/ass.c \ 62 libass/ass.c \
37 libass/ass_bitmap.c \ 63 libass/ass_bitmap.c \
38 libass/ass_cache.c \ 64 libass/ass_cache.c \
39 libass/ass_font.c \ 65 libass/ass_font.c \
40 libass/ass_fontconfig.c \ 66 libass/ass_fontconfig.c \
44 libass/ass_utils.c \ 70 libass/ass_utils.c \
45 osdep/$(GETCH) \ 71 osdep/$(GETCH) \
46 osdep/$(TIMER) \ 72 osdep/$(TIMER) \
47 73
48 SRCS_COMMON-$(HAVE_SYS_MMAN_H) += osdep/mmap_anon.c 74 SRCS_COMMON-$(HAVE_SYS_MMAN_H) += osdep/mmap_anon.c
75 SRCS_COMMON-$(HAVE_SYS_MMAN_H) += libaf/af_export.c
76 SRCS_COMMON-$(LADSPA) += libaf/af_ladspa.c
77 SRCS_COMMON-$(LIBAVCODEC) += libaf/af_lavcresample.c
78 SRCS_COMMON-$(LIBAVCODEC_A) += libaf/af_lavcac3enc.c
49 SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += osdep/macosx_finder_args.c 79 SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += osdep/macosx_finder_args.c
50 SRCS_COMMON-$(NEED_GETTIMEOFDAY) += osdep/gettimeofday.c 80 SRCS_COMMON-$(NEED_GETTIMEOFDAY) += osdep/gettimeofday.c
51 SRCS_COMMON-$(NEED_GLOB) += osdep/glob-win.c 81 SRCS_COMMON-$(NEED_GLOB) += osdep/glob-win.c
52 SRCS_COMMON-$(NEED_MMAP) += osdep/mmap-os2.c 82 SRCS_COMMON-$(NEED_MMAP) += osdep/mmap-os2.c
53 SRCS_COMMON-$(NEED_SETENV) += osdep/setenv.c 83 SRCS_COMMON-$(NEED_SETENV) += osdep/setenv.c
86 mp_msg-mencoder.c \ 116 mp_msg-mencoder.c \
87 parser-mecmd.c \ 117 parser-mecmd.c \
88 xvid_vbr.c \ 118 xvid_vbr.c \
89 119
90 COMMON_LIBS = libmpcodecs/libmpcodecs.a \ 120 COMMON_LIBS = libmpcodecs/libmpcodecs.a \
91 libaf/libaf.a \
92 libmpdemux/libmpdemux.a \ 121 libmpdemux/libmpdemux.a \
93 stream/stream.a \ 122 stream/stream.a \
94 libswscale/libswscale.a \ 123 libswscale/libswscale.a \
95 libvo/libosd.a \ 124 libvo/libosd.a \
96 125
133 INSTALL_TARGETS += $(INSTALL_TARGETS-yes) 162 INSTALL_TARGETS += $(INSTALL_TARGETS-yes)
134 163
135 PARTS = dvdread \ 164 PARTS = dvdread \
136 gui \ 165 gui \
137 liba52 \ 166 liba52 \
138 libaf \
139 libao2 \ 167 libao2 \
140 libavcodec \ 168 libavcodec \
141 libavformat \ 169 libavformat \
142 libavutil \ 170 libavutil \
143 libdvdcss \ 171 libdvdcss \
153 stream \ 181 stream \
154 tremor \ 182 tremor \
155 vidix \ 183 vidix \
156 184
157 DIRS = input \ 185 DIRS = input \
186 libaf \
158 libass \ 187 libass \
159 libmenu \ 188 libmenu \
160 osdep \ 189 osdep \
161 190
162 all: $(ALL_PRG) 191 all: $(ALL_PRG)
165 for part in $(PARTS); do $(MAKE) -C $$part depend; done 194 for part in $(PARTS); do $(MAKE) -C $$part depend; done
166 195
167 include mpcommon.mak 196 include mpcommon.mak
168 197
169 CFLAGS := $(subst -I..,-I.,$(CFLAGS)) 198 CFLAGS := $(subst -I..,-I.,$(CFLAGS))
170
171 libaf/libaf.a:
172 $(MAKE) -C libaf
173 199
174 dvdread/libdvdread.a: 200 dvdread/libdvdread.a:
175 $(MAKE) -C dvdread 201 $(MAKE) -C dvdread
176 202
177 libdvdcss/libdvdcss.a: 203 libdvdcss/libdvdcss.a:
395 421
396 libvo/libvo.a: .norecurse $(wildcard libvo/*.[ch]) 422 libvo/libvo.a: .norecurse $(wildcard libvo/*.[ch])
397 libvo/libosd.a: .norecurse $(wildcard libvo/*.[ch]) 423 libvo/libosd.a: .norecurse $(wildcard libvo/*.[ch])
398 libao2/libao2.a: .norecurse $(wildcard libao2/*.[ch]) 424 libao2/libao2.a: .norecurse $(wildcard libao2/*.[ch])
399 425
400 libaf/libaf.a: .norecurse $(wildcard libaf/*.[ch])
401 dvdread/libdvdread.a: .norecurse $(wildcard dvdread/*.[ch]) 426 dvdread/libdvdread.a: .norecurse $(wildcard dvdread/*.[ch])
402 libdvdcss/libdvdcss.a: .norecurse $(wildcard libdvdcss/*.[ch]) 427 libdvdcss/libdvdcss.a: .norecurse $(wildcard libdvdcss/*.[ch])
403 428
404 libmpdemux/libmpdemux.a: .norecurse $(wildcard libmpdemux/*.[ch]) 429 libmpdemux/libmpdemux.a: .norecurse $(wildcard libmpdemux/*.[ch])
405 libmpdemux/libmpmux.a: .norecurse $(wildcard libmpdemux/*.[ch]) 430 libmpdemux/libmpmux.a: .norecurse $(wildcard libmpdemux/*.[ch])