Mercurial > mplayer.hg
comparison libmpcodecs/Makefile @ 21271:02da705f907d
Do not use many different variables for SRCS.
author | diego |
---|---|
date | Sun, 26 Nov 2006 22:02:52 +0000 |
parents | 64d299933e17 |
children | 045618c5a082 |
comparison
equal
deleted
inserted
replaced
21270:64d299933e17 | 21271:02da705f907d |
---|---|
7 LIBS =$(LIBNAME) | 7 LIBS =$(LIBNAME) |
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 SRCS=ad_hwac3.c \ |
13 ad_hwmpa.c \ | 13 ad_hwmpa.c \ |
14 | 14 |
15 ifeq ($(LIBA52),yes) | 15 ifeq ($(LIBA52),yes) |
16 AUDIO_SRCS_LIB+=ad_liba52.c | 16 SRCS+=ad_liba52.c |
17 endif | 17 endif |
18 ifeq ($(MP3LIB),yes) | 18 ifeq ($(MP3LIB),yes) |
19 AUDIO_SRCS_LIB+=ad_mp3lib.c | 19 SRCS+=ad_mp3lib.c |
20 endif | 20 endif |
21 | 21 |
22 AUDIO_SRCS_NAT=ad_alaw.c \ | 22 SRCS=dec_audio.c \ |
23 ad.c \ | |
24 ad_alaw.c \ | |
23 ad_dk3adpcm.c \ | 25 ad_dk3adpcm.c \ |
24 ad_dvdpcm.c \ | 26 ad_dvdpcm.c \ |
25 ad_imaadpcm.c \ | 27 ad_imaadpcm.c \ |
26 ad_msadpcm.c \ | 28 ad_msadpcm.c \ |
27 ad_msgsm.c \ | 29 ad_msgsm.c \ |
28 ad_pcm.c \ | 30 ad_pcm.c \ |
29 | 31 |
30 AUDIO_SRCS=dec_audio.c \ | 32 ifeq ($(CONFIG_LIBAVCODEC),yes) |
31 ad.c \ | 33 SRCS+=ad_ffmpeg.c |
32 $(AUDIO_SRCS_LIB) \ | 34 endif |
33 $(AUDIO_SRCS_NAT) \ | 35 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
34 | 36 SRCS+=ad_ffmpeg.c |
35 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
36 AUDIO_SRCS+=ad_ffmpeg.c | |
37 endif | |
38 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
39 AUDIO_SRCS+=ad_ffmpeg.c | |
40 endif | 37 endif |
41 ifeq ($(WIN32DLL),yes) | 38 ifeq ($(WIN32DLL),yes) |
42 AUDIO_SRCS+=ad_acm.c ad_dmo.c ad_dshow.c ad_twin.c | 39 SRCS+=ad_acm.c ad_dmo.c ad_dshow.c ad_twin.c |
43 endif | 40 endif |
44 ifeq ($(QTX_CODECS),yes) | 41 ifeq ($(QTX_CODECS),yes) |
45 AUDIO_SRCS+=ad_qtaudio.c | 42 SRCS+=ad_qtaudio.c |
46 endif | 43 endif |
47 ifeq ($(REAL_CODECS),yes) | 44 ifeq ($(REAL_CODECS),yes) |
48 AUDIO_SRCS+=ad_realaud.c | 45 SRCS+=ad_realaud.c |
49 endif | 46 endif |
50 ifeq ($(FAAD),yes) | 47 ifeq ($(FAAD),yes) |
51 AUDIO_SRCS += ad_faad.c | 48 SRCS += ad_faad.c |
52 endif | 49 endif |
53 ifeq ($(LIBDV),yes) | 50 ifeq ($(LIBDV),yes) |
54 AUDIO_SRCS+=ad_libdv.c | 51 SRCS+=ad_libdv.c |
55 endif | 52 endif |
56 ifeq ($(LIBMAD),yes) | 53 ifeq ($(LIBMAD),yes) |
57 AUDIO_SRCS+=ad_libmad.c | 54 SRCS+=ad_libmad.c |
58 endif | 55 endif |
59 ifeq ($(LIBVORBIS),yes) | 56 ifeq ($(LIBVORBIS),yes) |
60 AUDIO_SRCS+=ad_libvorbis.c | 57 SRCS+=ad_libvorbis.c |
61 endif | 58 endif |
62 ifeq ($(MUSEPACK),yes) | 59 ifeq ($(MUSEPACK),yes) |
63 AUDIO_SRCS += ad_mpc.c | 60 SRCS += ad_mpc.c |
64 endif | 61 endif |
65 ifeq ($(SPEEX),yes) | 62 ifeq ($(SPEEX),yes) |
66 AUDIO_SRCS += ad_speex.c | 63 SRCS += ad_speex.c |
67 endif | 64 endif |
68 | 65 |
69 | 66 |
70 VIDEO_SRCS_LIB=vd_lzo.c \ | 67 SRCS=vd_lzo.c \ |
71 vd_nuv.c \ | 68 vd_nuv.c \ |
72 | 69 |
73 ifeq ($(LIBMPEG2),yes) | 70 ifeq ($(LIBMPEG2),yes) |
74 VIDEO_SRCS_LIB+=vd_libmpeg2.c | 71 SRCS+=vd_libmpeg2.c |
75 endif | 72 endif |
76 | 73 |
77 VIDEO_SRCS_NAT=vd_hmblck.c \ | 74 SRCS=dec_video.c \ |
75 vd.c \ | |
76 vd_hmblck.c \ | |
78 vd_mpegpes.c \ | 77 vd_mpegpes.c \ |
79 vd_mtga.c \ | 78 vd_mtga.c \ |
80 vd_null.c \ | 79 vd_null.c \ |
81 vd_raw.c \ | 80 vd_raw.c \ |
82 vd_sgi.c \ | 81 vd_sgi.c \ |
83 | 82 |
84 VIDEO_SRCS=dec_video.c \ | 83 ifeq ($(CONFIG_LIBAVCODEC),yes) |
85 vd.c \ | 84 SRCS+=vd_ffmpeg.c |
86 $(VIDEO_SRCS_NAT) \ | 85 endif |
87 $(VIDEO_SRCS_LIB) \ | 86 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
88 | 87 SRCS+=vd_ffmpeg.c |
89 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
90 VIDEO_SRCS+=vd_ffmpeg.c | |
91 endif | |
92 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
93 VIDEO_SRCS+=vd_ffmpeg.c | |
94 endif | 88 endif |
95 ifeq ($(WIN32DLL),yes) | 89 ifeq ($(WIN32DLL),yes) |
96 VIDEO_SRCS+=vd_dmo.c vd_dshow.c vd_vfw.c vd_vfwex.c | 90 SRCS+=vd_dmo.c vd_dshow.c vd_vfw.c vd_vfwex.c |
97 endif | 91 endif |
98 ifeq ($(QTX_CODECS),yes) | 92 ifeq ($(QTX_CODECS),yes) |
99 VIDEO_SRCS+=vd_qtvideo.c | 93 SRCS+=vd_qtvideo.c |
100 endif | 94 endif |
101 ifeq ($(REAL_CODECS),yes) | 95 ifeq ($(REAL_CODECS),yes) |
102 VIDEO_SRCS+=vd_realvid.c | 96 SRCS+=vd_realvid.c |
103 endif | 97 endif |
104 ifeq ($(XANIM_CODECS),yes) | 98 ifeq ($(XANIM_CODECS),yes) |
105 VIDEO_SRCS+=vd_xanim.c | 99 SRCS+=vd_xanim.c |
106 endif | 100 endif |
107 ifeq ($(LIBDV),yes) | 101 ifeq ($(LIBDV),yes) |
108 VIDEO_SRCS+=vd_libdv.c | 102 SRCS+=vd_libdv.c |
109 endif | 103 endif |
110 ifeq ($(LIBTHEORA),yes) | 104 ifeq ($(LIBTHEORA),yes) |
111 VIDEO_SRCS+=vd_theora.c | 105 SRCS+=vd_theora.c |
112 endif | 106 endif |
113 ifeq ($(XVID4),yes) | 107 ifeq ($(XVID4),yes) |
114 VIDEO_SRCS+=vd_xvid4.c | 108 SRCS+=vd_xvid4.c |
115 endif | 109 endif |
116 ifeq ($(ZORAN),yes) | 110 ifeq ($(ZORAN),yes) |
117 VIDEO_SRCS+=vd_zrmjpeg.c | 111 SRCS+=vd_zrmjpeg.c |
118 endif | 112 endif |
119 ifeq ($(PNG),yes) | 113 ifeq ($(PNG),yes) |
120 VIDEO_SRCS += vd_mpng.c | 114 SRCS += vd_mpng.c |
121 endif | 115 endif |
122 ifeq ($(JPEG),yes) | 116 ifeq ($(JPEG),yes) |
123 VIDEO_SRCS += vd_ijpg.c | 117 SRCS += vd_ijpg.c |
124 endif | 118 endif |
125 | 119 |
126 | 120 |
127 VFILTER_SRCS=vf.c \ | 121 SRCS=vf.c \ |
128 pullup.c \ | 122 pullup.c \ |
129 vf_1bpp.c \ | 123 vf_1bpp.c \ |
130 vf_2xsai.c \ | 124 vf_2xsai.c \ |
131 vf_blackframe.c \ | 125 vf_blackframe.c \ |
132 vf_bmovl.c \ | 126 vf_bmovl.c \ |
188 vf_yuvcsp.c \ | 182 vf_yuvcsp.c \ |
189 vf_yuy2.c \ | 183 vf_yuy2.c \ |
190 vf_yvu9.c \ | 184 vf_yvu9.c \ |
191 vf_yadif.c \ | 185 vf_yadif.c \ |
192 | 186 |
193 VFILTER_LAVC_SRCS += vf_lavc.c \ | 187 LAVC_SRCS += vf_lavc.c \ |
194 vf_lavcdeint.c \ | 188 vf_lavcdeint.c \ |
195 | 189 |
196 VFILTER_LAVC_DSPUTIL_SRCS += vf_uspp.c \ | 190 LAVC_DSPUTIL_SRCS += vf_uspp.c \ |
197 vf_fspp.c \ | 191 vf_fspp.c \ |
198 vf_qp.c \ | 192 vf_qp.c \ |
199 vf_geq.c \ | 193 vf_geq.c \ |
200 vf_spp.c \ | 194 vf_spp.c \ |
201 vf_mcdeint.c \ | 195 vf_mcdeint.c \ |
202 | 196 |
203 ifeq ($(CONFIG_LIBPOSTPROC),yes) | 197 ifeq ($(CONFIG_LIBPOSTPROC),yes) |
204 VFILTER_SRCS += vf_pp.c | 198 SRCS += vf_pp.c |
205 endif | 199 endif |
206 ifeq ($(CONFIG_LIBPOSTPROC_SO),yes) | 200 ifeq ($(CONFIG_LIBPOSTPROC_SO),yes) |
207 VFILTER_SRCS += vf_pp.c | 201 SRCS += vf_pp.c |
208 endif | 202 endif |
209 ifeq ($(CONFIG_LIBAVCODEC),yes) | 203 ifeq ($(CONFIG_LIBAVCODEC),yes) |
210 VFILTER_SRCS += $(VFILTER_LAVC_SRCS) | 204 SRCS += $(LAVC_SRCS) |
211 VFILTER_SRCS += $(VFILTER_LAVC_DSPUTIL_SRCS) | 205 SRCS += $(LAVC_DSPUTIL_SRCS) |
212 endif | 206 endif |
213 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | 207 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
214 VFILTER_SRCS += $(VFILTER_LAVC_SRCS) | 208 SRCS += $(LAVC_SRCS) |
215 endif | 209 endif |
216 ifeq ($(PNG),yes) | 210 ifeq ($(PNG),yes) |
217 VFILTER_SRCS += vf_screenshot.c | 211 SRCS += vf_screenshot.c |
218 endif | 212 endif |
219 ifeq ($(ZORAN),yes) | 213 ifeq ($(ZORAN),yes) |
220 VFILTER_SRCS += vf_zrmjpeg.c | 214 SRCS += vf_zrmjpeg.c |
221 endif | 215 endif |
222 ifeq ($(CONFIG_ASS),yes) | 216 ifeq ($(CONFIG_ASS),yes) |
223 VFILTER_SRCS += vf_ass.c | 217 SRCS += vf_ass.c |
224 endif | 218 endif |
225 | 219 |
226 | 220 |
227 ENCODER_SRCS=ae.c \ | 221 ENCODER_SRCS=ae.c \ |
228 ae_pcm.c \ | 222 ae_pcm.c \ |
276 ifeq ($(CONFIG_LIBAVCODEC),yes) | 270 ifeq ($(CONFIG_LIBAVCODEC),yes) |
277 LIBAV_INC += -I../libavcodec | 271 LIBAV_INC += -I../libavcodec |
278 endif | 272 endif |
279 | 273 |
280 | 274 |
281 NATIVE_SRCS=native/minilzo.c \ | 275 SRCS+=native/minilzo.c \ |
282 native/nuppelvideo.c \ | 276 native/nuppelvideo.c \ |
283 native/RTjpegN.c \ | 277 native/RTjpegN.c \ |
284 native/xa_gsm.c \ | 278 native/xa_gsm.c \ |
285 | |
286 SRCS=$(AUDIO_SRCS) \ | |
287 $(VIDEO_SRCS) \ | |
288 $(VFILTER_SRCS) \ | |
289 $(NATIVE_SRCS) \ | |
290 img_format.c \ | 279 img_format.c \ |
291 | 280 |
292 OBJS=$(SRCS:.c=.o) | 281 OBJS=$(SRCS:.c=.o) |
293 | 282 |
294 SRCS2=$(ENCODER_SRCS) | 283 SRCS2=$(ENCODER_SRCS) |