X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2FMakefile.am;h=6c2ab9a9567cdbb1e342085acd79a0d08e822d75;hb=cedcf6bb311509310f8af4c22c928c2d1610d796;hp=2738008be028bd26b175c112203477d579a52ba9;hpb=5e50a56dd9ebef71683b60856f904d352a3b89dc;p=meshlink diff --git a/src/Makefile.am b/src/Makefile.am index 2738008b..6c2ab9a9 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 = \ @@ -55,6 +59,7 @@ tincd_SOURCES = \ 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 \ @@ -73,6 +78,7 @@ tinc_SOURCES = \ 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 \ @@ -85,6 +91,17 @@ 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 + +lib_LTLIBRARIES = libmeshlink.la + +libmeshlink_la_SOURCES = \ + libmeshlink.c libmeshlink.h + ## Conditionally compile device drivers if LINUX @@ -144,6 +161,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 @@ -175,8 +200,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