X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=examples%2FMakefile.am;h=c7faa918a55f4b44da18dd226a3712b583a82d81;hb=f195c1bda3616129bc28d33aae71f9d2dd9047ce;hp=da233b95f8c858429a4987c9647f7281b7d6dee0;hpb=66c497f4637276f390f1a7afaf7fe07616da9f1a;p=catta diff --git a/examples/Makefile.am b/examples/Makefile.am index da233b9..c7faa91 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,42 +1,32 @@ -# $Id$ +# This file is part of catta. # -# This file is part of avahi. -# -# avahi is free software; you can redistribute it and/or modify it +# catta 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 # License, or (at your option) any later version. # -# avahi is distributed in the hope that it will be useful, but WITHOUT +# catta is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public # License for more details. # # You should have received a copy of the GNU Lesser General Public -# License along with avahi; if not, write to the Free Software +# License along with catta; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -AM_CFLAGS=-I$(top_srcdir) +AM_CFLAGS=-I$(top_srcdir)/include +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) ../src/libcatta.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) ../src/libcatta.la