From: Daniel Stenberg Date: Mon, 10 Dec 2007 21:42:04 +0000 (+0000) Subject: build ahost and adig by default but don't install them X-Git-Tag: curl-7_18_0~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=562e9b7bf34cb211bb9e78cb6f4c5c5794458029;p=thirdparty%2Fcurl.git build ahost and adig by default but don't install them --- diff --git a/ares/Makefile.am b/ares/Makefile.am index 8454724df7..821ee027fb 100644 --- a/ares/Makefile.am +++ b/ares/Makefile.am @@ -8,6 +8,8 @@ MSVCFILES = vc/adig/adig.dep vc/adig/adig.dsp vc/vc.dsw vc/ahost/ahost.dep \ vc/ahost/ahost.dsp vc/areslib/areslib.dep vc/areslib/areslib.dsp \ vc/areslib/areslib.dsw +noinst_PROGRAMS = ahost adig + # adig and ahost are just sample programs and thus not mentioned with the # regular sources and headers EXTRA_DIST = CHANGES README.cares Makefile.inc adig.c ahost.c $(man_MANS) \ @@ -63,6 +65,12 @@ libcares_ladir = $(includedir) # what headers to install on 'make install': libcares_la_HEADERS = ares.h ares_version.h ares_dns.h +ahost_SOURCES = ahost.c ares_getopt.c +ahost_LDADD = $(top_builddir)/$(lib_LTLIBRARIES) + +adig_SOURCES = adig.c ares_getopt.c +adig_LDADD = $(top_builddir)/$(lib_LTLIBRARIES) + # Make files named *.dist replace the file without .dist extension dist-hook: find $(distdir) -name "*.dist" -exec rm {} \;