• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTOMAKE_OPTIONS = foreign subdir-objects nostdinc 1.9.6
2PROGS = ahost adig acountry
3
4EXTRA_DIST = CMakeLists.txt Makefile.inc
5
6noinst_PROGRAMS =$(PROGS)
7
8# Specify our include paths here, and do it relative to $(top_srcdir) and
9# $(top_builddir), to ensure that these paths which belong to the library
10# being currently built and tested are searched before the library which
11# might possibly already be installed in the system.
12
13AM_CPPFLAGS = -I$(top_builddir)/include \
14              -I$(top_builddir)/src/lib \
15              -I$(top_srcdir)/include \
16              -I$(top_srcdir)/src/lib
17
18if USE_CPPFLAG_CARES_STATICLIB
19AM_CPPFLAGS += $(CPPFLAG_CARES_STATICLIB)
20endif
21
22include Makefile.inc
23
24# We're not interested in code coverage of the test apps themselves, but need
25# to link with gcov if building with code coverage enabled
26LDADD = $(top_builddir)/src/lib/libcares.la $(CODE_COVERAGE_LIBS)
27
28ahost_SOURCES = ahost.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
29ahost_CFLAGS = $(AM_CFLAGS)
30ahost_CPPFLAGS = $(AM_CPPFLAGS)
31
32adig_SOURCES = adig.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
33adig_CFLAGS = $(AM_CFLAGS)
34adig_CPPFLAGS = $(AM_CPPFLAGS)
35
36acountry_SOURCES = acountry.c $(SAMPLESOURCES) $(SAMPLEHEADERS)
37acountry_CFLAGS = $(AM_CFLAGS)
38acountry_CPPFLAGS = $(AM_CPPFLAGS)
39