summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/c-ares-1.19.1/src/tools/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/c-ares-1.19.1/src/tools/Makefile.am')
-rw-r--r--fluent-bit/lib/c-ares-1.19.1/src/tools/Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/fluent-bit/lib/c-ares-1.19.1/src/tools/Makefile.am b/fluent-bit/lib/c-ares-1.19.1/src/tools/Makefile.am
new file mode 100644
index 000000000..2ea6376f6
--- /dev/null
+++ b/fluent-bit/lib/c-ares-1.19.1/src/tools/Makefile.am
@@ -0,0 +1,38 @@
+AUTOMAKE_OPTIONS = foreign subdir-objects nostdinc 1.9.6
+PROGS = ahost adig acountry
+
+EXTRA_DIST = CMakeLists.txt Makefile.inc
+
+noinst_PROGRAMS =$(PROGS)
+
+# Specify our include paths here, and do it relative to $(top_srcdir) and
+# $(top_builddir), to ensure that these paths which belong to the library
+# being currently built and tested are searched before the library which
+# might possibly already be installed in the system.
+
+AM_CPPFLAGS = -I$(top_builddir)/include \
+ -I$(top_builddir)/src/lib \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/src/lib
+
+if USE_CPPFLAG_CARES_STATICLIB
+AM_CPPFLAGS += $(CPPFLAG_CARES_STATICLIB)
+endif
+
+include Makefile.inc
+
+# We're not interested in code coverage of the test apps themselves, but need
+# to link with gcov if building with code coverage enabled
+LDADD = $(top_builddir)/src/lib/libcares.la $(CODE_COVERAGE_LIBS)
+
+ahost_SOURCES = ahost.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
+ahost_CFLAGS = $(AM_CFLAGS)
+ahost_CPPFLAGS = $(AM_CPPFLAGS)
+
+adig_SOURCES = adig.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
+adig_CFLAGS = $(AM_CFLAGS)
+adig_CPPFLAGS = $(AM_CPPFLAGS)
+
+acountry_SOURCES = acountry.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
+acountry_CFLAGS = $(AM_CFLAGS)
+acountry_CPPFLAGS = $(AM_CPPFLAGS)