From 63b016778a0a8c277f192acd6fe5fd5f56a9f170 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 14 Jan 2006 01:54:10 +0000 Subject: add new AvahiThreadedPoll event loop implementation which runs a main loop in a helper thread git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1074 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'avahi-common/Makefile.am') diff --git a/avahi-common/Makefile.am b/avahi-common/Makefile.am index f9fdef4..2a3a591 100644 --- a/avahi-common/Makefile.am +++ b/avahi-common/Makefile.am @@ -46,7 +46,8 @@ noinst_PROGRAMS = \ domain-test \ alternative-test \ timeval-test \ - watch-test + watch-test \ + watch-test-thread endif lib_LTLIBRARIES = \ @@ -61,6 +62,7 @@ libavahi_common_la_SOURCES = \ domain.c domain.h \ timeval.c timeval.h \ simple-watch.c simple-watch.h \ + thread-watch.c thread-watch.h \ watch.h gccmacro.h \ rlist.h rlist.c @@ -95,6 +97,10 @@ watch_test_SOURCES = \ watch_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) watch_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) +watch_test_thread_SOURCES = $(watch_test_SOURCES) thread-watch.c thread-watch.h +watch_test_thread_CFLAGS = $(watch_test_CFLAGS) -DUSE_THREAD +watch_test_thread_LDADD = $(watch_test_LDADD) + timeval_test_SOURCES = \ timeval.c timeval.h \ timeval-test.c -- cgit