4 LIBNAME
= libmpcodecs.a
5 LIBNAME2
= libmpencoders.a
12 AUDIO_SRCS_LIB
=ad_hwac3.c \
17 AUDIO_SRCS_NAT
=ad_alaw.c \
25 AUDIO_SRCS_OPT
=ad_acm.c \
36 ifeq ($(CONFIG_LIBAVCODEC
),yes
)
37 AUDIO_SRCS_OPT
+=ad_ffmpeg.c
39 ifeq ($(CONFIG_LIBAVCODEC_SO
),yes
)
40 AUDIO_SRCS_OPT
+=ad_ffmpeg.c
43 AUDIO_SRCS
=dec_audio.c \
49 VIDEO_SRCS_LIB
=vd_libmpeg2.c \
53 VIDEO_SRCS_NAT
=vd_hmblck.c \
60 VIDEO_SRCS_OPT
=vd_divx4.c \
75 ifeq ($(CONFIG_LIBAVCODEC
),yes
)
76 VIDEO_SRCS_OPT
+=vd_ffmpeg.c
78 ifeq ($(CONFIG_LIBAVCODEC_SO
),yes
)
79 VIDEO_SRCS_OPT
+=vd_ffmpeg.c
82 VIDEO_SRCS
=dec_video.c \
153 VFILTER_LAVC_SRCS
+= vf_lavc.c \
156 VFILTER_LAVC_DSPUTIL_SRCS
+= vf_uspp.c \
161 ifeq ($(CONFIG_LIBPOSTPROC
),yes
)
162 VFILTER_SRCS
+= vf_pp.c
164 ifeq ($(CONFIG_LIBPOSTPROC_SO
),yes
)
165 VFILTER_SRCS
+= vf_pp.c
168 ifeq ($(CONFIG_LIBAVCODEC
),yes
)
169 VFILTER_SRCS
+= $(VFILTER_LAVC_SRCS
)
170 VFILTER_SRCS
+= $(VFILTER_LAVC_DSPUTIL_SRCS
)
172 ifeq ($(CONFIG_LIBAVCODEC_SO
),yes
)
173 VFILTER_SRCS
+= $(VFILTER_LAVC_SRCS
)
188 ifeq ($(CONFIG_LIBAVCODEC
),yes
)
189 ENCODER_SRCS
+=ve_lavc.c
191 ifeq ($(CONFIG_LIBAVCODEC_SO
),yes
)
192 ENCODER_SRCS
+=ve_lavc.c
196 ENCODER_SRCS
+=ve_x264.c
199 NATIVE_SRCS
=native
/minilzo.c \
200 native
/nuppelvideo.c \
205 VFILTER_SRCS
+= vf_fame.c
209 VFILTER_SRCS
+= vf_zrmjpeg.c
213 VIDEO_SRCS
+= vd_mpng.c
217 VIDEO_SRCS
+= vd_ijpg.c
220 ifeq ($(TOOLAME
),yes
)
221 ENCODER_SRCS
+= ae_toolame.c
222 EXTRA_INC
+= $(TOOLAME_EXTRAFLAGS
)
225 ifeq ($(TWOLAME
),yes
)
226 ENCODER_SRCS
+= ae_twolame.c
229 ifeq ($(CONFIG_MP3LAME
),yes
)
230 ENCODER_SRCS
+= ae_lame.c
234 ifeq ($(CONFIG_LIBAVUTIL
),yes
)
235 LIBAV_INC
+= -I..
/libavutil
237 ifeq ($(CONFIG_LIBAVCODEC
),yes
)
238 LIBAV_INC
+= -I..
/libavcodec
239 ENCODER_SRCS
+= ae_lavc.c
241 ifeq ($(CONFIG_LIBAVCODEC_SO
),yes
)
242 ENCODER_SRCS
+= ae_lavc.c
245 ifeq ($(MUSEPACK
),yes
)
246 AUDIO_SRCS
+= ad_mpc.c
250 AUDIO_SRCS
+= ad_speex.c
254 ENCODER_SRCS
+= ae_faac.c
265 SRCS2
=$(ENCODER_SRCS
)
268 CFLAGS
= $(OPTFLAGS
) \
284 $(CC
) -c
$(CFLAGS
) -o
$@
$<
289 $(AR
) r
$(LIBNAME
) $(OBJS
)
292 $(LIBNAME2
): $(OBJS2
)
293 $(AR
) r
$(LIBNAME2
) $(OBJS2
)
294 $(RANLIB
) $(LIBNAME2
)
298 rm -f native
/*.o native
/*.a native
/*~
306 $(CC
) -MM
$(CFLAGS
) $(SRCS
) $(SRCS2
) 1>.depend
309 # include dependency files if they exist
311 ifneq ($(wildcard .depend
),)