diff Makefile @ 10408:8fd8f6c1cdcc libavcodec

Add support for hardcoded ff_sin_* tables.
author reimar
date Thu, 15 Oct 2009 18:04:55 +0000
parents 866dffa620d1
children 3c13cad19e29
line wrap: on
line diff
--- a/Makefile	Thu Oct 15 17:55:51 2009 +0000
+++ b/Makefile	Thu Oct 15 18:04:55 2009 +0000
@@ -31,7 +31,8 @@
 OBJS-$(CONFIG_FFT)                     += fft.o $(FFT-OBJS-yes)
 OBJS-$(CONFIG_GOLOMB)                  += golomb.o
 OBJS-$(CONFIG_MDCT)                    += mdct.o
-OBJS-$(CONFIG_RDFT)                    += rdft.o
+RDFT-OBJS-$(CONFIG_HARDCODED_TABLES)   += sin_tables.o
+OBJS-$(CONFIG_RDFT)                    += rdft.o $(RDFT-OBJS-yes)
 OBJS-$(CONFIG_VAAPI)                   += vaapi.o
 OBJS-$(CONFIG_VDPAU)                   += vdpau.o
 
@@ -583,3 +584,6 @@
 
 $(SUBDIR)cos_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
 	./$< > $@
+
+$(SUBDIR)sin_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
+	./$< sin > $@