# $Id$
#
# This file is part of avahi.
-#
+#
# avahi is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2 of the
lookup.h
lib_LTLIBRARIES = \
- libavahi-core.la
+ libavahi-core.la
if ENABLE_TESTS
noinst_PROGRAMS = \
conformance-test \
avahi-reflector \
dns-test \
+ dns-spin-test \
timeeventq-test \
hashmap-test \
querier-test \
update-test
-endif
+
+TESTS = \
+ dns-spin-test \
+ dns-test \
+ hashmap-test
+endif
libavahi_core_la_SOURCES = \
timeeventq.c timeeventq.h\
iface-linux.c iface-linux.h \
netlink.c netlink.h
else
-if HAVE_PF_ROUTE
+if HAVE_PF_ROUTE
libavahi_core_la_SOURCES += \
iface-pfroute.c iface-pfroute.h
+else
+libavahi_core_la_SOURCES += \
+ iface-none.c
endif
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)
+libavahi_core_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBAVAHI_CORE_VERSION_INFO)
prioq_test_SOURCES = \
prioq-test.c \
dns_test_CFLAGS = $(AM_CFLAGS)
dns_test_LDADD = $(AM_LDADD) ../avahi-common/libavahi-common.la
+dns_spin_test_SOURCES = \
+ dns-spin-test.c
+dns_spin_test_CFLAGS = $(AM_CFLAGS)
+dns_spin_test_LDADD = $(AM_LDADD) libavahi-core.la
+
timeeventq_test_SOURCES = \
timeeventq-test.c \
timeeventq.h timeeventq.c \