diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 | ||||
-rw-r--r-- | src/ffts.c | 2 | ||||
-rw-r--r-- | src/ffts_internal.h | 5 |
3 files changed, 8 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index aa4c3c3..d309ceb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,7 +2,7 @@ lib_LTLIBRARIES = libffts.la -libffts_la_SOURCES = ffts.c ffts_small.c ffts_nd.c ffts_real.c ffts_real_nd.c patterns.c +libffts_la_SOURCES = ffts.c ffts_nd.c ffts_real.c ffts_real_nd.c ffts_transpose.c ffts_trig.c ffts_static.c libffts_la_SOURCES += codegen.h codegen_arm.h codegen_sse.h ffts.h ffts_nd.h ffts_real.h ffts_real_nd.h ffts_small.h ffts_static.h macros-alpha.h macros-altivec.h macros-neon.h macros-sse.h macros.h neon.h neon_float.h patterns.h types.h vfp.h if DYNAMIC_DISABLED @@ -14,6 +14,7 @@ endif libffts_includedir=$(includedir)/ffts libffts_include_HEADERS = ../include/ffts.h +AM_CFLAGS = -I$(top_srcdir)/include -DAUTOTOOLS_BUILD=yes if HAVE_VFP libffts_la_SOURCES += vfp.s @@ -28,7 +29,7 @@ endif else if HAVE_SSE -libffts_la_SOURCES += sse.s +libffts_la_SOURCES += macros-sse.h endif endif endif @@ -536,4 +536,4 @@ ffts_init_1d(size_t N, int sign) cleanup: ffts_free_1d(p); return NULL; -}
\ No newline at end of file +} diff --git a/src/ffts_internal.h b/src/ffts_internal.h index 6b88b35..72ce8af 100644 --- a/src/ffts_internal.h +++ b/src/ffts_internal.h @@ -34,7 +34,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef FFTS_INTERNAL_H #define FFTS_INTERNAL_H -//#include "config.h" +#ifdef AUTOTOOLS_BUILD +#include "config.h" +#endif + #include "ffts_attributes.h" #include "types.h" |