diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-28 12:24:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-28 12:24:45 -0400 |
commit | bdea94a6653240e0e477eda186ceccbe6be00535 (patch) | |
tree | 64e57e8684f65fba4b0e953ef2a99d7fdb353a06 /src/lib/math/include.am | |
parent | 6178a9f758d60f5fc896644f1b9b0aaf4c32f2a5 (diff) | |
download | tor-bdea94a6653240e0e477eda186ceccbe6be00535.tar.gz tor-bdea94a6653240e0e477eda186ceccbe6be00535.zip |
Move floating-point math functions into a new lib/math
Diffstat (limited to 'src/lib/math/include.am')
-rw-r--r-- | src/lib/math/include.am | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/math/include.am b/src/lib/math/include.am new file mode 100644 index 0000000000..b088b3f3cc --- /dev/null +++ b/src/lib/math/include.am @@ -0,0 +1,20 @@ + +noinst_LIBRARIES += src/lib/libtor-math.a + +if UNITTESTS_ENABLED +noinst_LIBRARIES += src/lib/libtor-math-testing.a +endif + +src_lib_libtor_math_a_SOURCES = \ + src/lib/math/fp.c \ + src/lib/math/laplace.c + + +src_lib_libtor_math_testing_a_SOURCES = \ + $(src_lib_libtor_math_a_SOURCES) +src_lib_libtor_math_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS) +src_lib_libtor_math_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) + +noinst_HEADERS += \ + src/lib/math/fp.h \ + src/lib/math/laplace.h |