# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
-AM_CFLAGS=-I$(top_srcdir) -D_GNU_SOURCE
+AM_CFLAGS=-I$(top_srcdir)
# GLIB 2.0
AM_CFLAGS+=$(GLIB20_CFLAGS)
avahiincludedir=$(includedir)/avahi-core
avahiinclude_HEADERS = \
- core.h
+ core.h \
+ log.h
lib_LTLIBRARIES = \
libavahi-core.la
avahi-test \
conformance-test \
avahi-reflector \
- dns-test
+ dns-test \
+ timeeventq-test
libavahi_core_la_SOURCES = \
timeeventq.c timeeventq.h\
core.h \
llist.h \
log.c log.h \
- browse-dns-server.c browse-dns-server.h
+ browse-dns-server.c
libavahi_core_la_CFLAGS = $(AM_CFLAGS)
libavahi_core_la_LIBADD = $(AM_LDADD) $(COMMON_LDADD)
dns_test_CFLAGS = $(AM_CFLAGS)
dns_test_LDADD = $(AM_LDADD) $(STATIC_COMMON_LDADD)
+timeeventq_test_SOURCES = \
+ timeeventq-test.c \
+ timeeventq.h timeeventq.c \
+ prioq.h prioq.c
+timeeventq_test_CFLAGS = $(AM_CFLAGS)
+timeeventq_test_LDADD = $(AM_LDADD) $(STATIC_COMMON_LDADD)
+
valgrind: avahi-test
libtool --mode=execute valgrind ./avahi-test