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