Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 16143:8ece260ce923
Sync wirh 1.1055
author | gpoirier |
---|---|
date | Thu, 28 Jul 2005 21:00:41 +0000 |
parents | 087142ef3a2d |
children | a9f7eff9e437 |
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 \ | |
131 | |
11141 | 132 ifeq ($(HAVE_FFPOSTPROCESS),yes) |
133 VFILTER_SRCS += vf_pp.c | |
134 endif | |
135 | |
15772 | 136 ENCODER_SRCS=ae.c \ |
137 ae_pcm.c \ | |
138 ve.c \ | |
139 ve_divx4.c \ | |
140 ve_lavc.c \ | |
141 ve_libdv.c \ | |
142 ve_nuv.c \ | |
143 ve_qtvideo.c \ | |
144 ve_raw.c \ | |
145 ve_vfw.c \ | |
146 ve_x264.c \ | |
147 ve_xvid4.c \ | |
148 ve_xvid.c \ | |
8024 | 149 |
15772 | 150 NATIVE_SRCS=native/decode144.c \ |
151 native/decode288.c \ | |
152 native/minilzo.c \ | |
153 native/nuppelvideo.c \ | |
154 native/RTjpegN.c \ | |
155 native/xa_gsm.c \ | |
5029 | 156 |
5840
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
157 ifeq ($(FAME),yes) |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
158 VFILTER_SRCS += vf_fame.c |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
159 endif |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
160 |
11662
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
161 ifeq ($(ZORAN),yes) |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
162 VFILTER_SRCS += vf_zrmjpeg.c |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
163 endif |
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
164 |
5029 | 165 ifeq ($(PNG),yes) |
5344 | 166 VIDEO_SRCS += vd_mpng.c |
5029 | 167 endif |
168 | |
169 ifeq ($(JPEG),yes) | |
5344 | 170 VIDEO_SRCS += vd_ijpg.c |
5029 | 171 endif |
4878 | 172 |
13426 | 173 ifeq ($(TOOLAME),yes) |
15234 | 174 ENCODER_SRCS += ae_toolame.c |
13426 | 175 EXTRA_INC += $(TOOLAME_EXTRAFLAGS) |
176 endif | |
177 | |
15359 | 178 ifeq ($(TWOLAME),yes) |
179 ENCODER_SRCS += ae_twolame.c | |
180 endif | |
181 | |
15234 | 182 ifeq ($(CONFIG_MP3LAME),yes) |
183 ENCODER_SRCS += ae_lame.c | |
184 endif | |
185 | |
186 ifeq ($(CONFIG_LIBAVCODEC),yes) | |
187 ENCODER_SRCS += ae_lavc.c | |
188 endif | |
189 | |
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
190 ifeq ($(MUSEPACK),yes) |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
191 AUDIO_SRCS += ad_mpc.c |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
192 endif |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
193 |
15259 | 194 ifeq ($(FAAC),yes) |
195 ENCODER_SRCS += ae_faac.c | |
196 endif | |
197 | |
5607 | 198 SRCS=$(AUDIO_SRCS) $(VIDEO_SRCS) $(VFILTER_SRCS) $(NATIVE_SRCS) img_format.c |
4878 | 199 OBJS=$(SRCS:.c=.o) |
200 | |
5550 | 201 SRCS2=$(ENCODER_SRCS) |
202 OBJS2=$(SRCS2:.c=.o) | |
203 | |
13311
8bf56817f2e5
Make --with-x264incdir work, patch by Jan Knutar <jknutar at nic.fi>
diego
parents:
13166
diff
changeset
|
204 CFLAGS = $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(EXTRA_INC) $(X264_INC) -D_GNU_SOURCE |
4878 | 205 |
206 .SUFFIXES: .c .o | |
207 | |
208 # .PHONY: all clean | |
209 | |
210 .c.o: | |
211 $(CC) -c $(CFLAGS) -o $@ $< | |
212 | |
5550 | 213 all: $(LIBNAME) $(LIBNAME2) |
214 | |
4878 | 215 $(LIBNAME): $(OBJS) |
216 $(AR) r $(LIBNAME) $(OBJS) | |
12634 | 217 $(RANLIB) $(LIBNAME) |
4878 | 218 |
5550 | 219 $(LIBNAME2): $(OBJS2) |
220 $(AR) r $(LIBNAME2) $(OBJS2) | |
12634 | 221 $(RANLIB) $(LIBNAME2) |
4878 | 222 |
223 clean: | |
224 rm -f *.o *.a *~ | |
14138
40ac42c6dd6d
make clean should also clean the native subdirectory.
diego
parents:
13426
diff
changeset
|
225 rm -f native/*.o native/*.a native/*~ |
4878 | 226 |
227 distclean: | |
5603 | 228 rm -f Makefile.bak $(OBJS) $(OBJS2) $(LIBNAME) $(LIBNAME2) *~ .depend |
4878 | 229 |
230 dep: depend | |
231 | |
232 depend: | |
5550 | 233 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend |
4878 | 234 |
235 # | |
236 # include dependency files if they exist | |
237 # | |
238 ifneq ($(wildcard .depend),) | |
239 include .depend | |
240 endif | |
241 |