Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 18995:46bf025408c3
Fix negative stride handling in -dr case
author | reimar |
---|---|
date | Mon, 10 Jul 2006 18:35:29 +0000 |
parents | 9e95ac641e77 |
children | 7a9a9748e045 |
rev | line source |
---|---|
4878 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmpcodecs.a | |
5550 | 5 LIBNAME2 = libmpencoders.a |
4878 | 6 |
17524
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
7 LIBS =$(LIBNAME) |
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
8 ifeq ($(MENCODER),yes) |
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
9 LIBS+=$(LIBNAME2) |
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
10 endif |
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
11 |
15772 | 12 AUDIO_SRCS_LIB=ad_hwac3.c \ |
17397
2e20dd653147
ad_hwmpa: pass-through fake audio codec for hardware mpeg decoders
nicodvb
parents:
17387
diff
changeset
|
13 ad_hwmpa.c \ |
15772 | 14 |
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
15 ifeq ($(LIBA52),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
16 AUDIO_SRCS_LIB+=ad_liba52.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
17 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
18 ifeq ($(MP3LIB),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
19 AUDIO_SRCS_LIB+=ad_mp3lib.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
20 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
21 |
15772 | 22 AUDIO_SRCS_NAT=ad_alaw.c \ |
23 ad_dk3adpcm.c \ | |
24 ad_dvdpcm.c \ | |
25 ad_imaadpcm.c \ | |
26 ad_msadpcm.c \ | |
27 ad_msgsm.c \ | |
28 ad_pcm.c \ | |
29 | |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
30 AUDIO_SRCS=dec_audio.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
31 ad.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
32 $(AUDIO_SRCS_LIB) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
33 $(AUDIO_SRCS_NAT) \ |
8024 | 34 |
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
35 ifeq ($(CONFIG_LIBAVCODEC),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
36 AUDIO_SRCS+=ad_ffmpeg.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
37 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
38 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
39 AUDIO_SRCS+=ad_ffmpeg.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
40 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
41 ifeq ($(WIN32DLL),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
42 AUDIO_SRCS+=ad_acm.c ad_dmo.c ad_dshow.c ad_twin.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
43 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
44 ifeq ($(QTX_CODECS),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
45 AUDIO_SRCS+=ad_qtaudio.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
46 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
47 ifeq ($(REAL_CODECS),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
48 AUDIO_SRCS+=ad_realaud.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
49 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
50 ifeq ($(FAAD),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
51 AUDIO_SRCS += ad_faad.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
52 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
53 ifeq ($(LIBDV),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
54 AUDIO_SRCS+=ad_libdv.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
55 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
56 ifeq ($(LIBMAD),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
57 AUDIO_SRCS+=ad_libmad.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
58 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
59 ifeq ($(LIBVORBIS),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
60 AUDIO_SRCS+=ad_libvorbis.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
61 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
62 |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
63 |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
64 VIDEO_SRCS_LIB=vd_lzo.c \ |
15772 | 65 vd_nuv.c \ |
66 | |
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
67 ifeq ($(LIBMPEG2),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
68 VIDEO_SRCS_LIB+=vd_libmpeg2.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
69 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
70 |
15772 | 71 VIDEO_SRCS_NAT=vd_hmblck.c \ |
72 vd_mpegpes.c \ | |
73 vd_mtga.c \ | |
74 vd_null.c \ | |
75 vd_raw.c \ | |
76 vd_sgi.c \ | |
77 | |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
78 VIDEO_SRCS=dec_video.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
79 vd.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
80 $(VIDEO_SRCS_NAT) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
81 $(VIDEO_SRCS_LIB) \ |
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
82 |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
83 ifeq ($(CONFIG_LIBAVCODEC),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
84 VIDEO_SRCS+=vd_ffmpeg.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
85 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
86 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
87 VIDEO_SRCS+=vd_ffmpeg.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
88 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
89 ifeq ($(WIN32DLL),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
90 VIDEO_SRCS+=vd_dmo.c vd_dshow.c vd_vfw.c vd_vfwex.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
91 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
92 ifeq ($(QTX_CODECS),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
93 VIDEO_SRCS+=vd_qtvideo.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
94 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
95 ifeq ($(REAL_CODECS),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
96 VIDEO_SRCS+=vd_realvid.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
97 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
98 ifeq ($(XANIM_CODECS),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
99 VIDEO_SRCS+=vd_xanim.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
100 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
101 ifeq ($(LIBDV),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
102 VIDEO_SRCS+=vd_libdv.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
103 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
104 ifeq ($(LIBTHEORA),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
105 VIDEO_SRCS+=vd_theora.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
106 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
107 ifeq ($(DIVX),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
108 VIDEO_SRCS+=vd_odivx.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
109 ifneq ($(OPENDIVX),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
110 VIDEO_SRCS+=vd_divx4.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
111 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
112 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
113 ifeq ($(XVID4),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
114 VIDEO_SRCS+=vd_xvid4.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
115 else |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
116 ifeq ($(XVID),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
117 VIDEO_SRCS+=vd_xvid.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
118 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
119 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
120 ifeq ($(ZORAN),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
121 VIDEO_SRCS+=vd_zrmjpeg.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
122 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
123 |
8024 | 124 |
15772 | 125 VFILTER_SRCS=vf.c \ |
126 pullup.c \ | |
127 vf_1bpp.c \ | |
128 vf_2xsai.c \ | |
129 vf_bmovl.c \ | |
130 vf_boxblur.c \ | |
131 vf_crop.c \ | |
132 vf_cropdetect.c \ | |
133 vf_decimate.c \ | |
134 vf_delogo.c \ | |
135 vf_denoise3d.c \ | |
136 vf_detc.c \ | |
137 vf_dint.c \ | |
138 vf_divtc.c \ | |
139 vf_down3dright.c \ | |
140 vf_dsize.c \ | |
141 vf_dvbscale.c \ | |
142 vf_eq2.c \ | |
143 vf_eq.c \ | |
144 vf_expand.c \ | |
145 vf_field.c \ | |
146 vf_fil.c \ | |
147 vf_filmdint.c \ | |
148 vf_flip.c \ | |
149 vf_format.c \ | |
150 vf_framestep.c \ | |
151 vf_halfpack.c \ | |
152 vf_harddup.c \ | |
153 vf_hqdn3d.c \ | |
154 vf_hue.c \ | |
155 vf_il.c \ | |
156 vf_ilpack.c \ | |
157 vf_ivtc.c \ | |
158 vf_kerndeint.c \ | |
159 vf_mirror.c \ | |
160 vf_noformat.c \ | |
161 vf_noise.c \ | |
162 vf_palette.c \ | |
163 vf_perspective.c \ | |
164 vf_phase.c \ | |
15944
1a0c715343d2
pp7 filter (spp=6 filter with 7 point dct where only the center sample is used after idct)
michael
parents:
15772
diff
changeset
|
165 vf_pp7.c \ |
15772 | 166 vf_pullup.c \ |
167 vf_rectangle.c \ | |
168 vf_remove_logo.c \ | |
169 vf_rgb2bgr.c \ | |
170 vf_rgbtest.c \ | |
171 vf_rotate.c \ | |
172 vf_sab.c \ | |
173 vf_scale.c \ | |
174 vf_smartblur.c \ | |
175 vf_softpulldown.c \ | |
176 vf_softskip.c \ | |
177 vf_swapuv.c \ | |
178 vf_telecine.c \ | |
179 vf_test.c \ | |
180 vf_tfields.c \ | |
181 vf_tile.c \ | |
182 vf_tinterlace.c \ | |
183 vf_unsharp.c \ | |
184 vf_vo.c \ | |
185 vf_yuvcsp.c \ | |
186 vf_yuy2.c \ | |
187 vf_yvu9.c \ | |
18608 | 188 vf_yadif.c \ |
15772 | 189 |
17882
8dd9503e4d19
compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents:
17524
diff
changeset
|
190 VFILTER_LAVC_SRCS += vf_lavc.c \ |
17523
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
191 vf_lavcdeint.c \ |
17882
8dd9503e4d19
compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents:
17524
diff
changeset
|
192 |
8dd9503e4d19
compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents:
17524
diff
changeset
|
193 VFILTER_LAVC_DSPUTIL_SRCS += vf_uspp.c \ |
8dd9503e4d19
compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents:
17524
diff
changeset
|
194 vf_fspp.c \ |
8dd9503e4d19
compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents:
17524
diff
changeset
|
195 vf_qp.c \ |
8dd9503e4d19
compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents:
17524
diff
changeset
|
196 vf_spp.c \ |
18590 | 197 vf_mcdeint.c \ |
17523
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
198 |
17463 | 199 ifeq ($(CONFIG_LIBPOSTPROC),yes) |
200 VFILTER_SRCS += vf_pp.c | |
201 endif | |
202 ifeq ($(CONFIG_LIBPOSTPROC_SO),yes) | |
11141 | 203 VFILTER_SRCS += vf_pp.c |
204 endif | |
205 | |
17523
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
206 ifeq ($(CONFIG_LIBAVCODEC),yes) |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
207 VFILTER_SRCS += $(VFILTER_LAVC_SRCS) |
17882
8dd9503e4d19
compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
nicodvb
parents:
17524
diff
changeset
|
208 VFILTER_SRCS += $(VFILTER_LAVC_DSPUTIL_SRCS) |
17523
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
209 endif |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
210 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
211 VFILTER_SRCS += $(VFILTER_LAVC_SRCS) |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
212 endif |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
213 |
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
214 ifeq ($(PNG),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
215 VFILTER_SRCS += vf_screenshot.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
216 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
217 |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
218 |
15772 | 219 ENCODER_SRCS=ae.c \ |
220 ae_pcm.c \ | |
221 ve.c \ | |
222 ve_nuv.c \ | |
223 ve_raw.c \ | |
8024 | 224 |
17523
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
225 ifeq ($(CONFIG_LIBAVCODEC),yes) |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
226 ENCODER_SRCS+=ve_lavc.c |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
227 endif |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
228 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
229 ENCODER_SRCS+=ve_lavc.c |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
230 endif |
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
231 ifeq ($(WIN32DLL),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
232 ENCODER_SRCS+=ve_vfw.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
233 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
234 ifeq ($(QTX_CODECS),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
235 ENCODER_SRCS+=ve_qtvideo.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
236 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
237 ifeq ($(LIBDV),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
238 ENCODER_SRCS+=ve_libdv.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
239 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
240 ifeq ($(XVID4),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
241 ENCODER_SRCS+=ve_xvid4.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
242 else |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
243 ifeq ($(XVID),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
244 ENCODER_SRCS+=ve_xvid.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
245 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
246 endif |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
247 ifeq ($(DIVX4ENCORE),yes) |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
248 ENCODER_SRCS+=ve_divx4.c |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
249 endif |
17523
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
250 ifeq ($(X264),yes) |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
251 ENCODER_SRCS+=ve_x264.c |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
252 endif |
f0e7712385dc
Move conditional compilation out of the code and into the build system.
diego
parents:
17488
diff
changeset
|
253 |
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
254 |
17151
9a6b48d19e12
Remove MPlayer native 14_4 and 28_8 codecs (they are in lavc)
rtognimp
parents:
16946
diff
changeset
|
255 NATIVE_SRCS=native/minilzo.c \ |
15772 | 256 native/nuppelvideo.c \ |
257 native/RTjpegN.c \ | |
258 native/xa_gsm.c \ | |
5029 | 259 |
5840
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
260 ifeq ($(FAME),yes) |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
261 VFILTER_SRCS += vf_fame.c |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
262 endif |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
263 |
11662
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
264 ifeq ($(ZORAN),yes) |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
265 VFILTER_SRCS += vf_zrmjpeg.c |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
266 endif |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
267 |
5029 | 268 ifeq ($(PNG),yes) |
5344 | 269 VIDEO_SRCS += vd_mpng.c |
5029 | 270 endif |
271 | |
272 ifeq ($(JPEG),yes) | |
5344 | 273 VIDEO_SRCS += vd_ijpg.c |
5029 | 274 endif |
4878 | 275 |
13426 | 276 ifeq ($(TOOLAME),yes) |
15234 | 277 ENCODER_SRCS += ae_toolame.c |
13426 | 278 EXTRA_INC += $(TOOLAME_EXTRAFLAGS) |
279 endif | |
280 | |
15359 | 281 ifeq ($(TWOLAME),yes) |
282 ENCODER_SRCS += ae_twolame.c | |
283 endif | |
284 | |
15234 | 285 ifeq ($(CONFIG_MP3LAME),yes) |
286 ENCODER_SRCS += ae_lame.c | |
287 endif | |
288 | |
16165 | 289 LIBAV_INC = |
290 ifeq ($(CONFIG_LIBAVUTIL),yes) | |
291 LIBAV_INC += -I../libavutil | |
292 endif | |
15234 | 293 ifeq ($(CONFIG_LIBAVCODEC),yes) |
16165 | 294 LIBAV_INC += -I../libavcodec |
15234 | 295 ENCODER_SRCS += ae_lavc.c |
296 endif | |
17387 | 297 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
16251 | 298 ENCODER_SRCS += ae_lavc.c |
299 endif | |
300 | |
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
301 ifeq ($(MUSEPACK),yes) |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
302 AUDIO_SRCS += ad_mpc.c |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
303 endif |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
304 |
16915
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
305 ifeq ($(SPEEX),yes) |
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
306 AUDIO_SRCS += ad_speex.c |
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
307 endif |
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
308 |
15259 | 309 ifeq ($(FAAC),yes) |
310 ENCODER_SRCS += ae_faac.c | |
311 endif | |
312 | |
18937
9e95ac641e77
Initial libass release (without mencoder support).
eugeni
parents:
18771
diff
changeset
|
313 ifeq ($(CONFIG_ASS),yes) |
9e95ac641e77
Initial libass release (without mencoder support).
eugeni
parents:
18771
diff
changeset
|
314 VFILTER_SRCS += vf_ass.c |
9e95ac641e77
Initial libass release (without mencoder support).
eugeni
parents:
18771
diff
changeset
|
315 endif |
9e95ac641e77
Initial libass release (without mencoder support).
eugeni
parents:
18771
diff
changeset
|
316 |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
317 SRCS=$(AUDIO_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
318 $(VIDEO_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
319 $(VFILTER_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
320 $(NATIVE_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
321 img_format.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
322 |
4878 | 323 OBJS=$(SRCS:.c=.o) |
324 | |
5550 | 325 SRCS2=$(ENCODER_SRCS) |
326 OBJS2=$(SRCS2:.c=.o) | |
327 | |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
328 CFLAGS = $(OPTFLAGS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
329 -I. -I.. \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
330 -Inative \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
331 -I../libmpdemux \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
332 -I../loader \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
333 $(LIBAV_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
334 $(EXTRA_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
335 $(X264_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
336 $(XVID_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
337 -D_GNU_SOURCE \ |
4878 | 338 |
339 .SUFFIXES: .c .o | |
340 | |
341 # .PHONY: all clean | |
342 | |
343 .c.o: | |
344 $(CC) -c $(CFLAGS) -o $@ $< | |
345 | |
17524
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
346 all: $(LIBS) |
5550 | 347 |
4878 | 348 $(LIBNAME): $(OBJS) |
349 $(AR) r $(LIBNAME) $(OBJS) | |
12634 | 350 $(RANLIB) $(LIBNAME) |
4878 | 351 |
5550 | 352 $(LIBNAME2): $(OBJS2) |
353 $(AR) r $(LIBNAME2) $(OBJS2) | |
12634 | 354 $(RANLIB) $(LIBNAME2) |
4878 | 355 |
356 clean: | |
357 rm -f *.o *.a *~ | |
14138
40ac42c6dd6d
make clean should also clean the native subdirectory.
diego
parents:
13426
diff
changeset
|
358 rm -f native/*.o native/*.a native/*~ |
4878 | 359 |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17463
diff
changeset
|
360 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17463
diff
changeset
|
361 rm -f .depend |
4878 | 362 |
363 dep: depend | |
364 | |
365 depend: | |
5550 | 366 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend |
4878 | 367 |
368 # | |
369 # include dependency files if they exist | |
370 # | |
371 ifneq ($(wildcard .depend),) | |
372 include .depend | |
373 endif | |
374 |