]> git.meshlink.io Git - catta/blobdiff - avahi-core/Makefile.am
* Some minor cleanups in netlink code
[catta] / avahi-core / Makefile.am
index e525c1caf4714f2320da6ba6cc9a76fc3835f820..14b161a8309f09df7bd340a4a8b9e3e83337e2cf 100644 (file)
@@ -44,19 +44,12 @@ noinst_PROGRAMS = \
        hashmap-test \
        querier-test
 
-if HAVE_NETLINK
-NETLINK = \
-       iface-linux.c iface-linux.h \
-       netlink.c netlink.h
-endif
-
 libavahi_core_la_SOURCES = \
        timeeventq.c timeeventq.h\
        iface.c iface.h \
-       $(NETLINK) \
        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 \
@@ -81,7 +74,12 @@ libavahi_core_la_SOURCES = \
        wide-area.c wide-area.h \
        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