X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2FMakefile.am;h=6340a1a2a22b8da0054a195305042f951b70ed03;hb=185a8731839551fc9df7059ac374be5f5e35c086;hp=89ca0e8e9ff0fa4bc5fb92d83be11fb06d782b68;hpb=2aa7b5a999b17d808c7f32e4d6a19e4beb7e0918;p=meshlink diff --git a/src/Makefile.am b/src/Makefile.am index 89ca0e8e..6340a1a2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,11 +1,5 @@ ## Produce this file with automake to get Makefile.in -sbin_PROGRAMS = sptps_test sptps_keypair - -if LINUX -sbin_PROGRAMS += sptps_speed -endif - DEFAULT_INCLUDES = ed25519_SOURCES = \ @@ -31,32 +25,6 @@ chacha_poly1305_SOURCES = \ utcp_SOURCES = \ utcp/utcp.c utcp/utcp.h -sptps_test_SOURCES = \ - crypto.c crypto.h \ - logger.c logger.h \ - prf.c prf.h \ - sptps.c sptps.h \ - sptps_test.c \ - utils.c utils.h \ - $(ed25519_SOURCES) \ - $(chacha_poly1305_SOURCES) - -sptps_keypair_SOURCES = \ - crypto.c crypto.h \ - sptps_keypair.c \ - utils.c utils.h \ - $(ed25519_SOURCES) - -sptps_speed_SOURCES = \ - crypto.c crypto.h \ - logger.c logger.h \ - prf.c prf.h \ - sptps.c sptps.h \ - sptps_speed.c \ - utils.c utils.h \ - $(ed25519_SOURCES) \ - $(chacha_poly1305_SOURCES) - lib_LTLIBRARIES = libmeshlink.la pkginclude_HEADERS = meshlink++.h meshlink.h @@ -111,24 +79,13 @@ libmeshlink_la_SOURCES = \ libmeshlink_la_CFLAGS = -fPIC -I../catta/include/ -libmeshlink_la_LIBADD = -lpthread ../catta/src/.libs/libcatta.a +if MINGW +libmeshlink_la_CFLAGS += -I../catta/src/compat/windows/include/ +endif + +libmeshlink_la_LIBADD = -lpthread ../catta/src/libcatta.la libmeshlink_la_SOURCES += \ ed25519/ecdh.c \ ed25519/ecdsa.c \ ed25519/ecdsagen.c -sptps_test_SOURCES += \ - ed25519/ecdh.c \ - ed25519/ecdsa.c -sptps_keypair_SOURCES += \ - ed25519/ecdsagen.c -sptps_speed_SOURCES += \ - ed25519/ecdh.c \ - ed25519/ecdsa.c \ - ed25519/ecdsagen.c - -sptps_speed_LDADD = -lrt - -LIBS = @LIBS@ - -AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"