diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-19 00:10:02 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-19 00:10:02 +0000 |
commit | 16d9e30dd7fa052bd7e6dd37927d7f27bec90ef1 (patch) | |
tree | d52fcd4dfde907c278a29c76e59f899c92c1a4b4 /examples/Makefile.am | |
parent | d266407d3e6d8f2a8e14e8bd2f89fa8a4333613c (diff) |
* Compile tests only when --enable-tests was specified on the configure command line
* Build compat layers only when --enable-compat-{howl,libdns_sd} was passed to configure
* drop avahi_strlcpy() to reduce our code/API size
* replace getifname() with if_indextoname in avahi-dnsconfd
* declare environ if needed in avahi-dnsconfd
* drop some useless definitions like AVAHI_PUBLISH_NULL = 0
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@819 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'examples/Makefile.am')
-rw-r--r-- | examples/Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index 2a3d48e..92cdccd 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -19,9 +19,11 @@ AM_CFLAGS=-I$(top_srcdir) +if ENABLE_TESTS noinst_PROGRAMS = \ core-publish-service \ core-browse-services +endif core_publish_service_SOURCES = core-publish-service.c core_publish_service_CFLAGS = $(AM_CFLAGS) @@ -33,10 +35,13 @@ core_browse_services_LDADD = $(AM_LDADD) ../avahi-core/libavahi-core.la ../avahi if HAVE_DBUS +if ENABLE_TESTS noinst_PROGRAMS += \ client-publish-service \ client-browse-services +endif + client_publish_service_SOURCES = client-publish-service.c client_publish_service_CFLAGS = $(AM_CFLAGS) client_publish_service_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la @@ -47,8 +52,11 @@ client_browse_services_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la .. if HAVE_GLIB +if ENABLE_TESTS noinst_PROGRAMS += \ glib-integration +endif + glib_integration_SOURCES = glib-integration.c glib_integration_CFLAGS = $(AM_CFLAGS) $(GLIB20_CFLAGS) glib_integration_LDADD = $(AM_LDADD) $(GLIB20_LIBS) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la ../avahi-glib/libavahi-glib.la |