diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-04 14:24:47 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-04 14:24:47 +0000 |
commit | 1d8d389bced14fd724ba3f0ccd553f4a90363ca5 (patch) | |
tree | 37f52668b01024089f0e41b21c438834a697809b /ares | |
parent | 99e43046a7415796d1369c493fed7043fc98075c (diff) |
source files used by sample programs
Diffstat (limited to 'ares')
-rw-r--r-- | ares/Makefile.am | 9 | ||||
-rw-r--r-- | ares/Makefile.inc | 9 |
2 files changed, 15 insertions, 3 deletions
diff --git a/ares/Makefile.am b/ares/Makefile.am index e8b702045..01b7f08af 100644 --- a/ares/Makefile.am +++ b/ares/Makefile.am @@ -108,14 +108,17 @@ libcares_ladir = $(includedir) libcares_la_HEADERS = ares.h ares_version.h ares_dns.h \ ares_build.h ares_rules.h -ahost_SOURCES = ahost.c ares_getopt.c ares_getopt.h +ahost_SOURCES = ahost.c $(SAMPLESOURCES) $(SAMPLEHEADERS) ahost_LDADD = $(top_builddir)/libcares.la +ahost_CFLAGS = $(AM_CFLAGS) -adig_SOURCES = adig.c ares_getopt.c ares_getopt.h +adig_SOURCES = adig.c $(SAMPLESOURCES) $(SAMPLEHEADERS) adig_LDADD = $(top_builddir)/libcares.la +adig_CFLAGS = $(AM_CFLAGS) -acountry_SOURCES = acountry.c ares_getopt.c ares_getopt.h +acountry_SOURCES = acountry.c $(SAMPLESOURCES) $(SAMPLEHEADERS) acountry_LDADD = $(top_builddir)/libcares.la +acountry_CFLAGS = $(AM_CFLAGS) SOURCEDMANDIR = man3 SOURCEDMANPAGES = ares_init.3 diff --git a/ares/Makefile.inc b/ares/Makefile.inc index 04ab7a12e..8d99afdcb 100644 --- a/ares/Makefile.inc +++ b/ares/Makefile.inc @@ -163,3 +163,12 @@ PDFPAGES = ares_cancel.pdf \ ares_timeout.pdf \ ares_version.pdf +SAMPLESOURCES = ares_getopt.c \ + ares_strcasecmp.c \ + inet_net_pton.c \ + inet_ntop.c + +SAMPLEHEADERS = ares_getopt.h \ + ares_strcasecmp.h \ + inet_net_pton.h \ + inet_ntop.h |