Mercurial > libavcodec.hg
comparison Makefile @ 3426:8a199b35cf57 libavcodec
build mpegaudio.c and ac3enc.c only if needed
author | mru |
---|---|
date | Thu, 06 Jul 2006 20:32:19 +0000 |
parents | b7826511f7b6 |
children | 94692fbebcc0 |
comparison
equal
deleted
inserted
replaced
3425:b8faae2c5d0c | 3426:8a199b35cf57 |
---|---|
8 CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)/libavutil \ | 8 CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)/libavutil \ |
9 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE $(AMR_CFLAGS) | 9 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE $(AMR_CFLAGS) |
10 | 10 |
11 OBJS= bitstream.o utils.o mem.o allcodecs.o \ | 11 OBJS= bitstream.o utils.o mem.o allcodecs.o \ |
12 mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ | 12 mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ |
13 mpegaudio.o ac3enc.o mjpeg.o resample.o resample2.o dsputil.o \ | 13 mjpeg.o resample.o resample2.o dsputil.o \ |
14 motion_est.o imgconvert.o imgresample.o \ | 14 motion_est.o imgconvert.o imgresample.o \ |
15 mpeg12.o mpegaudiodec.o pcm.o simple_idct.o \ | 15 mpeg12.o mpegaudiodec.o pcm.o simple_idct.o \ |
16 ratecontrol.o adpcm.o eval.o error_resilience.o \ | 16 ratecontrol.o adpcm.o eval.o error_resilience.o \ |
17 fft.o mdct.o raw.o golomb.o cabac.o\ | 17 fft.o mdct.o raw.o golomb.o cabac.o\ |
18 dpcm.o adx.o faandct.o parser.o g726.o \ | 18 dpcm.o adx.o faandct.o parser.o g726.o \ |
24 HEADERS = avcodec.h | 24 HEADERS = avcodec.h |
25 | 25 |
26 ifeq ($(CONFIG_AASC_DECODER),yes) | 26 ifeq ($(CONFIG_AASC_DECODER),yes) |
27 OBJS+= aasc.o | 27 OBJS+= aasc.o |
28 endif | 28 endif |
29 ifeq ($(CONFIG_AC3_ENCODER),yes) | |
30 OBJS+= ac3enc.o | |
31 endif | |
29 ifeq ($(CONFIG_ALAC_DECODER),yes) | 32 ifeq ($(CONFIG_ALAC_DECODER),yes) |
30 OBJS+= alac.o | 33 OBJS+= alac.o |
31 endif | 34 endif |
32 ifneq ($(CONFIG_ASV1_DECODER)$(CONFIG_ASV1_ENCODER)$(CONFIG_ASV2_DECODER)$(CONFIG_ASV2_ENCODER),) | 35 ifneq ($(CONFIG_ASV1_DECODER)$(CONFIG_ASV1_ENCODER)$(CONFIG_ASV2_DECODER)$(CONFIG_ASV2_ENCODER),) |
33 OBJS+= asv1.o | 36 OBJS+= asv1.o |
116 ifeq ($(CONFIG_LOCO_DECODER),yes) | 119 ifeq ($(CONFIG_LOCO_DECODER),yes) |
117 OBJS+= loco.o | 120 OBJS+= loco.o |
118 endif | 121 endif |
119 ifneq ($(CONFIG_MACE3_DECODER)$(CONFIG_MACE6_DECODER),) | 122 ifneq ($(CONFIG_MACE3_DECODER)$(CONFIG_MACE6_DECODER),) |
120 OBJS+= mace.o | 123 OBJS+= mace.o |
124 endif | |
125 ifeq ($(CONFIG_MP2_ENCODER),yes) | |
126 OBJS+= mpegaudio.o | |
121 endif | 127 endif |
122 ifeq ($(CONFIG_MSRLE_DECODER),yes) | 128 ifeq ($(CONFIG_MSRLE_DECODER),yes) |
123 OBJS+= msrle.o | 129 OBJS+= msrle.o |
124 endif | 130 endif |
125 ifeq ($(CONFIG_MSVIDEO1_DECODER),yes) | 131 ifeq ($(CONFIG_MSVIDEO1_DECODER),yes) |