Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 21284:30c0e0cfd9ed
libmpdemux has no subdirectories.
author | diego |
---|---|
date | Mon, 27 Nov 2006 01:01:50 +0000 |
parents | abc8e3f73107 |
children | f423ce0a1c36 |
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 | |
21281 | 112 SRCS-$(CONFIG_LIBAVCODEC) += ad_ffmpeg.c vd_ffmpeg.c vf_lavc.c vf_lavcdeint.c |
113 SRCS-$(CONFIG_LIBAVCODEC_SO) += ad_ffmpeg.c vd_ffmpeg.c vf_lavc.c vf_lavcdeint.c | |
21276 | 114 SRCS-$(CONFIG_LIBPOSTPROC) += vf_pp.c |
115 SRCS-$(CONFIG_LIBPOSTPROC_SO) += vf_pp.c | |
116 SRCS-$(FAAD) += ad_faad.c | |
117 SRCS-$(JPEG) += vd_ijpg.c | |
118 SRCS-$(LIBA52) += ad_liba52.c | |
21281 | 119 SRCS-$(LIBDV) += ad_libdv.c vd_libdv.c |
21276 | 120 SRCS-$(LIBMAD) += ad_libmad.c |
121 SRCS-$(LIBMPEG2) += vd_libmpeg2.c | |
122 SRCS-$(LIBTHEORA) += vd_theora.c | |
123 SRCS-$(LIBVORBIS) += ad_libvorbis.c | |
124 SRCS-$(MP3LIB) += ad_mp3lib.c | |
125 SRCS-$(MUSEPACK) += ad_mpc.c | |
21281 | 126 SRCS-$(PNG) += vd_mpng.c vf_screenshot.c |
127 SRCS-$(QTX_CODECS) += ad_qtaudio.c vd_qtvideo.c | |
128 SRCS-$(REAL_CODECS) += ad_realaud.c vd_realvid.c | |
21276 | 129 SRCS-$(SPEEX) += ad_speex.c |
21281 | 130 SRCS-$(WIN32DLL) += ad_acm.c ad_dmo.c ad_dshow.c ad_twin.c \ |
131 vd_dmo.c vd_dshow.c vd_vfw.c vd_vfwex.c | |
21276 | 132 SRCS-$(XANIM_CODECS) += vd_xanim.c |
133 SRCS-$(XVID4) += vd_xvid4.c | |
21281 | 134 SRCS-$(ZORAN) += vd_zrmjpeg.c vf_zrmjpeg.c |
18771
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
135 |
a1807995e2ab
Move #ifdefs around complete files into the build system.
diego
parents:
18765
diff
changeset
|
136 |
15772 | 137 ENCODER_SRCS=ae.c \ |
138 ae_pcm.c \ | |
139 ve.c \ | |
140 ve_nuv.c \ | |
141 ve_raw.c \ | |
8024 | 142 |
21281 | 143 ENCODER_SRCS-$(CONFIG_LIBAVCODEC) += ae_lavc.c ve_lavc.c |
144 ENCODER_SRCS-$(CONFIG_LIBAVCODEC_SO) += ae_lavc.c ve_lavc.c | |
21275 | 145 ENCODER_SRCS-$(LIBDV) += ve_libdv.c |
146 ENCODER_SRCS-$(QTX_CODECS) += ve_qtvideo.c | |
147 ENCODER_SRCS-$(WIN32DLL) += ve_vfw.c | |
148 ENCODER_SRCS-$(X264) += ve_x264.c | |
149 ENCODER_SRCS-$(XVID4) += ve_xvid4.c | |
150 ENCODER_SRCS-$(FAAC) += ae_faac.c | |
151 ENCODER_SRCS-$(TOOLAME) += ae_toolame.c | |
152 ENCODER_SRCS-$(TWOLAME) += ae_twolame.c | |
153 ENCODER_SRCS-$(MP3LAME) += ae_lame.c | |
15234 | 154 |
21275 | 155 |
156 LIBAV_INC-$(CONFIG_LIBAVUTIL) += -I../libavutil | |
157 LIBAV_INC-$(CONFIG_LIBAVCODEC) += -I../libavcodec | |
158 | |
159 | |
160 ENCODER_SRCS += $(ENCODER_SRCS-yes) | |
161 SRCS += $(SRCS-yes) | |
162 LIBAV_INC += $(LIBAV_INC-yes) | |
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
15944
diff
changeset
|
163 |
16915
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
16521
diff
changeset
|
164 |
4878 | 165 OBJS=$(SRCS:.c=.o) |
166 | |
21273 | 167 OBJS2=$(ENCODER_SRCS:.c=.o) |
5550 | 168 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21228
diff
changeset
|
169 CFLAGS = -I.. \ |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
170 -Inative \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
171 -I../libmpdemux \ |
19271
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
19190
diff
changeset
|
172 -I../stream \ |
16521
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
173 -I../loader \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
174 $(LIBAV_INC) \ |
3636c18a1b5e
Break up all long lines that were missed during the last reformatting round.
diego
parents:
16520
diff
changeset
|
175 -D_GNU_SOURCE \ |
4878 | 176 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21228
diff
changeset
|
177 include ../mpcommon.mak |
4878 | 178 |
17524
cc6cf286e337
Only compile libmpencoders if MEncoder has been enabled.
diego
parents:
17523
diff
changeset
|
179 all: $(LIBS) |
5550 | 180 |
21228 | 181 $(LIBNAME2): $(OBJS2) |
182 $(AR) r $@ $^ | |
183 $(RANLIB) $@ | |
4878 | 184 |
21259
92b122592776
Merge common parts of all Makefiles into one file included by all.
diego
parents:
21228
diff
changeset
|
185 clean:: |
14138
40ac42c6dd6d
make clean should also clean the native subdirectory.
diego
parents:
13426
diff
changeset
|
186 rm -f native/*.o native/*.a native/*~ |
4878 | 187 |