aboutsummaryrefslogtreecommitdiff
path: root/src/trunnel/include.am
blob: b1448b7cb2738976df9a6c8adbf66e5986d9df74 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
noinst_LIBRARIES += \
	src/trunnel/libor-trunnel.a

if UNITTESTS_ENABLED
noinst_LIBRARIES += \
	src/trunnel/libor-trunnel-testing.a
endif

AM_CPPFLAGS += -I$(srcdir)/src/ext/trunnel -I$(srcdir)/src/trunnel

TRUNNELINPUTS = \
	src/trunnel/ed25519_cert.trunnel \
	src/trunnel/link_handshake.trunnel \
	src/trunnel/pwbox.trunnel

TRUNNELSOURCES = \
	src/ext/trunnel/trunnel.c \
	src/trunnel/ed25519_cert.c \
	src/trunnel/link_handshake.c \
	src/trunnel/pwbox.c

TRUNNELHEADERS = \
	src/ext/trunnel/trunnel.h		\
	src/ext/trunnel/trunnel-impl.h		\
	src/trunnel/trunnel-local.h 		\
	src/trunnel/ed25519_cert.h		\
	src/trunnel/link_handshake.h	 	\
	src/trunnel/pwbox.h

src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
src_trunnel_libor_trunnel_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)

src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)

noinst_HEADERS+= $(TRUNNELHEADERS)

EXTRA_DIST += \
	src/trunnel/README