Mercurial > mplayer.hg
comparison libmpcodecs/Makefile @ 17523:f0e7712385dc
Move conditional compilation out of the code and into the build system.
author | diego |
---|---|
date | Tue, 31 Jan 2006 23:36:12 +0000 |
parents | ce1ba8fd57e7 |
children | cc6cf286e337 |
comparison
equal
deleted
inserted
replaced
17522:2408715522a7 | 17523:f0e7712385dc |
---|---|
19 | 19 |
20 AUDIO_SRCS_OPT=ad_acm.c \ | 20 AUDIO_SRCS_OPT=ad_acm.c \ |
21 ad_dmo.c \ | 21 ad_dmo.c \ |
22 ad_dshow.c \ | 22 ad_dshow.c \ |
23 ad_faad.c \ | 23 ad_faad.c \ |
24 ad_ffmpeg.c \ | |
25 ad_libdv.c \ | 24 ad_libdv.c \ |
26 ad_libmad.c \ | 25 ad_libmad.c \ |
27 ad_libvorbis.c \ | 26 ad_libvorbis.c \ |
28 ad_qtaudio.c \ | 27 ad_qtaudio.c \ |
29 ad_realaud.c \ | 28 ad_realaud.c \ |
30 ad_twin.c \ | 29 ad_twin.c \ |
31 | 30 |
31 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
32 AUDIO_SRCS_OPT+=ad_ffmpeg.c | |
33 endif | |
34 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
35 AUDIO_SRCS_OPT+=ad_ffmpeg.c | |
36 endif | |
37 | |
32 AUDIO_SRCS=dec_audio.c \ | 38 AUDIO_SRCS=dec_audio.c \ |
33 ad.c \ | 39 ad.c \ |
34 $(AUDIO_SRCS_LIB) \ | 40 $(AUDIO_SRCS_LIB) \ |
35 $(AUDIO_SRCS_NAT) \ | 41 $(AUDIO_SRCS_NAT) \ |
36 $(AUDIO_SRCS_OPT) \ | 42 $(AUDIO_SRCS_OPT) \ |
47 vd_sgi.c \ | 53 vd_sgi.c \ |
48 | 54 |
49 VIDEO_SRCS_OPT=vd_divx4.c \ | 55 VIDEO_SRCS_OPT=vd_divx4.c \ |
50 vd_dmo.c \ | 56 vd_dmo.c \ |
51 vd_dshow.c \ | 57 vd_dshow.c \ |
52 vd_ffmpeg.c\ | |
53 vd_libdv.c \ | 58 vd_libdv.c \ |
54 vd_odivx.c \ | 59 vd_odivx.c \ |
55 vd_qtvideo.c \ | 60 vd_qtvideo.c \ |
56 vd_realvid.c \ | 61 vd_realvid.c \ |
57 vd_theora.c \ | 62 vd_theora.c \ |
59 vd_vfwex.c \ | 64 vd_vfwex.c \ |
60 vd_xanim.c \ | 65 vd_xanim.c \ |
61 vd_xvid4.c \ | 66 vd_xvid4.c \ |
62 vd_xvid.c \ | 67 vd_xvid.c \ |
63 vd_zrmjpeg.c \ | 68 vd_zrmjpeg.c \ |
69 | |
70 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
71 VIDEO_SRCS_OPT+=vd_ffmpeg.c | |
72 endif | |
73 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
74 VIDEO_SRCS_OPT+=vd_ffmpeg.c | |
75 endif | |
64 | 76 |
65 VIDEO_SRCS=dec_video.c \ | 77 VIDEO_SRCS=dec_video.c \ |
66 vd.c \ | 78 vd.c \ |
67 $(VIDEO_SRCS_NAT) \ | 79 $(VIDEO_SRCS_NAT) \ |
68 $(VIDEO_SRCS_LIB) \ | 80 $(VIDEO_SRCS_LIB) \ |
92 vf_fil.c \ | 104 vf_fil.c \ |
93 vf_filmdint.c \ | 105 vf_filmdint.c \ |
94 vf_flip.c \ | 106 vf_flip.c \ |
95 vf_format.c \ | 107 vf_format.c \ |
96 vf_framestep.c \ | 108 vf_framestep.c \ |
97 vf_fspp.c \ | |
98 vf_halfpack.c \ | 109 vf_halfpack.c \ |
99 vf_harddup.c \ | 110 vf_harddup.c \ |
100 vf_hqdn3d.c \ | 111 vf_hqdn3d.c \ |
101 vf_hue.c \ | 112 vf_hue.c \ |
102 vf_il.c \ | 113 vf_il.c \ |
103 vf_ilpack.c \ | 114 vf_ilpack.c \ |
104 vf_ivtc.c \ | 115 vf_ivtc.c \ |
105 vf_kerndeint.c \ | 116 vf_kerndeint.c \ |
106 vf_lavc.c \ | |
107 vf_lavcdeint.c \ | |
108 vf_mirror.c \ | 117 vf_mirror.c \ |
109 vf_noformat.c \ | 118 vf_noformat.c \ |
110 vf_noise.c \ | 119 vf_noise.c \ |
111 vf_palette.c \ | 120 vf_palette.c \ |
112 vf_perspective.c \ | 121 vf_perspective.c \ |
113 vf_phase.c \ | 122 vf_phase.c \ |
114 vf_pp7.c \ | 123 vf_pp7.c \ |
115 vf_pullup.c \ | 124 vf_pullup.c \ |
116 vf_qp.c \ | |
117 vf_rectangle.c \ | 125 vf_rectangle.c \ |
118 vf_remove_logo.c \ | 126 vf_remove_logo.c \ |
119 vf_rgb2bgr.c \ | 127 vf_rgb2bgr.c \ |
120 vf_rgbtest.c \ | 128 vf_rgbtest.c \ |
121 vf_rotate.c \ | 129 vf_rotate.c \ |
122 vf_sab.c \ | 130 vf_sab.c \ |
123 vf_scale.c \ | 131 vf_scale.c \ |
124 vf_smartblur.c \ | 132 vf_smartblur.c \ |
125 vf_softpulldown.c \ | 133 vf_softpulldown.c \ |
126 vf_softskip.c \ | 134 vf_softskip.c \ |
127 vf_spp.c \ | |
128 vf_swapuv.c \ | 135 vf_swapuv.c \ |
129 vf_telecine.c \ | 136 vf_telecine.c \ |
130 vf_test.c \ | 137 vf_test.c \ |
131 vf_tfields.c \ | 138 vf_tfields.c \ |
132 vf_tile.c \ | 139 vf_tile.c \ |
133 vf_tinterlace.c \ | 140 vf_tinterlace.c \ |
134 vf_unsharp.c \ | 141 vf_unsharp.c \ |
135 vf_uspp.c \ | |
136 vf_vo.c \ | 142 vf_vo.c \ |
137 vf_yuvcsp.c \ | 143 vf_yuvcsp.c \ |
138 vf_yuy2.c \ | 144 vf_yuy2.c \ |
139 vf_yvu9.c \ | 145 vf_yvu9.c \ |
140 vf_screenshot.c \ | 146 vf_screenshot.c \ |
141 | 147 |
148 VFILTER_LAVC_SRCS += vf_uspp.c \ | |
149 vf_fspp.c \ | |
150 vf_lavc.c \ | |
151 vf_lavcdeint.c \ | |
152 vf_qp.c \ | |
153 vf_spp.c \ | |
154 | |
142 ifeq ($(CONFIG_LIBPOSTPROC),yes) | 155 ifeq ($(CONFIG_LIBPOSTPROC),yes) |
143 VFILTER_SRCS += vf_pp.c | 156 VFILTER_SRCS += vf_pp.c |
144 endif | 157 endif |
145 ifeq ($(CONFIG_LIBPOSTPROC_SO),yes) | 158 ifeq ($(CONFIG_LIBPOSTPROC_SO),yes) |
146 VFILTER_SRCS += vf_pp.c | 159 VFILTER_SRCS += vf_pp.c |
160 endif | |
161 | |
162 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
163 VFILTER_SRCS += $(VFILTER_LAVC_SRCS) | |
164 endif | |
165 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
166 VFILTER_SRCS += $(VFILTER_LAVC_SRCS) | |
147 endif | 167 endif |
148 | 168 |
149 ENCODER_SRCS=ae.c \ | 169 ENCODER_SRCS=ae.c \ |
150 ae_pcm.c \ | 170 ae_pcm.c \ |
151 ve.c \ | 171 ve.c \ |
152 ve_divx4.c \ | 172 ve_divx4.c \ |
153 ve_lavc.c \ | |
154 ve_libdv.c \ | 173 ve_libdv.c \ |
155 ve_nuv.c \ | 174 ve_nuv.c \ |
156 ve_qtvideo.c \ | 175 ve_qtvideo.c \ |
157 ve_raw.c \ | 176 ve_raw.c \ |
158 ve_vfw.c \ | 177 ve_vfw.c \ |
159 ve_x264.c \ | |
160 ve_xvid4.c \ | 178 ve_xvid4.c \ |
161 ve_xvid.c \ | 179 ve_xvid.c \ |
180 | |
181 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
182 ENCODER_SRCS+=ve_lavc.c | |
183 endif | |
184 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | |
185 ENCODER_SRCS+=ve_lavc.c | |
186 endif | |
187 | |
188 ifeq ($(X264),yes) | |
189 ENCODER_SRCS+=ve_x264.c | |
190 endif | |
162 | 191 |
163 NATIVE_SRCS=native/minilzo.c \ | 192 NATIVE_SRCS=native/minilzo.c \ |
164 native/nuppelvideo.c \ | 193 native/nuppelvideo.c \ |
165 native/RTjpegN.c \ | 194 native/RTjpegN.c \ |
166 native/xa_gsm.c \ | 195 native/xa_gsm.c \ |
200 endif | 229 endif |
201 ifeq ($(CONFIG_LIBAVCODEC),yes) | 230 ifeq ($(CONFIG_LIBAVCODEC),yes) |
202 LIBAV_INC += -I../libavcodec | 231 LIBAV_INC += -I../libavcodec |
203 ENCODER_SRCS += ae_lavc.c | 232 ENCODER_SRCS += ae_lavc.c |
204 endif | 233 endif |
205 | |
206 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) | 234 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
207 ENCODER_SRCS += ae_lavc.c | 235 ENCODER_SRCS += ae_lavc.c |
208 endif | 236 endif |
209 | 237 |
210 ifeq ($(MUSEPACK),yes) | 238 ifeq ($(MUSEPACK),yes) |