1 ## Produce this file with automake to get Makefile.in
3 sbin_PROGRAMS = tincd tinc sptps_test sptps_keypair
8 version_git.h: version-stamp
10 @-(cd $(srcdir) && git describe 2>/dev/null >/dev/null) && echo '#define GIT_DESCRIPTION "'`(cd $(srcdir) && git describe) | sed 's/release-//'`'"' >$@ ||:
11 ${srcdir}/version.c: version_git.h
14 sbin_PROGRAMS += sptps_speed
18 ed25519/add_scalar.c \
20 ed25519/fe.c ed25519/fe.h \
22 ed25519/ge.c ed25519/ge.h \
23 ed25519/key_exchange.c \
25 ed25519/precomp_data.h \
26 ed25519/sc.c ed25519/sc.h \
27 ed25519/sha512.c ed25519/sha512.h \
31 chacha_poly1305_SOURCES = \
32 chacha-poly1305/chacha.c chacha-poly1305/chacha.h \
33 chacha-poly1305/chacha-poly1305.c chacha-poly1305/chacha-poly1305.h \
34 chacha-poly1305/poly1305.c chacha-poly1305/poly1305.h
40 connection.c connection.h \
72 protocol.c protocol.h \
83 splay_tree.c splay_tree.h \
95 $(chacha_poly1305_SOURCES)
101 invitation.c invitation.h \
107 subnet_parse.c subnet.h \
108 tincctl.c tincctl.h \
111 version.c version.h \
116 $(chacha_poly1305_SOURCES)
118 sptps_test_SOURCES = \
126 $(chacha_poly1305_SOURCES)
128 sptps_keypair_SOURCES = \
134 sptps_speed_SOURCES = \
143 $(chacha_poly1305_SOURCES)
145 ## Conditionally compile device drivers
154 sptps_test_SOURCES += \
157 sptps_keypair_SOURCES += \
163 tincd_SOURCES += linux/device.c
167 tincd_SOURCES += bsd/device.c
169 tincd_SOURCES += bsd/tunemu.c bsd/tunemu.h
174 tincd_SOURCES += solaris/device.c
178 tincd_SOURCES += mingw/device.c mingw/common.h
182 tincd_SOURCES += cygwin/device.c
186 tincd_SOURCES += uml_device.c
190 tincd_SOURCES += vde_device.c
197 openssl/digest.c openssl/digest.h \
203 openssl/digest.c openssl/digest.h \
207 sptps_test_SOURCES += \
209 openssl/digest.c openssl/digest.h \
211 sptps_keypair_SOURCES += \
213 sptps_speed_SOURCES += \
215 openssl/digest.c openssl/digest.h \
222 gcrypt/digest.c gcrypt/digest.h \
228 gcrypt/digest.c gcrypt/digest.h \
232 sptps_test_SOURCES += \
235 gcrypt/digest.c gcrypt/digest.h \
237 sptps_keypair_SOURCES += \
239 sptps_speed_SOURCES += \
241 openssl/digest.c openssl/digest.h \
250 sptps_test_SOURCES += \
253 sptps_keypair_SOURCES += \
255 sptps_speed_SOURCES += \
262 tincd_SOURCES += upnp.h upnp.c
263 tincd_LDADD = $(MINIUPNPC_LIBS)
264 tincd_LDFLAGS = -pthread
267 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
268 sptps_speed_LDADD = -lrt
276 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote.