sbin_PROGRAMS = tincd tinc sptps_test
+if LINUX
+sbin_PROGRAMS += sptps_speed
+endif
+
DEFAULT_INCLUDES =
tincd_SOURCES = \
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
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
endif
tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
+sptps_speed_LDADD = -lrt
-LIBS = @LIBS@ @LIBGCRYPT_LIBS@
+LIBS = @LIBS@
if TUNEMU
LIBS += -lpcap