aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log/include.am
blob: 235c95fdf13a529ddbb4e0c6920bf0a85048af7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
noinst_LIBRARIES += src/lib/libtor-log.a

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

src_lib_libtor_log_a_SOURCES =			\
	src/lib/log/escape.c			\
	src/lib/log/ratelim.c			\
	src/lib/log/torlog.c			\
	src/lib/log/util_bug.c

src_lib_libtor_log_testing_a_SOURCES = \
	$(src_lib_libtor_log_a_SOURCES)
src_lib_libtor_log_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
src_lib_libtor_log_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)

src/lib/log/torlog.$(OBJEXT) \
  src/lib/log/src_lib_libtor_log_testing_a-torlog.$(OBJEXT): micro-revision.i

noinst_HEADERS +=					\
	src/lib/log/escape.h				\
	src/lib/log/ratelim.h				\
	src/lib/log/torlog.h				\
	src/lib/log/util_bug.h