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 \
210 gcrypt/digest.c gcrypt/digest.h \
216 gcrypt/digest.c gcrypt/digest.h \
220 sptps_test_SOURCES += \
223 gcrypt/digest.c gcrypt/digest.h \
225 sptps_keypair_SOURCES += \
227 sptps_speed_SOURCES += \
229 openssl/digest.c openssl/digest.h \
238 sptps_test_SOURCES += \
241 sptps_keypair_SOURCES += \
243 sptps_speed_SOURCES += \
248 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
249 sptps_speed_LDADD = -lrt
257 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"