mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-18 05:11:09 +00:00
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. Originally committed as revision 20405 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
52a4a07778
commit
df4fe41df4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user