Do not page-align mmap length. #25399
[tor.git] / src / trunnel / include.am
blobca79ff3a39a7eeef56fc8d9c8d4399e3d190430e
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 AM_CPPFLAGS += -I$(srcdir)/src/ext/trunnel -I$(srcdir)/src/trunnel
11 TRUNNELINPUTS = \
12         src/trunnel/ed25519_cert.trunnel \
13         src/trunnel/link_handshake.trunnel \
14         src/trunnel/pwbox.trunnel \
15         src/trunnel/channelpadding_negotiation.trunnel
17 TRUNNELSOURCES = \
18         src/ext/trunnel/trunnel.c \
19         src/trunnel/ed25519_cert.c \
20         src/trunnel/link_handshake.c \
21         src/trunnel/pwbox.c                     \
22         src/trunnel/hs/cell_common.c            \
23         src/trunnel/hs/cell_establish_intro.c   \
24         src/trunnel/hs/cell_introduce1.c \
25         src/trunnel/hs/cell_rendezvous.c \
26         src/trunnel/channelpadding_negotiation.c
28 TRUNNELHEADERS = \
29         src/ext/trunnel/trunnel.h               \
30         src/ext/trunnel/trunnel-impl.h          \
31         src/trunnel/trunnel-local.h             \
32         src/trunnel/ed25519_cert.h              \
33         src/trunnel/link_handshake.h            \
34         src/trunnel/pwbox.h                     \
35         src/trunnel/hs/cell_common.h            \
36         src/trunnel/hs/cell_establish_intro.h   \
37         src/trunnel/hs/cell_introduce1.h \
38         src/trunnel/hs/cell_rendezvous.h \
39         src/trunnel/channelpadding_negotiation.h
41 src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
42 src_trunnel_libor_trunnel_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)
44 src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
45 src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
46 src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
48 noinst_HEADERS+= $(TRUNNELHEADERS)
50 EXTRA_DIST += \
51         src/trunnel/README