Mercurial > mplayer.hg
comparison libmpcodecs/Makefile @ 18771:a1807995e2ab
Move #ifdefs around complete files into the build system.
author | diego |
---|---|
date | Wed, 21 Jun 2006 14:49:09 +0000 |
parents | 1ba0aff3ed0a |
children | 9e95ac641e77 |
comparison
equal
deleted
inserted
replaced
18770:b6225b75d0b0 | 18771:a1807995e2ab |
---|---|
8 ifeq ($(MENCODER),yes) | 8 ifeq ($(MENCODER),yes) |
9 LIBS+=$(LIBNAME2) | 9 LIBS+=$(LIBNAME2) |
10 endif | 10 endif |
11 | 11 |
12 AUDIO_SRCS_LIB=ad_hwac3.c \ | 12 AUDIO_SRCS_LIB=ad_hwac3.c \ |
13 ad_liba52.c \ | |
14 ad_mp3lib.c \ | |
15 ad_hwmpa.c \ | 13 ad_hwmpa.c \ |
14 | |
15 ifeq ($(LIBA52),yes) | |
16 AUDIO_SRCS_LIB+=ad_liba52.c | |
17 endif | |
18 ifeq ($(MP3LIB),yes) | |
19 AUDIO_SRCS_LIB+=ad_mp3lib.c | |
20 endif | |
16 | 21 |
17 AUDIO_SRCS_NAT=ad_alaw.c \ | 22 AUDIO_SRCS_NAT=ad_alaw.c \ |
18 ad_dk3adpcm.c \ | 23 ad_dk3adpcm.c \ |
19 ad_dvdpcm.c \ | 24 ad_dvdpcm.c \ |
20 ad_imaadpcm.c \ | 25 ad_imaadpcm.c \ |
21 ad_msadpcm.c \ | 26 ad_msadpcm.c \ |
22 ad_msgsm.c \ | 27 ad_msgsm.c \ |
23 ad_pcm.c \ | 28 ad_pcm.c \ |
24 | 29 |
25 AUDIO_SRCS_OPT=ad_acm.c \ | |
26 ad_faad.c \ | |
27 ad_libdv.c \ | |
28 ad_libmad.c \ | |
29 ad_libvorbis.c \ | |
30 ad_qtaudio.c \ | |
31 ad_realaud.c \ | |
32 ad_twin.c \ | |
33 | |
34 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
35 AUDIO_SRCS_OPT+=ad_ffmpeg.c | |
36 endif | |
37 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
38 AUDIO_SRCS_OPT+=ad_ffmpeg.c | |
39 endif | |
40 ifeq ($(WIN32DLL),yes) | |
41 AUDIO_SRCS_OPT+=ad_dshow.c ad_dmo.c | |
42 endif | |
43 | |
44 AUDIO_SRCS=dec_audio.c \ | 30 AUDIO_SRCS=dec_audio.c \ |
45 ad.c \ | 31 ad.c \ |
46 $(AUDIO_SRCS_LIB) \ | 32 $(AUDIO_SRCS_LIB) \ |
47 $(AUDIO_SRCS_NAT) \ | 33 $(AUDIO_SRCS_NAT) \ |
48 $(AUDIO_SRCS_OPT) \ | 34 |
49 | 35 ifeq ($(CONFIG_LIBAVCODEC),yes) |
50 VIDEO_SRCS_LIB=vd_libmpeg2.c \ | 36 AUDIO_SRCS+=ad_ffmpeg.c |
51 vd_lzo.c \ | 37 endif |
38 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
39 AUDIO_SRCS+=ad_ffmpeg.c | |
40 endif | |
41 ifeq ($(WIN32DLL),yes) | |
42 AUDIO_SRCS+=ad_acm.c ad_dmo.c ad_dshow.c ad_twin.c | |
43 endif | |
44 ifeq ($(QTX_CODECS),yes) | |
45 AUDIO_SRCS+=ad_qtaudio.c | |
46 endif | |
47 ifeq ($(REAL_CODECS),yes) | |
48 AUDIO_SRCS+=ad_realaud.c | |
49 endif | |
50 ifeq ($(FAAD),yes) | |
51 AUDIO_SRCS += ad_faad.c | |
52 endif | |
53 ifeq ($(LIBDV),yes) | |
54 AUDIO_SRCS+=ad_libdv.c | |
55 endif | |
56 ifeq ($(LIBMAD),yes) | |
57 AUDIO_SRCS+=ad_libmad.c | |
58 endif | |
59 ifeq ($(LIBVORBIS),yes) | |
60 AUDIO_SRCS+=ad_libvorbis.c | |
61 endif | |
62 | |
63 | |
64 VIDEO_SRCS_LIB=vd_lzo.c \ | |
52 vd_nuv.c \ | 65 vd_nuv.c \ |
66 | |
67 ifeq ($(LIBMPEG2),yes) | |
68 VIDEO_SRCS_LIB+=vd_libmpeg2.c | |
69 endif | |
53 | 70 |
54 VIDEO_SRCS_NAT=vd_hmblck.c \ | 71 VIDEO_SRCS_NAT=vd_hmblck.c \ |
55 vd_mpegpes.c \ | 72 vd_mpegpes.c \ |
56 vd_mtga.c \ | 73 vd_mtga.c \ |
57 vd_null.c \ | 74 vd_null.c \ |
58 vd_raw.c \ | 75 vd_raw.c \ |
59 vd_sgi.c \ | 76 vd_sgi.c \ |
60 | 77 |
61 VIDEO_SRCS_OPT=vd_divx4.c \ | |
62 vd_libdv.c \ | |
63 vd_odivx.c \ | |
64 vd_qtvideo.c \ | |
65 vd_realvid.c \ | |
66 vd_theora.c \ | |
67 vd_vfw.c \ | |
68 vd_vfwex.c \ | |
69 vd_xanim.c \ | |
70 vd_xvid4.c \ | |
71 vd_xvid.c \ | |
72 vd_zrmjpeg.c \ | |
73 | |
74 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
75 VIDEO_SRCS_OPT+=vd_ffmpeg.c | |
76 endif | |
77 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
78 VIDEO_SRCS_OPT+=vd_ffmpeg.c | |
79 endif | |
80 ifeq ($(WIN32DLL),yes) | |
81 VIDEO_SRCS_OPT+=vd_dmo.c vd_dshow.c | |
82 endif | |
83 | |
84 VIDEO_SRCS=dec_video.c \ | 78 VIDEO_SRCS=dec_video.c \ |
85 vd.c \ | 79 vd.c \ |
86 $(VIDEO_SRCS_NAT) \ | 80 $(VIDEO_SRCS_NAT) \ |
87 $(VIDEO_SRCS_LIB) \ | 81 $(VIDEO_SRCS_LIB) \ |
88 $(VIDEO_SRCS_OPT) \ | 82 |
83 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
84 VIDEO_SRCS+=vd_ffmpeg.c | |
85 endif | |
86 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
87 VIDEO_SRCS+=vd_ffmpeg.c | |
88 endif | |
89 ifeq ($(WIN32DLL),yes) | |
90 VIDEO_SRCS+=vd_dmo.c vd_dshow.c vd_vfw.c vd_vfwex.c | |
91 endif | |
92 ifeq ($(QTX_CODECS),yes) | |
93 VIDEO_SRCS+=vd_qtvideo.c | |
94 endif | |
95 ifeq ($(REAL_CODECS),yes) | |
96 VIDEO_SRCS+=vd_realvid.c | |
97 endif | |
98 ifeq ($(XANIM_CODECS),yes) | |
99 VIDEO_SRCS+=vd_xanim.c | |
100 endif | |
101 ifeq ($(LIBDV),yes) | |
102 VIDEO_SRCS+=vd_libdv.c | |
103 endif | |
104 ifeq ($(LIBTHEORA),yes) | |
105 VIDEO_SRCS+=vd_theora.c | |
106 endif | |
107 ifeq ($(DIVX),yes) | |
108 VIDEO_SRCS+=vd_odivx.c | |
109 ifneq ($(OPENDIVX),yes) | |
110 VIDEO_SRCS+=vd_divx4.c | |
111 endif | |
112 endif | |
113 ifeq ($(XVID4),yes) | |
114 VIDEO_SRCS+=vd_xvid4.c | |
115 else | |
116 ifeq ($(XVID),yes) | |
117 VIDEO_SRCS+=vd_xvid.c | |
118 endif | |
119 endif | |
120 ifeq ($(ZORAN),yes) | |
121 VIDEO_SRCS+=vd_zrmjpeg.c | |
122 endif | |
123 | |
89 | 124 |
90 VFILTER_SRCS=vf.c \ | 125 VFILTER_SRCS=vf.c \ |
91 pullup.c \ | 126 pullup.c \ |
92 vf_1bpp.c \ | 127 vf_1bpp.c \ |
93 vf_2xsai.c \ | 128 vf_2xsai.c \ |
148 vf_unsharp.c \ | 183 vf_unsharp.c \ |
149 vf_vo.c \ | 184 vf_vo.c \ |
150 vf_yuvcsp.c \ | 185 vf_yuvcsp.c \ |
151 vf_yuy2.c \ | 186 vf_yuy2.c \ |
152 vf_yvu9.c \ | 187 vf_yvu9.c \ |
153 vf_screenshot.c \ | |
154 vf_yadif.c \ | 188 vf_yadif.c \ |
155 | 189 |
156 VFILTER_LAVC_SRCS += vf_lavc.c \ | 190 VFILTER_LAVC_SRCS += vf_lavc.c \ |
157 vf_lavcdeint.c \ | 191 vf_lavcdeint.c \ |
158 | 192 |
175 endif | 209 endif |
176 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | 210 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
177 VFILTER_SRCS += $(VFILTER_LAVC_SRCS) | 211 VFILTER_SRCS += $(VFILTER_LAVC_SRCS) |
178 endif | 212 endif |
179 | 213 |
214 ifeq ($(PNG),yes) | |
215 VFILTER_SRCS += vf_screenshot.c | |
216 endif | |
217 | |
218 | |
180 ENCODER_SRCS=ae.c \ | 219 ENCODER_SRCS=ae.c \ |
181 ae_pcm.c \ | 220 ae_pcm.c \ |
182 ve.c \ | 221 ve.c \ |
183 ve_divx4.c \ | |
184 ve_libdv.c \ | |
185 ve_nuv.c \ | 222 ve_nuv.c \ |
186 ve_qtvideo.c \ | |
187 ve_raw.c \ | 223 ve_raw.c \ |
188 ve_vfw.c \ | |
189 ve_xvid4.c \ | |
190 ve_xvid.c \ | |
191 | 224 |
192 ifeq ($(CONFIG_LIBAVCODEC),yes) | 225 ifeq ($(CONFIG_LIBAVCODEC),yes) |
193 ENCODER_SRCS+=ve_lavc.c | 226 ENCODER_SRCS+=ve_lavc.c |
194 endif | 227 endif |
195 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | 228 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
196 ENCODER_SRCS+=ve_lavc.c | 229 ENCODER_SRCS+=ve_lavc.c |
197 endif | 230 endif |
198 | 231 ifeq ($(WIN32DLL),yes) |
232 ENCODER_SRCS+=ve_vfw.c | |
233 endif | |
234 ifeq ($(QTX_CODECS),yes) | |
235 ENCODER_SRCS+=ve_qtvideo.c | |
236 endif | |
237 ifeq ($(LIBDV),yes) | |
238 ENCODER_SRCS+=ve_libdv.c | |
239 endif | |
240 ifeq ($(XVID4),yes) | |
241 ENCODER_SRCS+=ve_xvid4.c | |
242 else | |
243 ifeq ($(XVID),yes) | |
244 ENCODER_SRCS+=ve_xvid.c | |
245 endif | |
246 endif | |
247 ifeq ($(DIVX4ENCORE),yes) | |
248 ENCODER_SRCS+=ve_divx4.c | |
249 endif | |
199 ifeq ($(X264),yes) | 250 ifeq ($(X264),yes) |
200 ENCODER_SRCS+=ve_x264.c | 251 ENCODER_SRCS+=ve_x264.c |
201 endif | 252 endif |
253 | |
202 | 254 |
203 NATIVE_SRCS=native/minilzo.c \ | 255 NATIVE_SRCS=native/minilzo.c \ |
204 native/nuppelvideo.c \ | 256 native/nuppelvideo.c \ |
205 native/RTjpegN.c \ | 257 native/RTjpegN.c \ |
206 native/xa_gsm.c \ | 258 native/xa_gsm.c \ |