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)
106 invitation.c invitation.h \
112 subnet_parse.c subnet.h \
113 tincctl.c tincctl.h \
116 version.c version.h \
121 $(chacha_poly1305_SOURCES)
123 sptps_test_SOURCES = \
131 $(chacha_poly1305_SOURCES)
133 sptps_keypair_SOURCES = \
139 sptps_speed_SOURCES = \
148 $(chacha_poly1305_SOURCES)
150 ## Conditionally compile device drivers
153 tincd_SOURCES += linux/device.c
157 tincd_SOURCES += bsd/device.c
159 tincd_SOURCES += bsd/tunemu.c bsd/tunemu.h
164 tincd_SOURCES += solaris/device.c
168 tincd_SOURCES += mingw/device.c mingw/common.h
172 tincd_SOURCES += cygwin/device.c
176 tincd_SOURCES += uml_device.c
180 tincd_SOURCES += vde_device.c
187 openssl/digest.c openssl/digest.h \
193 openssl/digest.c openssl/digest.h \
197 sptps_test_SOURCES += \
199 openssl/digest.c openssl/digest.h \
201 sptps_keypair_SOURCES += \
203 sptps_speed_SOURCES += \
205 openssl/digest.c openssl/digest.h \
212 gcrypt/digest.c gcrypt/digest.h \
218 gcrypt/digest.c gcrypt/digest.h \
222 sptps_test_SOURCES += \
225 gcrypt/digest.c gcrypt/digest.h \
227 sptps_keypair_SOURCES += \
229 sptps_speed_SOURCES += \
231 openssl/digest.c openssl/digest.h \
240 sptps_test_SOURCES += \
243 sptps_keypair_SOURCES += \
245 sptps_speed_SOURCES += \
251 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
252 sptps_speed_LDADD = -lrt
260 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"