X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=examples%2FMakefile.am;h=aff7d3c1906585906de79abc8a70f63c5f9805f7;hb=1a5dff7d166883e99fe1dba62dc3c407a9f7e332;hp=da233b95f8c858429a4987c9647f7281b7d6dee0;hpb=66c497f4637276f390f1a7afaf7fe07616da9f1a;p=catta diff --git a/examples/Makefile.am b/examples/Makefile.am index da233b9..aff7d3c 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,24 +17,16 @@ AM_CFLAGS=-I$(top_srcdir) +if ENABLE_TESTS noinst_PROGRAMS = \ core-publish-service \ - core-browse-services \ - client-publish-service \ - client-browse-services + core-browse-services +endif core_publish_service_SOURCES = core-publish-service.c core_publish_service_CFLAGS = $(AM_CFLAGS) -core_publish_service_LDADD = $(AM_LDADD) ../avahi-core/libavahi-core.la ../avahi-common/libavahi-common.la +core_publish_service_LDADD = $(AM_LDADD) ../avahi/libavahi.la 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 - -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 +core_browse_services_LDADD = $(AM_LDADD) ../avahi/libavahi.la