X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-compat-howl%2FMakefile.am;h=c558bd6eb409a079e225debd30ed70dc1fe0f263;hb=f2af862d6619dba39ba056c9ffb5fc9c7e9fc59c;hp=5c127828a2563bb5cbb9bc03c960483c4751ab26;hpb=97613137fbe867f1d4905e60712f635b0cfd7b87;p=catta diff --git a/avahi-compat-howl/Makefile.am b/avahi-compat-howl/Makefile.am index 5c12782..c558bd6 100644 --- a/avahi-compat-howl/Makefile.am +++ b/avahi-compat-howl/Makefile.am @@ -25,6 +25,7 @@ AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' SUBDIRS = . samples if HAVE_DBUS +if ENABLE_COMPAT_HOWL avahi_compat_howldir=$(includedir)/avahi-compat-howl avahi_compat_howl_rendezvousdir=$(avahi_compat_howldir)/rendezvous @@ -70,7 +71,9 @@ HOWLHEADERS = \ lib_LTLIBRARIES = libavahi-compat-howl.la +if ENABLE_TESTS noinst_PROGRAMS = address-test text-test browse-domain-test +endif libavahi_compat_howl_la_SOURCES = \ $(HOWLHEADERS) \ @@ -88,20 +91,21 @@ address_test_SOURCES = \ address-test.c \ warn.c warn.h address_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include -address_test_LDADD = $(AM_LDADD) ../avahi-common/libavahi-common.la +address_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) ../avahi-common/libavahi-common.la text_test_SOURCES = \ $(HOWLHEADERS) \ text.c \ text-test.c \ warn.c warn.h -text_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include -text_test_LDADD = $(AM_LDADD) ../avahi-common/libavahi-common.la +text_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include +text_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) ../avahi-common/libavahi-common.la browse_domain_test_SOURCES = \ $(HOWLHEADERS) \ browse-domain-test.c browse_domain_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include -browse_domain_test_LDADD = $(AM_LDADD) libavahi-compat-howl.la +browse_domain_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) libavahi-compat-howl.la endif +endif