diff Makefile @ 11523:3367dd5913a0 libavcodec

Add support for hard-coding the 256kB large dv_vlc_map table.
author reimar
date Sun, 21 Mar 2010 16:03:45 +0000
parents 8ae93fdefcd7
children d35c3095f96b
line wrap: on
line diff
--- a/Makefile	Sun Mar 21 14:46:32 2010 +0000
+++ b/Makefile	Sun Mar 21 16:03:45 2010 +0000
@@ -626,6 +626,12 @@
 $(SUBDIR)mpegaudio_tablegen.ho: CPPFLAGS += -DFRAC_BITS=15
 endif
 
+ifdef CONFIG_SMALL
+$(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=1
+else
+$(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=0
+endif
+
 $(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c
 	$(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS)
 
@@ -634,6 +640,7 @@
 
 ifdef CONFIG_HARDCODED_TABLES
 $(SUBDIR)aac.o: $(SUBDIR)cbrt_tables.h
+$(SUBDIR)dv.o: $(SUBDIR)dv_tables.h
 $(SUBDIR)mdct.o: $(SUBDIR)mdct_tables.h
 $(SUBDIR)mpegaudiodec.o: $(SUBDIR)mpegaudio_tables.h
 $(SUBDIR)motionpixels.o: $(SUBDIR)motionpixels_tables.h