diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-27 09:48:26 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-27 10:04:17 -0400 |
commit | bee580ddbaabcd8d6066761cce385c00d75dd2c5 (patch) | |
tree | 8d1f192dffd16cdec221e3b9994f44009c114158 /src/lib/sandbox/include.am | |
parent | d893be190fc244330543c9e98613a3f0daebc6ed (diff) | |
download | tor-bee580ddbaabcd8d6066761cce385c00d75dd2c5.tar.gz tor-bee580ddbaabcd8d6066761cce385c00d75dd2c5.zip |
Move sandbox code into a new library.
Diffstat (limited to 'src/lib/sandbox/include.am')
-rw-r--r-- | src/lib/sandbox/include.am | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/sandbox/include.am b/src/lib/sandbox/include.am new file mode 100644 index 0000000000..adfda6bde5 --- /dev/null +++ b/src/lib/sandbox/include.am @@ -0,0 +1,18 @@ + +noinst_LIBRARIES += src/lib/libtor-sandbox.a + +if UNITTESTS_ENABLED +noinst_LIBRARIES += src/lib/libtor-sandbox-testing.a +endif + +src_lib_libtor_sandbox_a_SOURCES = \ + src/lib/sandbox/sandbox.c + +src_lib_libtor_sandbox_testing_a_SOURCES = \ + $(src_lib_libtor_sandbox_a_SOURCES) +src_lib_libtor_sandbox_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS) +src_lib_libtor_sandbox_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) + +noinst_HEADERS += \ + src/lib/sandbox/linux_syscalls.inc \ + src/lib/sandbox/sandbox.h |