Merge branch 'maint-0.4.5' into release-0.4.5
[tor.git] / src / trunnel / include.am
blob6c3a5ff06b92569e355a8ab65f36b190a5192171
1 noinst_LIBRARIES += \
2         src/trunnel/libor-trunnel.a
4 if UNITTESTS_ENABLED
5 noinst_LIBRARIES += \
6         src/trunnel/libor-trunnel-testing.a
7 endif
9 TRUNNELINPUTS = \
10         src/trunnel/ed25519_cert.trunnel \
11         src/trunnel/link_handshake.trunnel \
12         src/trunnel/pwbox.trunnel \
13         src/trunnel/channelpadding_negotiation.trunnel \
14         src/trunnel/sendme_cell.trunnel \
15         src/trunnel/socks5.trunnel \
16         src/trunnel/circpad_negotiation.trunnel
18 TRUNNELSOURCES = \
19         src/ext/trunnel/trunnel.c \
20         src/trunnel/ed25519_cert.c \
21         src/trunnel/link_handshake.c \
22         src/trunnel/pwbox.c                     \
23         src/trunnel/hs/cell_common.c            \
24         src/trunnel/hs/cell_establish_intro.c   \
25         src/trunnel/hs/cell_introduce1.c \
26         src/trunnel/hs/cell_rendezvous.c \
27         src/trunnel/channelpadding_negotiation.c \
28         src/trunnel/sendme_cell.c                    \
29         src/trunnel/socks5.c \
30         src/trunnel/netinfo.c \
31         src/trunnel/circpad_negotiation.c
33 TRUNNELHEADERS = \
34         src/ext/trunnel/trunnel.h               \
35         src/ext/trunnel/trunnel-impl.h          \
36         src/trunnel/trunnel-local.h             \
37         src/trunnel/ed25519_cert.h              \
38         src/trunnel/link_handshake.h            \
39         src/trunnel/pwbox.h                     \
40         src/trunnel/hs/cell_common.h            \
41         src/trunnel/hs/cell_establish_intro.h   \
42         src/trunnel/hs/cell_introduce1.h \
43         src/trunnel/hs/cell_rendezvous.h \
44         src/trunnel/channelpadding_negotiation.h \
45         src/trunnel/sendme_cell.h                    \
46         src/trunnel/socks5.h                    \
47         src/trunnel/netinfo.h \
48         src/trunnel/circpad_negotiation.h
50 src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
51 src_trunnel_libor_trunnel_a_CPPFLAGS = \
52         -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) -I$(top_srcdir)/src/trunnel
54 if UNITTESTS_ENABLED
55 src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
56 else
57 src_trunnel_libor_trunnel_testing_a_SOURCES =
58 endif
60 src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
61 src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
63 noinst_HEADERS+= $(TRUNNELHEADERS)
65 EXTRA_DIST += \
66         src/trunnel/README