diff options
author | Anthony Blake <anthonix@me.com> | 2012-12-03 14:45:20 +1300 |
---|---|---|
committer | Anthony Blake <anthonix@me.com> | 2012-12-03 14:45:20 +1300 |
commit | ec477d4f3e4f23a2221cbf0614f3fec26de3d9f2 (patch) | |
tree | 5cafd0e455d1fec11a6ca674377a91ae328cf4b8 /src/Makefile.am | |
parent | d1cbc1f7e86fc6d93922b4daa825b8f1b2696679 (diff) | |
download | ffts-ec477d4f3e4f23a2221cbf0614f3fec26de3d9f2.zip ffts-ec477d4f3e4f23a2221cbf0614f3fec26de3d9f2.tar.gz |
Added static mode
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d550b08..5f6db47 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,13 +2,25 @@ lib_LTLIBRARIES = libffts.la -libffts_la_SOURCES = ffts.c ffts_nd.c ffts_real.c ffts_real_nd.c patterns.c codegen.c +libffts_la_SOURCES = ffts.c ffts_nd.c ffts_real.c ffts_real_nd.c patterns.c + +if DYNAMIC_DISABLED +libffts_la_SOURCES += ffts_static.c +else +libffts_la_SOURCES += codegen.c +endif libffts_includedir=$(includedir)/ffts libffts_include_HEADERS = ../include/ffts.h if HAVE_NEON -libffts_la_SOURCES += neon.s + +if DYNAMIC_DISABLED +libffts_la_SOURCES += neon_static_f.s neon_static_i.s +else +libffts_la_SOURCES += neon.s +endif + else if HAVE_SSE libffts_la_SOURCES += sse.s |