
noinst_LIBRARIES += src/lib/libtor-dispatch.a

if UNITTESTS_ENABLED
noinst_LIBRARIES += src/lib/libtor-dispatch-testing.a
endif

# ADD_C_FILE: INSERT SOURCES HERE.
src_lib_libtor_dispatch_a_SOURCES =			\
	src/lib/dispatch/dispatch_cfg.c			\
	src/lib/dispatch/dispatch_core.c		\
	src/lib/dispatch/dispatch_naming.c		\
	src/lib/dispatch/dispatch_new.c

src_lib_libtor_dispatch_testing_a_SOURCES = \
	$(src_lib_libtor_dispatch_a_SOURCES)
src_lib_libtor_dispatch_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
src_lib_libtor_dispatch_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)

# ADD_C_FILE: INSERT HEADERS HERE.
noinst_HEADERS +=					\
	src/lib/dispatch/dispatch.h			\
	src/lib/dispatch/dispatch_cfg.h			\
	src/lib/dispatch/dispatch_cfg_st.h		\
	src/lib/dispatch/dispatch_naming.h		\
	src/lib/dispatch/dispatch_st.h			\
	src/lib/dispatch/msgtypes.h
