include.am 812 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
	src/lib/log/torlog.c			\
12
13
14
15
16
	src/lib/log/util_bug.c

if WIN32
src_lib_libtor_log_a_SOURCES += src/lib/log/win32err.c
endif
17
18
19
20
21
22

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)

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

26
noinst_HEADERS +=					\
27
	src/lib/log/escape.h				\
28
	src/lib/log/ratelim.h				\
Nick Mathewson's avatar
Nick Mathewson committed
29
	src/lib/log/torlog.h				\
30
31
	src/lib/log/util_bug.h				\
	src/lib/log/win32err.h