# HG changeset patch # User mru # Date 1152217939 0 # Node ID 8a199b35cf57b15384fd77c7a799061269ff2416 # Parent b8faae2c5d0c54c72b2e6f343a8deb6aacc7b5f6 build mpegaudio.c and ac3enc.c only if needed diff -r b8faae2c5d0c -r 8a199b35cf57 Makefile --- a/Makefile Thu Jul 06 19:23:21 2006 +0000 +++ b/Makefile Thu Jul 06 20:32:19 2006 +0000 @@ -10,7 +10,7 @@ OBJS= bitstream.o utils.o mem.o allcodecs.o \ mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ - mpegaudio.o ac3enc.o mjpeg.o resample.o resample2.o dsputil.o \ + mjpeg.o resample.o resample2.o dsputil.o \ motion_est.o imgconvert.o imgresample.o \ mpeg12.o mpegaudiodec.o pcm.o simple_idct.o \ ratecontrol.o adpcm.o eval.o error_resilience.o \ @@ -26,6 +26,9 @@ ifeq ($(CONFIG_AASC_DECODER),yes) OBJS+= aasc.o endif +ifeq ($(CONFIG_AC3_ENCODER),yes) + OBJS+= ac3enc.o +endif ifeq ($(CONFIG_ALAC_DECODER),yes) OBJS+= alac.o endif @@ -119,6 +122,9 @@ ifneq ($(CONFIG_MACE3_DECODER)$(CONFIG_MACE6_DECODER),) OBJS+= mace.o endif +ifeq ($(CONFIG_MP2_ENCODER),yes) + OBJS+= mpegaudio.o +endif ifeq ($(CONFIG_MSRLE_DECODER),yes) OBJS+= msrle.o endif