From 2cfcb7b364541c27749ae0df73eabd7a56797f93 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 21 Jun 2018 09:53:08 -0400 Subject: Extract error functionality into a new lowest-level library. --- src/lib/err/include.am | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/lib/err/include.am (limited to 'src/lib/err/include.am') diff --git a/src/lib/err/include.am b/src/lib/err/include.am new file mode 100644 index 0000000000..257ba3004b --- /dev/null +++ b/src/lib/err/include.am @@ -0,0 +1,17 @@ + +noinst_LIBRARIES += src/lib/libtor-err.a + +if UNITTESTS_ENABLED +noinst_LIBRARIES += src/lib/libtor-err-testing.a +endif + +src_lib_libtor_err_a_SOURCES = \ + src/lib/err/backtrace.c \ + src/lib/err/torerr.c + +src_lib_libtor_err_testing_a_SOURCES = \ + $(src_lib_libtor_err_a_SOURCES) + +noinst_HEADERS += \ + src/lib/err/backtrace.h \ + src/lib/err/torerr.h -- cgit v1.2.3-54-g00ecf