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