sbin_PROGRAMS = tincd tinc sptps_test
-EXTRA_DIST = linux bsd solaris cygwin mingw openssl gcrypt
+if LINUX
+sbin_PROGRAMS += sptps_speed
+endif
DEFAULT_INCLUDES =
route.c route.h \
rsa.h \
rsagen.h \
+ script.c script.h \
splay_tree.c splay_tree.h \
sptps.c sptps.h \
subnet.c subnet.h \
list.c list.h \
names.c names.h \
netutl.c netutl.h \
+ script.c script.h \
sptps.c sptps.h \
subnet_parse.c subnet.h \
tincctl.c tincctl.h \
sptps_test.c \
utils.c utils.h
+sptps_speed_SOURCES = \
+ logger.c logger.h \
+ sptps.c sptps.h \
+ sptps_speed.c \
+ utils.c utils.h
+
## Conditionally compile device drivers
if LINUX
if BSD
tincd_SOURCES += bsd/device.c
if TUNEMU
-tincd_SOURCES += bsd/tunemu.c
+tincd_SOURCES += bsd/tunemu.c bsd/tunemu.h
endif
endif
endif
if MINGW
-tincd_SOURCES += mingw/device.c
+tincd_SOURCES += mingw/device.c mingw/common.h
endif
if CYGWIN
tincd_SOURCES += \
openssl/cipher.c \
openssl/crypto.c \
- openssl/digest.c \
+ openssl/digest.c openssl/digest.h \
openssl/ecdh.c \
openssl/ecdsa.c \
openssl/prf.c \
tinc_SOURCES += \
openssl/cipher.c \
openssl/crypto.c \
- openssl/digest.c \
+ openssl/digest.c openssl/digest.h \
openssl/ecdh.c \
openssl/ecdsa.c \
openssl/ecdsagen.c \
sptps_test_SOURCES += \
openssl/cipher.c \
openssl/crypto.c \
- openssl/digest.c \
+ openssl/digest.c openssl/digest.h \
openssl/ecdh.c \
openssl/ecdsa.c \
openssl/prf.c
+sptps_speed_SOURCES += \
+ openssl/cipher.c \
+ openssl/crypto.c \
+ openssl/digest.c openssl/digest.h \
+ openssl/ecdh.c \
+ openssl/ecdsa.c \
+ openssl/ecdsagen.c \
+ openssl/prf.c
endif
if GCRYPT
tincd_SOURCES += \
gcrypt/cipher.c \
gcrypt/crypto.c \
- gcrypt/digest.c \
+ gcrypt/digest.c gcrypt/digest.h \
gcrypt/ecdh.c \
gcrypt/ecdsa.c \
gcrypt/prf.c \
tinc_SOURCES += \
gcrypt/cipher.c \
gcrypt/crypto.c \
- gcrypt/digest.c \
+ gcrypt/digest.c gcrypt/digest.h \
gcrypt/ecdh.c \
gcrypt/ecdsa.c \
gcrypt/ecdsagen.c \
sptps_test_SOURCES += \
gcrypt/cipher.c \
gcrypt/crypto.c \
- gcrypt/digest.c \
+ gcrypt/digest.c gcrypt/digest.h \
gcrypt/ecdh.c \
gcrypt/ecdsa.c \
gcrypt/prf.c
endif
AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"
-
-dist-hook:
- rm -f `find . -type l`