Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 16752:425863aab3df
fix mencoder multi-file with some files having audio but others dont
author | ods15 |
---|---|
date | Thu, 13 Oct 2005 19:30:07 +0000 |
parents | 3636c18a1b5e |
children | 6b1d1e4adaea |
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 \ | |
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 |
15772 | 159 NATIVE_SRCS=native/decode144.c \ |
160 native/decode288.c \ | |
161 native/minilzo.c \ | |
162 native/nuppelvideo.c \ | |
163 native/RTjpegN.c \ | |
164 native/xa_gsm.c \ | |
5029 | 165 |
5840
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
166 ifeq ($(FAME),yes) |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
167 VFILTER_SRCS += vf_fame.c |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
168 endif |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
169 |
11662
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
170 ifeq ($(ZORAN),yes) |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
171 VFILTER_SRCS += vf_zrmjpeg.c |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
172 endif |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
173 |
5029 | 174 ifeq ($(PNG),yes) |
5344 | 175 VIDEO_SRCS += vd_mpng.c |
5029 | 176 endif |
177 | |
178 ifeq ($(JPEG),yes) | |
5344 | 179 VIDEO_SRCS += vd_ijpg.c |
5029 | 180 endif |
4878 | 181 |
13426 | 182 ifeq ($(TOOLAME),yes) |
15234 | 183 ENCODER_SRCS += ae_toolame.c |
13426 | 184 EXTRA_INC += $(TOOLAME_EXTRAFLAGS) |
185 endif | |
186 | |
15359 | 187 ifeq ($(TWOLAME),yes) |
188 ENCODER_SRCS += ae_twolame.c | |
189 endif | |
190 | |
15234 | 191 ifeq ($(CONFIG_MP3LAME),yes) |
192 ENCODER_SRCS += ae_lame.c | |
193 endif | |
194 | |
16165 | 195 LIBAV_INC = |
196 ifeq ($(CONFIG_LIBAVUTIL),yes) | |
197 LIBAV_INC += -I../libavutil | |
198 endif | |
15234 | 199 ifeq ($(CONFIG_LIBAVCODEC),yes) |
16165 | 200 LIBAV_INC += -I../libavcodec |
15234 | 201 ENCODER_SRCS += ae_lavc.c |
202 endif | |
203 | |
16251 | 204 ifeq ($(CONFIG_LIBAVCODECSO),yes) |
205 ENCODER_SRCS += ae_lavc.c | |
206 endif | |
207 | |
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
208 ifeq ($(MUSEPACK),yes) |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
209 AUDIO_SRCS += ad_mpc.c |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
210 endif |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
211 |
15259 | 212 ifeq ($(FAAC),yes) |
213 ENCODER_SRCS += ae_faac.c | |
214 endif | |
215 | |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
216 SRCS=$(AUDIO_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
217 $(VIDEO_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
218 $(VFILTER_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
219 $(NATIVE_SRCS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
220 img_format.c \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
221 |
4878 | 222 OBJS=$(SRCS:.c=.o) |
223 | |
5550 | 224 SRCS2=$(ENCODER_SRCS) |
225 OBJS2=$(SRCS2:.c=.o) | |
226 | |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
227 CFLAGS = $(OPTFLAGS) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
228 -I. -I.. \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
229 -Inative \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
230 -I../libmpdemux \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
231 -I../loader \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
232 $(LIBAV_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
233 $(EXTRA_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
234 $(X264_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
235 $(XVID_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
236 -D_GNU_SOURCE \ |
4878 | 237 |
238 .SUFFIXES: .c .o | |
239 | |
240 # .PHONY: all clean | |
241 | |
242 .c.o: | |
243 $(CC) -c $(CFLAGS) -o $@ $< | |
244 | |
5550 | 245 all: $(LIBNAME) $(LIBNAME2) |
246 | |
4878 | 247 $(LIBNAME): $(OBJS) |
248 $(AR) r $(LIBNAME) $(OBJS) | |
12634 | 249 $(RANLIB) $(LIBNAME) |
4878 | 250 |
5550 | 251 $(LIBNAME2): $(OBJS2) |
252 $(AR) r $(LIBNAME2) $(OBJS2) | |
12634 | 253 $(RANLIB) $(LIBNAME2) |
4878 | 254 |
255 clean: | |
256 rm -f *.o *.a *~ | |
14138
40ac42c6dd6d
make clean should also clean the native subdirectory.
diego
parents:
13426
diff
changeset
|
257 rm -f native/*.o native/*.a native/*~ |
4878 | 258 |
259 distclean: | |
5603 | 260 rm -f Makefile.bak $(OBJS) $(OBJS2) $(LIBNAME) $(LIBNAME2) *~ .depend |
4878 | 261 |
262 dep: depend | |
263 | |
264 depend: | |
5550 | 265 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend |
4878 | 266 |
267 # | |
268 # include dependency files if they exist | |
269 # | |
270 ifneq ($(wildcard .depend),) | |
271 include .depend | |
272 endif | |
273 |