Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 17397:2e20dd653147
ad_hwmpa: pass-through fake audio codec for hardware mpeg decoders
| author | nicodvb |
|---|---|
| date | Sun, 15 Jan 2006 10:25:14 +0000 |
| parents | 3fccbde62324 |
| children | b56f34ba3f2f |
| 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 \ | |
|
17397
2e20dd653147
ad_hwmpa: pass-through fake audio codec for hardware mpeg decoders
nicodvb
parents:
17387
diff
changeset
|
10 ad_hwmpa.c \ |
| 15772 | 11 |
| 12 AUDIO_SRCS_NAT=ad_alaw.c \ | |
| 13 ad_dk3adpcm.c \ | |
| 14 ad_dvdpcm.c \ | |
| 15 ad_imaadpcm.c \ | |
| 16 ad_msadpcm.c \ | |
| 17 ad_msgsm.c \ | |
| 18 ad_pcm.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 |
|
17151
9a6b48d19e12
Remove MPlayer native 14_4 and 28_8 codecs (they are in lavc)
rtognimp
parents:
16946
diff
changeset
|
160 NATIVE_SRCS=native/minilzo.c \ |
| 15772 | 161 native/nuppelvideo.c \ |
| 162 native/RTjpegN.c \ | |
| 163 native/xa_gsm.c \ | |
| 5029 | 164 |
|
5840
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
165 ifeq ($(FAME),yes) |
|
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
166 VFILTER_SRCS += vf_fame.c |
|
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
167 endif |
|
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
168 |
|
11662
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
169 ifeq ($(ZORAN),yes) |
|
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
170 VFILTER_SRCS += vf_zrmjpeg.c |
|
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
171 endif |
|
173f22eb0505
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
rik
parents:
11600
diff
changeset
|
172 |
| 5029 | 173 ifeq ($(PNG),yes) |
| 5344 | 174 VIDEO_SRCS += vd_mpng.c |
| 5029 | 175 endif |
| 176 | |
| 177 ifeq ($(JPEG),yes) | |
| 5344 | 178 VIDEO_SRCS += vd_ijpg.c |
| 5029 | 179 endif |
| 4878 | 180 |
| 13426 | 181 ifeq ($(TOOLAME),yes) |
| 15234 | 182 ENCODER_SRCS += ae_toolame.c |
| 13426 | 183 EXTRA_INC += $(TOOLAME_EXTRAFLAGS) |
| 184 endif | |
| 185 | |
| 15359 | 186 ifeq ($(TWOLAME),yes) |
| 187 ENCODER_SRCS += ae_twolame.c | |
| 188 endif | |
| 189 | |
| 15234 | 190 ifeq ($(CONFIG_MP3LAME),yes) |
| 191 ENCODER_SRCS += ae_lame.c | |
| 192 endif | |
| 193 | |
| 16165 | 194 LIBAV_INC = |
| 195 ifeq ($(CONFIG_LIBAVUTIL),yes) | |
| 196 LIBAV_INC += -I../libavutil | |
| 197 endif | |
| 15234 | 198 ifeq ($(CONFIG_LIBAVCODEC),yes) |
| 16165 | 199 LIBAV_INC += -I../libavcodec |
| 15234 | 200 ENCODER_SRCS += ae_lavc.c |
| 201 endif | |
| 202 | |
| 17387 | 203 ifeq ($(CONFIG_LIBAVCODEC_SO),yes) |
| 16251 | 204 ENCODER_SRCS += ae_lavc.c |
| 205 endif | |
| 206 | |
|
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
207 ifeq ($(MUSEPACK),yes) |
|
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
208 AUDIO_SRCS += ad_mpc.c |
|
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
209 endif |
|
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
210 |
|
16915
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
211 ifeq ($(SPEEX),yes) |
|
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
212 AUDIO_SRCS += ad_speex.c |
|
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
213 endif |
|
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
214 |
| 15259 | 215 ifeq ($(FAAC),yes) |
| 216 ENCODER_SRCS += ae_faac.c | |
| 217 endif | |
| 218 | |
|
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
219 SRCS=$(AUDIO_SRCS) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
220 $(VIDEO_SRCS) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
221 $(VFILTER_SRCS) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
222 $(NATIVE_SRCS) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
223 img_format.c \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
224 |
| 4878 | 225 OBJS=$(SRCS:.c=.o) |
| 226 | |
| 5550 | 227 SRCS2=$(ENCODER_SRCS) |
| 228 OBJS2=$(SRCS2:.c=.o) | |
| 229 | |
|
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
230 CFLAGS = $(OPTFLAGS) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
231 -I. -I.. \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
232 -Inative \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
233 -I../libmpdemux \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
234 -I../loader \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
235 $(LIBAV_INC) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
236 $(EXTRA_INC) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
237 $(X264_INC) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
238 $(XVID_INC) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
239 -D_GNU_SOURCE \ |
| 4878 | 240 |
| 241 .SUFFIXES: .c .o | |
| 242 | |
| 243 # .PHONY: all clean | |
| 244 | |
| 245 .c.o: | |
| 246 $(CC) -c $(CFLAGS) -o $@ $< | |
| 247 | |
| 5550 | 248 all: $(LIBNAME) $(LIBNAME2) |
| 249 | |
| 4878 | 250 $(LIBNAME): $(OBJS) |
| 251 $(AR) r $(LIBNAME) $(OBJS) | |
| 12634 | 252 $(RANLIB) $(LIBNAME) |
| 4878 | 253 |
| 5550 | 254 $(LIBNAME2): $(OBJS2) |
| 255 $(AR) r $(LIBNAME2) $(OBJS2) | |
| 12634 | 256 $(RANLIB) $(LIBNAME2) |
| 4878 | 257 |
| 258 clean: | |
| 259 rm -f *.o *.a *~ | |
|
14138
40ac42c6dd6d
make clean should also clean the native subdirectory.
diego
parents:
13426
diff
changeset
|
260 rm -f native/*.o native/*.a native/*~ |
| 4878 | 261 |
| 262 distclean: | |
| 5603 | 263 rm -f Makefile.bak $(OBJS) $(OBJS2) $(LIBNAME) $(LIBNAME2) *~ .depend |
| 4878 | 264 |
| 265 dep: depend | |
| 266 | |
| 267 depend: | |
| 5550 | 268 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend |
| 4878 | 269 |
| 270 # | |
| 271 # include dependency files if they exist | |
| 272 # | |
| 273 ifneq ($(wildcard .depend),) | |
| 274 include .depend | |
| 275 endif | |
| 276 |
