]> git.meshlink.io Git - meshlink/blobdiff - src/Makefile.am
Merge remote-tracking branch 'origin/everbase' into discovery
[meshlink] / src / Makefile.am
index 021d6b8ef537f2b016ceed061c44169c038022eb..8b72c5b522c7e96fcf7f9d6513fb7aa63dfb47a9 100644 (file)
@@ -56,6 +56,8 @@ sptps_speed_SOURCES = \
 
 lib_LTLIBRARIES = libmeshlink.la
 
+libmeshlink_la_LDFLAGS = -export-symbols-regex '^meshlink_'
+
 libmeshlink_la_SOURCES = \
        meshlink.c meshlink.h \
        buffer.c buffer.h \
@@ -63,6 +65,7 @@ libmeshlink_la_SOURCES = \
        conf.c conf.h \
        connection.c connection.h \
        crypto.c crypto.h \
+       discovery.c discovery.h \
        dropin.c dropin.h \
        ecdh.h \
        ecdsa.h \
@@ -94,7 +97,6 @@ libmeshlink_la_SOURCES = \
        splay_tree.c splay_tree.h \
        sptps.c sptps.h \
        system.h \
-       tincd.c \
        utils.c utils.h \
        xalloc.h \
        $(ed25519_SOURCES) \
@@ -102,7 +104,7 @@ libmeshlink_la_SOURCES = \
 
 libmeshlink_la_CFLAGS = -fPIC
 
-libmeshlink_la_LIBADD = -lpthread
+libmeshlink_la_LIBADD = -lpthread -lavahi-core -lavahi-common -lavahi-client
 
 libmeshlink_la_SOURCES += \
        ed25519/ecdh.c \