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 \
55 fake-getaddrinfo.c fake-getaddrinfo.h \
56 fake-getnameinfo.c fake-getnameinfo.h \
75 protocol.c protocol.h \
86 splay_tree.c splay_tree.h \
98 $(chacha_poly1305_SOURCES)
104 invitation.c invitation.h \
110 subnet_parse.c subnet.h \
111 tincctl.c tincctl.h \
114 version.c version.h \
119 $(chacha_poly1305_SOURCES)
121 sptps_test_SOURCES = \
129 $(chacha_poly1305_SOURCES)
131 sptps_keypair_SOURCES = \
137 sptps_speed_SOURCES = \
146 $(chacha_poly1305_SOURCES)
148 ## Conditionally compile device drivers
157 sptps_test_SOURCES += \
160 sptps_keypair_SOURCES += \
166 tincd_SOURCES += linux/device.c
170 tincd_SOURCES += bsd/device.c
172 tincd_SOURCES += bsd/tunemu.c bsd/tunemu.h
177 tincd_SOURCES += solaris/device.c
181 tincd_SOURCES += mingw/device.c mingw/common.h
185 tincd_SOURCES += cygwin/device.c
189 tincd_SOURCES += uml_device.c
193 tincd_SOURCES += vde_device.c
200 openssl/digest.c openssl/digest.h \
206 openssl/digest.c openssl/digest.h \
210 sptps_test_SOURCES += \
212 openssl/digest.c openssl/digest.h \
214 sptps_keypair_SOURCES += \
216 sptps_speed_SOURCES += \
218 openssl/digest.c openssl/digest.h \
225 gcrypt/digest.c gcrypt/digest.h \
231 gcrypt/digest.c gcrypt/digest.h \
235 sptps_test_SOURCES += \
238 gcrypt/digest.c gcrypt/digest.h \
240 sptps_keypair_SOURCES += \
242 sptps_speed_SOURCES += \
244 openssl/digest.c openssl/digest.h \
253 sptps_test_SOURCES += \
256 sptps_keypair_SOURCES += \
258 sptps_speed_SOURCES += \
265 tincd_SOURCES += upnp.h upnp.c
266 tincd_LDADD = $(MINIUPNPC_LIBS)
267 tincd_LDFLAGS = -pthread
270 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
271 sptps_speed_LDADD = -lrt
279 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote.