[FFmpeg-cvslog] r20405 - trunk/libavcodec/Makefile
mru
subversion
Wed Oct 28 20:49:16 CET 2009
Author: mru
Date: Wed Oct 28 20:49:16 2009
New Revision: 20405
Log:
Generate mpegaudio tables only when CONFIG_HARDCODED_TABLES is set
Having mpegaudiodec.o unconditionally depend on mpegaudio_tables.h
forces the latter to be generated even when it will not be used.
Modified:
trunk/libavcodec/Makefile
Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile Wed Oct 28 20:38:31 2009 (r20404)
+++ trunk/libavcodec/Makefile Wed Oct 28 20:49:16 2009 (r20405)
@@ -710,6 +710,9 @@ endif
$(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c
$(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS)
-$(SUBDIR)mpegaudiodec.o: $(SUBDIR)mpegaudio_tables.h
$(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF)
./$< > $@
+
+ifdef CONFIG_HARDCODED_TABLES
+$(SUBDIR)mpegaudiodec.o: $(SUBDIR)mpegaudio_tables.h
+endif
More information about the ffmpeg-cvslog
mailing list