summaryrefslogtreecommitdiff
path: root/src/lib/pubsub/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-01-15 09:01:20 -0500
committerNick Mathewson <nickm@torproject.org>2019-03-25 16:35:33 -0400
commit9e60482b8073f2d43187c36c9159fd4367d7140a (patch)
treee73931e80e7f67442f2f865b630d98a338b1b3cb /src/lib/pubsub/include.am
parent24b945f713a713bba0ec4f0d8297b49cbc45c5a1 (diff)
downloadtor-9e60482b8073f2d43187c36c9159fd4367d7140a.tar.gz
tor-9e60482b8073f2d43187c36c9159fd4367d7140a.zip
Pubsub: an OO layer on top of lib/dispatch
This "publish/subscribe" layer sits on top of lib/dispatch, and tries to provide more type-safety and cross-checking for the lower-level layer. Even with this commit, we're still not done: more checking will come in the next commit, and a set of usability/typesafety macros will come after.
Diffstat (limited to 'src/lib/pubsub/include.am')
-rw-r--r--src/lib/pubsub/include.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/pubsub/include.am b/src/lib/pubsub/include.am
new file mode 100644
index 0000000000..9856c94a5d
--- /dev/null
+++ b/src/lib/pubsub/include.am
@@ -0,0 +1,24 @@
+
+noinst_LIBRARIES += src/lib/libtor-pubsub.a
+
+if UNITTESTS_ENABLED
+noinst_LIBRARIES += src/lib/libtor-pubsub-testing.a
+endif
+
+src_lib_libtor_pubsub_a_SOURCES = \
+ src/lib/pubsub/pubsub_build.c \
+ src/lib/pubsub/pubsub_publish.c
+
+src_lib_libtor_pubsub_testing_a_SOURCES = \
+ $(src_lib_libtor_pubsub_a_SOURCES)
+src_lib_libtor_pubsub_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
+src_lib_libtor_pubsub_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
+
+noinst_HEADERS += \
+ src/lib/pubsub/pub_binding_st.h \
+ src/lib/pubsub/pubsub.h \
+ src/lib/pubsub/pubsub_build.h \
+ src/lib/pubsub/pubsub_builder_st.h \
+ src/lib/pubsub/pubsub_connect.h \
+ src/lib/pubsub/pubsub_flags.h \
+ src/lib/pubsub/pubsub_publish.h