include.am 712 Bytes
Newer Older
1
2
3
4
5
6
7
8

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 =			\
9
	src/lib/log/escape.c			\
10
	src/lib/log/ratelim.c			\
Nick Mathewson's avatar
Nick Mathewson committed
11
12
	src/lib/log/torlog.c			\
	src/lib/log/util_bug.c
13
14
15
16
17
18

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)

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

22
noinst_HEADERS +=					\
23
	src/lib/log/escape.h				\
24
	src/lib/log/ratelim.h				\
Nick Mathewson's avatar
Nick Mathewson committed
25
26
	src/lib/log/torlog.h				\
	src/lib/log/util_bug.h