X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2FMakefile.am;h=64c845d60e278a305e3aa8bdb84d3bcf4472b8e5;hb=53b00f8c1abda0d477c75e4d70a7341301fa1733;hp=96643524d7d80d891240e22ae07de1d2283f4249;hpb=57991e264202ad83e2c1b663777b358bf5573652;p=meshlink diff --git a/src/Makefile.am b/src/Makefile.am index 96643524..64c845d6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,10 @@ sbin_PROGRAMS = tincd tinc sptps_test +if LINUX +sbin_PROGRAMS += sptps_speed +endif + DEFAULT_INCLUDES = tincd_SOURCES = \ @@ -87,6 +91,12 @@ sptps_test_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 @@ -146,6 +156,14 @@ sptps_test_SOURCES += \ 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 @@ -177,8 +195,9 @@ sptps_test_SOURCES += \ endif tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS) +sptps_speed_LDADD = -lrt -LIBS = @LIBS@ @LIBGCRYPT_LIBS@ +LIBS = @LIBS@ if TUNEMU LIBS += -lpcap