1 ## Produce this file with automake to get Makefile.in
3 sbin_PROGRAMS = tincd tinc sptps_test sptps_keypair
5 CLEANFILES = version_git.h
10 version_git.h: version-stamp
12 @-(cd $(srcdir) && git describe 2>/dev/null >/dev/null) && echo '#define GIT_DESCRIPTION "'`(cd $(srcdir) && git describe) | sed 's/release-//'`'"' >$@ ||:
13 ${srcdir}/version.c: version_git.h
16 sbin_PROGRAMS += sptps_speed
20 ed25519/add_scalar.c \
22 ed25519/fe.c ed25519/fe.h \
24 ed25519/ge.c ed25519/ge.h \
25 ed25519/key_exchange.c \
27 ed25519/precomp_data.h \
28 ed25519/sc.c ed25519/sc.h \
29 ed25519/sha512.c ed25519/sha512.h \
33 chacha_poly1305_SOURCES = \
34 chacha-poly1305/chacha.c chacha-poly1305/chacha.h \
35 chacha-poly1305/chacha-poly1305.c chacha-poly1305/chacha-poly1305.h \
36 chacha-poly1305/poly1305.c chacha-poly1305/poly1305.h
42 connection.c connection.h \
74 protocol.c protocol.h \
85 splay_tree.c splay_tree.h \
97 $(chacha_poly1305_SOURCES)
103 invitation.c invitation.h \
109 subnet_parse.c subnet.h \
110 tincctl.c tincctl.h \
113 version.c version.h \
118 $(chacha_poly1305_SOURCES)
120 sptps_test_SOURCES = \
128 $(chacha_poly1305_SOURCES)
130 sptps_keypair_SOURCES = \
136 sptps_speed_SOURCES = \
145 $(chacha_poly1305_SOURCES)
147 ## Conditionally compile device drivers
156 sptps_test_SOURCES += \
159 sptps_keypair_SOURCES += \
165 tincd_SOURCES += linux/device.c
169 tincd_SOURCES += bsd/device.c
171 tincd_SOURCES += bsd/tunemu.c bsd/tunemu.h
176 tincd_SOURCES += solaris/device.c
180 tincd_SOURCES += mingw/device.c mingw/common.h
184 tincd_SOURCES += cygwin/device.c
188 tincd_SOURCES += uml_device.c
192 tincd_SOURCES += vde_device.c
199 openssl/digest.c openssl/digest.h \
205 openssl/digest.c openssl/digest.h \
209 sptps_test_SOURCES += \
211 openssl/digest.c openssl/digest.h \
213 sptps_keypair_SOURCES += \
215 sptps_speed_SOURCES += \
217 openssl/digest.c openssl/digest.h \
224 gcrypt/digest.c gcrypt/digest.h \
230 gcrypt/digest.c gcrypt/digest.h \
234 sptps_test_SOURCES += \
237 gcrypt/digest.c gcrypt/digest.h \
239 sptps_keypair_SOURCES += \
241 sptps_speed_SOURCES += \
243 openssl/digest.c openssl/digest.h \
252 sptps_test_SOURCES += \
255 sptps_keypair_SOURCES += \
257 sptps_speed_SOURCES += \
264 tincd_SOURCES += upnp.h upnp.c
265 tincd_LDADD = $(MINIUPNPC_LIBS)
266 tincd_LDFLAGS = -pthread
269 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
270 sptps_speed_LDADD = -lrt
278 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote.