aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net/include.am
blob: 6bd829165eb78c0813661ae70becbbbc338da076 (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-net.a

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

src_lib_libtor_net_a_SOURCES =			\
	src/lib/net/address.c			\
	src/lib/net/ipv4.c			\
	src/lib/net/ipv6.c			\
	src/lib/net/resolve.c			\
	src/lib/net/socket.c

src_lib_libtor_net_testing_a_SOURCES = \
	$(src_lib_libtor_net_a_SOURCES)
src_lib_libtor_net_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
src_lib_libtor_net_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)

noinst_HEADERS +=				\
	src/lib/net/address.h			\
	src/lib/net/ipv4.h			\
	src/lib/net/ipv6.h			\
	src/lib/net/nettypes.h			\
	src/lib/net/resolve.h			\
	src/lib/net/socket.h