]> git.meshlink.io Git - catta/blobdiff - avahi-core/Makefile.am
* implement record updating through the new flags AVAHI_PUBLISH_UPDATE
[catta] / avahi-core / Makefile.am
index 643c2a396258eadb3944439093f4f6e40a75f52e..b62a4d54c763403c6006773a9d1baa82dc1923ce 100644 (file)
@@ -42,16 +42,15 @@ noinst_PROGRAMS = \
        dns-test \
        timeeventq-test \
        hashmap-test \
-       querier-test
+       querier-test \
+       update-test
 
 libavahi_core_la_SOURCES = \
        timeeventq.c timeeventq.h\
        iface.c iface.h \
-       iface-linux.c iface-linux.h \
-       netlink.c netlink.h \
        server.c server.h \
        prioq.c prioq.h \
-       cache.c cache.h\
+       cache.c cache.h \
        socket.c socket.h \
        response-sched.c response-sched.h \
        query-sched.c query-sched.h \
@@ -77,6 +76,12 @@ libavahi_core_la_SOURCES = \
        multicast-lookup.c multicast-lookup.h \
        querier.c querier.h
 
+if HAVE_NETLINK
+libavahi_core_la_SOURCES += \
+       iface-linux.c iface-linux.h \
+       netlink.c netlink.h
+endif
+
 libavahi_core_la_CFLAGS = $(AM_CFLAGS)
 libavahi_core_la_LIBADD = $(AM_LDADD) ../avahi-common/libavahi-common.la
 libavahi_core_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_CORE_VERSION_INFO)
@@ -92,6 +97,10 @@ avahi_test_SOURCES = \
 avahi_test_CFLAGS = $(AM_CFLAGS)
 avahi_test_LDADD = $(AM_LDADD) ../avahi-common/libavahi-common.la libavahi-core.la
 
+update_test_SOURCES = \
+       update-test.c
+update_test_CFLAGS = $(AM_CFLAGS)
+update_test_LDADD = $(AM_LDADD) ../avahi-common/libavahi-common.la libavahi-core.la
 
 querier_test_SOURCES = \
        querier-test.c