+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
+
+libmeshlink_la_LDFLAGS = -export-symbols-regex '^meshlink_'
+
+libmeshlink_la_SOURCES = \
+ meshlink.c meshlink.h \
+ buffer.c buffer.h \
+ cipher.h \
+ conf.c conf.h \
+ connection.c connection.h \
+ crypto.c crypto.h \
+ dropin.c dropin.h \
+ ecdh.h \
+ ecdsa.h \
+ ecdsagen.h \
+ edge.c edge.h \
+ event.c event.h \
+ fake-gai-errnos.h \
+ fake-getaddrinfo.c fake-getaddrinfo.h \
+ fake-getnameinfo.c fake-getnameinfo.h \
+ graph.c graph.h \
+ hash.c hash.h \
+ have.h \
+ list.c list.h \
+ logger.c logger.h \
+ meta.c meta.h \
+ net.c net.h \
+ net_packet.c \
+ net_setup.c \
+ net_socket.c \
+ netutl.c netutl.h \
+ node.c node.h \
+ prf.c prf.h \
+ protocol.c protocol.h \
+ protocol_auth.c \
+ protocol_edge.c \
+ protocol_key.c \
+ protocol_misc.c \
+ route.c route.h \
+ splay_tree.c splay_tree.h \
+ sptps.c sptps.h \
+ system.h \
+ utils.c utils.h \
+ xalloc.h \
+ $(ed25519_SOURCES) \
+ $(chacha_poly1305_SOURCES)
+
+libmeshlink_la_CFLAGS = -fPIC
+
+libmeshlink_la_LIBADD = -lpthread
+
+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@