1 ## Produce this file with automake to get Makefile.in
3 sbin_PROGRAMS = tincd tinc sptps_test sptps_keypair
5 ## Make sure version.c is always rebuilt
10 sbin_PROGRAMS += sptps_speed
16 ed25519/add_scalar.c \
18 ed25519/fe.c ed25519/fe.h \
20 ed25519/ge.c ed25519/ge.h \
21 ed25519/key_exchange.c \
23 ed25519/precomp_data.h \
24 ed25519/sc.c ed25519/sc.h \
25 ed25519/sha512.c ed25519/sha512.h \
29 chacha_poly1305_SOURCES = \
30 chacha-poly1305/chacha.c chacha-poly1305/chacha.h \
31 chacha-poly1305/chacha-poly1305.c chacha-poly1305/chacha-poly1305.h \
32 chacha-poly1305/poly1305.c chacha-poly1305/poly1305.h
38 connection.c connection.h \
53 fake-getaddrinfo.c fake-getaddrinfo.h \
54 fake-getnameinfo.c fake-getnameinfo.h \
75 protocol.c protocol.h \
86 splay_tree.c splay_tree.h \
98 $(chacha_poly1305_SOURCES)
105 invitation.c invitation.h \
111 subnet_parse.c subnet.h \
112 tincctl.c tincctl.h \
115 version.c version.h \
120 $(chacha_poly1305_SOURCES)
122 sptps_test_SOURCES = \
130 $(chacha_poly1305_SOURCES)
132 sptps_keypair_SOURCES = \
138 sptps_speed_SOURCES = \
147 $(chacha_poly1305_SOURCES)
149 ## Conditionally compile device drivers
152 tincd_SOURCES += linux/device.c
156 tincd_SOURCES += bsd/device.c
158 tincd_SOURCES += bsd/tunemu.c bsd/tunemu.h
163 tincd_SOURCES += solaris/device.c
167 tincd_SOURCES += mingw/device.c mingw/common.h
171 tincd_SOURCES += cygwin/device.c
175 tincd_SOURCES += uml_device.c
179 tincd_SOURCES += vde_device.c
186 openssl/digest.c openssl/digest.h \
192 openssl/digest.c openssl/digest.h \
196 sptps_test_SOURCES += \
198 openssl/digest.c openssl/digest.h \
200 sptps_keypair_SOURCES += \
202 sptps_speed_SOURCES += \
204 openssl/digest.c openssl/digest.h \
211 gcrypt/digest.c gcrypt/digest.h \
217 gcrypt/digest.c gcrypt/digest.h \
221 sptps_test_SOURCES += \
224 gcrypt/digest.c gcrypt/digest.h \
226 sptps_keypair_SOURCES += \
228 sptps_speed_SOURCES += \
230 openssl/digest.c openssl/digest.h \
239 sptps_test_SOURCES += \
242 sptps_keypair_SOURCES += \
244 sptps_speed_SOURCES += \
250 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
251 sptps_speed_LDADD = -lrt
259 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"