chacha-poly1305/chacha-poly1305.c chacha-poly1305/chacha-poly1305.h \
chacha-poly1305/poly1305.c chacha-poly1305/poly1305.h
+utcp_SOURCES = \
+ utcp/utcp.c utcp/utcp.h
+
sptps_test_SOURCES = \
crypto.c crypto.h \
logger.c logger.h \
lib_LTLIBRARIES = libmeshlink.la
+pkginclude_HEADERS = meshlink++.h meshlink.h
+
+libmeshlink_la_LDFLAGS = -export-symbols-regex '^(meshlink_|devtool_)'
+
libmeshlink_la_SOURCES = \
meshlink.c meshlink.h \
buffer.c buffer.h \
conf.c conf.h \
connection.c connection.h \
crypto.c crypto.h \
+ discovery.c discovery.h \
dropin.c dropin.h \
ecdh.h \
ecdsa.h \
system.h \
utils.c utils.h \
xalloc.h \
+ devtools.c devtools.h \
$(ed25519_SOURCES) \
- $(chacha_poly1305_SOURCES)
+ $(chacha_poly1305_SOURCES) \
+ $(utcp_SOURCES)
+
+libmeshlink_la_CFLAGS = -fPIC -I../catta/include/
-libmeshlink_la_CFLAGS = -fPIC
+if MINGW
+libmeshlink_la_CFLAGS += -I../catta/src/compat/windows/include/
+endif
-libmeshlink_la_LIBADD = -lpthread
+libmeshlink_la_LIBADD = -lpthread ../catta/src/libcatta.la
libmeshlink_la_SOURCES += \
ed25519/ecdh.c \