lib_LTLIBRARIES = \
libavahi-core.la
+if ENABLE_TESTS
noinst_PROGRAMS = \
prioq-test \
avahi-test \
dns-test \
timeeventq-test \
hashmap-test \
- querier-test
+ querier-test \
+ update-test
+endif
libavahi_core_la_SOURCES = \
timeeventq.c timeeventq.h\
iface.c iface.h \
- server.c server.h \
+ server.c internal.h entry.c \
prioq.c prioq.h \
cache.c cache.h \
socket.c socket.h \
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
+else
+if HAVE_PF_ROUTE
+libavahi_core_la_SOURCES += \
+ iface-pfroute.c iface-pfroute.h
+endif
endif
libavahi_core_la_CFLAGS = $(AM_CFLAGS)
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