Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 21280:db66f5bdb5cd
Remove unnecessary variable indirection.
| author | diego |
|---|---|
| date | Sun, 26 Nov 2006 22:53:57 +0000 |
| parents | eda0d1a84e81 |
| children | abc8e3f73107 |
| rev | line source |
|---|---|
| 4878 | 1 |
| 2 include ../config.mak | |
| 3 | |
| 4 LIBNAME = libmpcodecs.a | |
| 5550 | 5 LIBNAME2 = libmpencoders.a |
| 4878 | 6 |
|
17524
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
7 LIBS =$(LIBNAME) |
|
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
8 ifeq ($(MENCODER),yes) |
|
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
9 LIBS+=$(LIBNAME2) |
|
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
10 endif |
|
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
11 |
|
21272
045618c5a082
cosmetics: Move around some entries for better readability.
diego
parents:
21271
diff
changeset
|
12 SRCS = native/minilzo.c \ |
|
045618c5a082
cosmetics: Move around some entries for better readability.
diego
parents:
21271
diff
changeset
|
13 native/nuppelvideo.c \ |
|
045618c5a082
cosmetics: Move around some entries for better readability.
diego
parents:
21271
diff
changeset
|
14 native/RTjpegN.c \ |
|
045618c5a082
cosmetics: Move around some entries for better readability.
diego
parents:
21271
diff
changeset
|
15 native/xa_gsm.c \ |
|
045618c5a082
cosmetics: Move around some entries for better readability.
diego
parents:
21271
diff
changeset
|
16 img_format.c \ |
| 21276 | 17 dec_audio.c \ |
| 18 ad.c \ | |
| 19 ad_alaw.c \ | |
| 20 ad_dk3adpcm.c \ | |
| 21 ad_dvdpcm.c \ | |
| 22 ad_hwac3.c \ | |
| 23 ad_hwmpa.c \ | |
| 24 ad_imaadpcm.c \ | |
| 25 ad_msadpcm.c \ | |
| 26 ad_msgsm.c \ | |
| 27 ad_pcm.c \ | |
| 28 dec_video.c \ | |
| 29 vd.c \ | |
| 30 vd_hmblck.c \ | |
| 31 vd_lzo.c \ | |
| 32 vd_mpegpes.c \ | |
| 33 vd_mtga.c \ | |
| 34 vd_null.c \ | |
| 35 vd_nuv.c \ | |
| 36 vd_raw.c \ | |
| 37 vd_sgi.c \ | |
| 38 vf.c \ | |
| 39 pullup.c \ | |
| 40 vf_1bpp.c \ | |
| 41 vf_2xsai.c \ | |
| 42 vf_blackframe.c \ | |
| 43 vf_bmovl.c \ | |
| 44 vf_boxblur.c \ | |
| 45 vf_crop.c \ | |
| 46 vf_cropdetect.c \ | |
| 47 vf_decimate.c \ | |
| 48 vf_delogo.c \ | |
| 49 vf_denoise3d.c \ | |
| 50 vf_detc.c \ | |
| 51 vf_dint.c \ | |
| 52 vf_divtc.c \ | |
| 53 vf_down3dright.c \ | |
| 54 vf_dsize.c \ | |
| 55 vf_dvbscale.c \ | |
| 56 vf_eq2.c \ | |
| 57 vf_eq.c \ | |
| 58 vf_expand.c \ | |
| 59 vf_field.c \ | |
| 60 vf_fil.c \ | |
| 61 vf_filmdint.c \ | |
| 62 vf_flip.c \ | |
| 63 vf_format.c \ | |
| 64 vf_framestep.c \ | |
| 65 vf_halfpack.c \ | |
| 66 vf_harddup.c \ | |
| 67 vf_hqdn3d.c \ | |
| 68 vf_hue.c \ | |
| 69 vf_il.c \ | |
| 70 vf_ilpack.c \ | |
| 71 vf_ivtc.c \ | |
| 72 vf_kerndeint.c \ | |
| 73 vf_mirror.c \ | |
| 74 vf_noformat.c \ | |
| 75 vf_noise.c \ | |
| 76 vf_palette.c \ | |
| 77 vf_perspective.c \ | |
| 78 vf_phase.c \ | |
| 79 vf_pp7.c \ | |
| 80 vf_pullup.c \ | |
| 81 vf_rectangle.c \ | |
| 82 vf_remove_logo.c \ | |
| 83 vf_rgb2bgr.c \ | |
| 84 vf_rgbtest.c \ | |
| 85 vf_rotate.c \ | |
| 86 vf_sab.c \ | |
| 87 vf_scale.c \ | |
| 88 vf_smartblur.c \ | |
| 89 vf_softpulldown.c \ | |
| 90 vf_softskip.c \ | |
| 91 vf_swapuv.c \ | |
| 92 vf_telecine.c \ | |
| 93 vf_test.c \ | |
| 94 vf_tfields.c \ | |
| 95 vf_tile.c \ | |
| 96 vf_tinterlace.c \ | |
| 97 vf_unsharp.c \ | |
| 98 vf_vo.c \ | |
| 99 vf_yadif.c \ | |
| 100 vf_yuvcsp.c \ | |
| 101 vf_yuy2.c \ | |
| 102 vf_yvu9.c \ | |
|
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
103 |
| 21275 | 104 SRCS-$(CONFIG_ASS) += vf_ass.c |
| 21280 | 105 # These filters use private headers and do not work with shared libavcodec. |
| 106 SRCS-$(CONFIG_LIBAVCODEC) += vf_fspp.c \ | |
| 107 vf_geq.c \ | |
| 108 vf_mcdeint.c \ | |
| 109 vf_qp.c \ | |
| 110 vf_spp.c \ | |
| 111 vf_uspp.c | |
| 112 SRCS-$(CONFIG_LIBAVCODEC) += vf_lavc.c vf_lavcdeint.c | |
| 113 SRCS-$(CONFIG_LIBAVCODEC_SO) += vf_lavc.c vf_lavcdeint.c | |
| 21276 | 114 SRCS-$(CONFIG_LIBAVCODEC) += vd_ffmpeg.c |
| 115 SRCS-$(CONFIG_LIBAVCODEC_SO) += vd_ffmpeg.c | |
| 116 SRCS-$(CONFIG_LIBAVCODEC) += ad_ffmpeg.c | |
| 117 SRCS-$(CONFIG_LIBAVCODEC_SO) += ad_ffmpeg.c | |
| 118 SRCS-$(CONFIG_LIBPOSTPROC) += vf_pp.c | |
| 119 SRCS-$(CONFIG_LIBPOSTPROC_SO) += vf_pp.c | |
| 120 SRCS-$(FAAD) += ad_faad.c | |
| 121 SRCS-$(JPEG) += vd_ijpg.c | |
| 122 SRCS-$(LIBA52) += ad_liba52.c | |
| 123 SRCS-$(LIBDV) += ad_libdv.c | |
| 124 SRCS-$(LIBDV) += vd_libdv.c | |
| 125 SRCS-$(LIBMAD) += ad_libmad.c | |
| 126 SRCS-$(LIBMPEG2) += vd_libmpeg2.c | |
| 127 SRCS-$(LIBTHEORA) += vd_theora.c | |
| 128 SRCS-$(LIBVORBIS) += ad_libvorbis.c | |
| 129 SRCS-$(MP3LIB) += ad_mp3lib.c | |
| 130 SRCS-$(MUSEPACK) += ad_mpc.c | |
| 21275 | 131 SRCS-$(PNG) += vf_screenshot.c |
| 21276 | 132 SRCS-$(PNG) += vd_mpng.c |
| 133 SRCS-$(QTX_CODECS) += ad_qtaudio.c | |
| 134 SRCS-$(QTX_CODECS) += vd_qtvideo.c | |
| 135 SRCS-$(REAL_CODECS) += ad_realaud.c | |
| 136 SRCS-$(REAL_CODECS) += vd_realvid.c | |
| 137 SRCS-$(SPEEX) += ad_speex.c | |
| 138 SRCS-$(WIN32DLL) += ad_acm.c ad_dmo.c ad_dshow.c ad_twin.c | |
| 139 SRCS-$(WIN32DLL) += vd_dmo.c vd_dshow.c vd_vfw.c vd_vfwex.c | |
| 140 SRCS-$(XANIM_CODECS) += vd_xanim.c | |
| 141 SRCS-$(XVID4) += vd_xvid4.c | |
| 142 SRCS-$(ZORAN) += vd_zrmjpeg.c | |
| 21275 | 143 SRCS-$(ZORAN) += vf_zrmjpeg.c |
|
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
144 |
|
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
145 |
| 15772 | 146 ENCODER_SRCS=ae.c \ |
| 147 ae_pcm.c \ | |
| 148 ve.c \ | |
| 149 ve_nuv.c \ | |
| 150 ve_raw.c \ | |
| 8024 | 151 |
| 21275 | 152 ENCODER_SRCS-$(CONFIG_LIBAVCODEC) += ve_lavc.c |
| 153 ENCODER_SRCS-$(CONFIG_LIBAVCODEC_SO) += ve_lavc.c | |
| 154 ENCODER_SRCS-$(LIBDV) += ve_libdv.c | |
| 155 ENCODER_SRCS-$(QTX_CODECS) += ve_qtvideo.c | |
| 156 ENCODER_SRCS-$(WIN32DLL) += ve_vfw.c | |
| 157 ENCODER_SRCS-$(X264) += ve_x264.c | |
| 158 ENCODER_SRCS-$(XVID4) += ve_xvid4.c | |
| 159 ENCODER_SRCS-$(CONFIG_LIBAVCODEC_SO) += ae_lavc.c | |
| 160 ENCODER_SRCS-$(CONFIG_LIBAVCODEC) += ae_lavc.c | |
| 161 ENCODER_SRCS-$(FAAC) += ae_faac.c | |
| 162 ENCODER_SRCS-$(TOOLAME) += ae_toolame.c | |
| 163 ENCODER_SRCS-$(TWOLAME) += ae_twolame.c | |
| 164 ENCODER_SRCS-$(MP3LAME) += ae_lame.c | |
| 15234 | 165 |
| 21275 | 166 |
| 167 LIBAV_INC-$(CONFIG_LIBAVUTIL) += -I../libavutil | |
| 168 LIBAV_INC-$(CONFIG_LIBAVCODEC) += -I../libavcodec | |
| 169 | |
| 170 | |
| 171 ENCODER_SRCS += $(ENCODER_SRCS-yes) | |
| 172 SRCS += $(SRCS-yes) | |
| 173 LIBAV_INC += $(LIBAV_INC-yes) | |
|
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
174 |
|
16915
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
175 |
| 4878 | 176 OBJS=$(SRCS:.c=.o) |
| 177 | |
| 21273 | 178 OBJS2=$(ENCODER_SRCS:.c=.o) |
| 5550 | 179 |
|
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21228
diff
changeset
|
180 CFLAGS = -I.. \ |
|
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
181 -Inative \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
182 -I../libmpdemux \ |
|
19271
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
19190
diff
changeset
|
183 -I../stream \ |
|
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
184 -I../loader \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
185 $(LIBAV_INC) \ |
|
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
186 -D_GNU_SOURCE \ |
| 4878 | 187 |
|
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21228
diff
changeset
|
188 include ../mpcommon.mak |
| 4878 | 189 |
|
17524
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
190 all: $(LIBS) |
| 5550 | 191 |
| 21228 | 192 $(LIBNAME2): $(OBJS2) |
| 193 $(AR) r $@ $^ | |
| 194 $(RANLIB) $@ | |
| 4878 | 195 |
|
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21228
diff
changeset
|
196 clean:: |
|
14138
40ac42c6dd6d
make clean should also clean the native subdirectory.
diego
parents:
13426
diff
changeset
|
197 rm -f native/*.o native/*.a native/*~ |
| 4878 | 198 |
