X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-compat-howl%2FMakefile.am;h=e183b7e812f6b4588c54255caa98526796689178;hb=740bc001fb647255709b5385d5a8a19781722097;hp=820270318292cc12885f659ab5e05f58064a5998;hpb=acabb77492f350129c4e7a22f0c659875a8c960a;p=catta diff --git a/avahi-compat-howl/Makefile.am b/avahi-compat-howl/Makefile.am index 8202703..e183b7e 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 -noinst_PROGRAMS = address-test text-test +if ENABLE_TESTS +noinst_PROGRAMS = address-test text-test browse-domain-test +endif libavahi_compat_howl_la_SOURCES = \ $(HOWLHEADERS) \ @@ -98,4 +101,11 @@ text_test_SOURCES = \ text_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include text_test_LDADD = $(AM_LDADD) ../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 + +endif endif