Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 17050:cd540846d052
Add support to get the list of files from a file containing one filename
per line. Patch from devik (devik .at. cdi .dot. cz).
author | albeu |
---|---|
date | Sat, 26 Nov 2005 17:10:17 +0000 |
parents | 47c5e9846cd3 |
children | 9a6b48d19e12 |
rev | line source |
---|---|
4878 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmpcodecs.a | |
5550 | 5 LIBNAME2 = libmpencoders.a |
4878 | 6 |
15772 | 7 AUDIO_SRCS_LIB=ad_hwac3.c \ |
8 ad_liba52.c \ | |
9 ad_mp3lib.c \ | |
10 | |
11 AUDIO_SRCS_NAT=ad_alaw.c \ | |
12 ad_dk3adpcm.c \ | |
13 ad_dvdpcm.c \ | |
14 ad_imaadpcm.c \ | |
15 ad_msadpcm.c \ | |
16 ad_msgsm.c \ | |
17 ad_pcm.c \ | |
18 ad_ra1428.c \ | |
19 | |
20 AUDIO_SRCS_OPT=ad_acm.c \ | |
21 ad_dmo.c \ | |
22 ad_dshow.c \ | |
23 ad_faad.c \ | |
24 ad_ffmpeg.c \ | |
25 ad_libdv.c \ | |
26 ad_libmad.c \ | |
27 ad_libvorbis.c \ | |
28 ad_qtaudio.c \ | |
29 ad_realaud.c \ | |
30 ad_twin.c \ | |
31 | |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
32 AUDIO_SRCS=dec_audio.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
33 ad.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
34 $(AUDIO_SRCS_LIB) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
35 $(AUDIO_SRCS_NAT) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
36 $(AUDIO_SRCS_OPT) \ |
8024 | 37 |
15772 | 38 VIDEO_SRCS_LIB=vd_libmpeg2.c \ |
39 vd_lzo.c \ | |
40 vd_nuv.c \ | |
41 | |
42 VIDEO_SRCS_NAT=vd_hmblck.c \ | |
43 vd_mpegpes.c \ | |
44 vd_mtga.c \ | |
45 vd_null.c \ | |
46 vd_raw.c \ | |
47 vd_sgi.c \ | |
48 | |
49 VIDEO_SRCS_OPT=vd_divx4.c \ | |
50 vd_dmo.c \ | |
51 vd_dshow.c \ | |
52 vd_ffmpeg.c\ | |
53 vd_libdv.c \ | |
54 vd_odivx.c \ | |
55 vd_qtvideo.c \ | |
56 vd_realvid.c \ | |
57 vd_theora.c \ | |
58 vd_vfw.c \ | |
59 vd_vfwex.c \ | |
60 vd_xanim.c \ | |
61 vd_xvid4.c \ | |
62 vd_xvid.c \ | |
63 vd_zrmjpeg.c \ | |
64 | |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
65 VIDEO_SRCS=dec_video.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
66 vd.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
67 $(VIDEO_SRCS_NAT) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
68 $(VIDEO_SRCS_LIB) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
69 $(VIDEO_SRCS_OPT) \ |
8024 | 70 |
15772 | 71 VFILTER_SRCS=vf.c \ |
72 pullup.c \ | |
73 vf_1bpp.c \ | |
74 vf_2xsai.c \ | |
75 vf_bmovl.c \ | |
76 vf_boxblur.c \ | |
77 vf_crop.c \ | |
78 vf_cropdetect.c \ | |
79 vf_decimate.c \ | |
80 vf_delogo.c \ | |
81 vf_denoise3d.c \ | |
82 vf_detc.c \ | |
83 vf_dint.c \ | |
84 vf_divtc.c \ | |
85 vf_down3dright.c \ | |
86 vf_dsize.c \ | |
87 vf_dvbscale.c \ | |
88 vf_eq2.c \ | |
89 vf_eq.c \ | |
90 vf_expand.c \ | |
91 vf_field.c \ | |
92 vf_fil.c \ | |
93 vf_filmdint.c \ | |
94 vf_flip.c \ | |
95 vf_format.c \ | |
96 vf_framestep.c \ | |
97 vf_fspp.c \ | |
98 vf_halfpack.c \ | |
99 vf_harddup.c \ | |
100 vf_hqdn3d.c \ | |
101 vf_hue.c \ | |
102 vf_il.c \ | |
103 vf_ilpack.c \ | |
104 vf_ivtc.c \ | |
105 vf_kerndeint.c \ | |
106 vf_lavc.c \ | |
107 vf_lavcdeint.c \ | |
108 vf_mirror.c \ | |
109 vf_noformat.c \ | |
110 vf_noise.c \ | |
111 vf_palette.c \ | |
112 vf_perspective.c \ | |
113 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
|
114 vf_pp7.c \ |
15772 | 115 vf_pullup.c \ |
116 vf_qp.c \ | |
117 vf_rectangle.c \ | |
118 vf_remove_logo.c \ | |
119 vf_rgb2bgr.c \ | |
120 vf_rgbtest.c \ | |
121 vf_rotate.c \ | |
122 vf_sab.c \ | |
123 vf_scale.c \ | |
124 vf_smartblur.c \ | |
125 vf_softpulldown.c \ | |
126 vf_softskip.c \ | |
127 vf_spp.c \ | |
128 vf_swapuv.c \ | |
129 vf_telecine.c \ | |
130 vf_test.c \ | |
131 vf_tfields.c \ | |
132 vf_tile.c \ | |
133 vf_tinterlace.c \ | |
134 vf_unsharp.c \ | |
16946
47c5e9846cd3
ultra simple&slow pp filter, yes yet another spp like filter :)
michael
parents:
16915
diff
changeset
|
135 vf_uspp.c \ |
15772 | 136 vf_vo.c \ |
137 vf_yuvcsp.c \ | |
138 vf_yuy2.c \ | |
139 vf_yvu9.c \ | |
16447 | 140 vf_screenshot.c \ |
15772 | 141 |
11141 | 142 ifeq ($(HAVE_FFPOSTPROCESS),yes) |
143 VFILTER_SRCS += vf_pp.c | |
144 endif | |
145 | |
15772 | 146 ENCODER_SRCS=ae.c \ |
147 ae_pcm.c \ | |
148 ve.c \ | |
149 ve_divx4.c \ | |
150 ve_lavc.c \ | |
151 ve_libdv.c \ | |
152 ve_nuv.c \ | |
153 ve_qtvideo.c \ | |
154 ve_raw.c \ | |
155 ve_vfw.c \ | |
156 ve_x264.c \ | |
157 ve_xvid4.c \ | |
158 ve_xvid.c \ | |
8024 | 159 |
15772 | 160 NATIVE_SRCS=native/decode144.c \ |
161 native/decode288.c \ | |
162 native/minilzo.c \ | |
163 native/nuppelvideo.c \ | |
164 native/RTjpegN.c \ | |
165 native/xa_gsm.c \ | |
5029 | 166 |
5840
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
167 ifeq ($(FAME),yes) |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
168 VFILTER_SRCS += vf_fame.c |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
169 endif |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
170 |
11662
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
171 ifeq ($(ZORAN),yes) |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
172 VFILTER_SRCS += vf_zrmjpeg.c |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
173 endif |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
174 |
5029 | 175 ifeq ($(PNG),yes) |
5344 | 176 VIDEO_SRCS += vd_mpng.c |
5029 | 177 endif |
178 | |
179 ifeq ($(JPEG),yes) | |
5344 | 180 VIDEO_SRCS += vd_ijpg.c |
5029 | 181 endif |
4878 | 182 |
13426 | 183 ifeq ($(TOOLAME),yes) |
15234 | 184 ENCODER_SRCS += ae_toolame.c |
13426 | 185 EXTRA_INC += $(TOOLAME_EXTRAFLAGS) |
186 endif | |
187 | |
15359 | 188 ifeq ($(TWOLAME),yes) |
189 ENCODER_SRCS += ae_twolame.c | |
190 endif | |
191 | |
15234 | 192 ifeq ($(CONFIG_MP3LAME),yes) |
193 ENCODER_SRCS += ae_lame.c | |
194 endif | |
195 | |
16165 | 196 LIBAV_INC = |
197 ifeq ($(CONFIG_LIBAVUTIL),yes) | |
198 LIBAV_INC += -I../libavutil | |
199 endif | |
15234 | 200 ifeq ($(CONFIG_LIBAVCODEC),yes) |
16165 | 201 LIBAV_INC += -I../libavcodec |
15234 | 202 ENCODER_SRCS += ae_lavc.c |
203 endif | |
204 | |
16251 | 205 ifeq ($(CONFIG_LIBAVCODECSO),yes) |
206 ENCODER_SRCS += ae_lavc.c | |
207 endif | |
208 | |
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
209 ifeq ($(MUSEPACK),yes) |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
210 AUDIO_SRCS += ad_mpc.c |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
211 endif |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
212 |
16915
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
213 ifeq ($(SPEEX),yes) |
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
214 AUDIO_SRCS += ad_speex.c |
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
215 endif |
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
216 |
15259 | 217 ifeq ($(FAAC),yes) |
218 ENCODER_SRCS += ae_faac.c | |
219 endif | |
220 | |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
221 SRCS=$(AUDIO_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
222 $(VIDEO_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
223 $(VFILTER_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
224 $(NATIVE_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
225 img_format.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
226 |
4878 | 227 OBJS=$(SRCS:.c=.o) |
228 | |
5550 | 229 SRCS2=$(ENCODER_SRCS) |
230 OBJS2=$(SRCS2:.c=.o) | |
231 | |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
232 CFLAGS = $(OPTFLAGS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
233 -I. -I.. \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
234 -Inative \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
235 -I../libmpdemux \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
236 -I../loader \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
237 $(LIBAV_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
238 $(EXTRA_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
239 $(X264_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
240 $(XVID_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
241 -D_GNU_SOURCE \ |
4878 | 242 |
243 .SUFFIXES: .c .o | |
244 | |
245 # .PHONY: all clean | |
246 | |
247 .c.o: | |
248 $(CC) -c $(CFLAGS) -o $@ $< | |
249 | |
5550 | 250 all: $(LIBNAME) $(LIBNAME2) |
251 | |
4878 | 252 $(LIBNAME): $(OBJS) |
253 $(AR) r $(LIBNAME) $(OBJS) | |
12634 | 254 $(RANLIB) $(LIBNAME) |
4878 | 255 |
5550 | 256 $(LIBNAME2): $(OBJS2) |
257 $(AR) r $(LIBNAME2) $(OBJS2) | |
12634 | 258 $(RANLIB) $(LIBNAME2) |
4878 | 259 |
260 clean: | |
261 rm -f *.o *.a *~ | |
14138
40ac42c6dd6d
make clean should also clean the native subdirectory.
diego
parents:
13426
diff
changeset
|
262 rm -f native/*.o native/*.a native/*~ |
4878 | 263 |
264 distclean: | |
5603 | 265 rm -f Makefile.bak $(OBJS) $(OBJS2) $(LIBNAME) $(LIBNAME2) *~ .depend |
4878 | 266 |
267 dep: depend | |
268 | |
269 depend: | |
5550 | 270 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend |
4878 | 271 |
272 # | |
273 # include dependency files if they exist | |
274 # | |
275 ifneq ($(wildcard .depend),) | |
276 include .depend | |
277 endif | |
278 |