X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=examples%2FMakefile.am;h=2235000ea09db11b00ea1fee9a6a548f25cc3ffb;hb=f726a534b6230de7a5323d811ef375b979f5bddb;hp=137dd55e72d300f506dc34061381a7cfc77ef2f9;hpb=723e4d07d4782c866ffee5329a373d8cbed2e5ff;p=catta diff --git a/examples/Makefile.am b/examples/Makefile.am index 137dd55..2235000 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,7 +1,5 @@ -# $Id$ -# # This file is part of avahi. -# +# # avahi is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 2 of the @@ -19,9 +17,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) @@ -30,29 +30,3 @@ core_publish_service_LDADD = $(AM_LDADD) ../avahi-core/libavahi-core.la ../avahi core_browse_services_SOURCES = core-browse-services.c core_browse_services_CFLAGS = $(AM_CFLAGS) core_browse_services_LDADD = $(AM_LDADD) ../avahi-core/libavahi-core.la ../avahi-common/libavahi-common.la - - -if HAVE_DBUS - -noinst_PROGRAMS += \ - client-publish-service \ - client-browse-services -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 - -client_browse_services_SOURCES = client-browse-services.c -client_browse_services_CFLAGS = $(AM_CFLAGS) -client_browse_services_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la - -endif - -if HAVE_GTK - -noinst_PROGRAMS += \ - glib-integration -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 - -endif