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 24LDADD = $(top_builddir)/src/lib/libcares.la 25 26ahost_SOURCES = ahost.c $(SAMPLESOURCES) $(SAMPLEHEADERS) 27ahost_CFLAGS = $(AM_CFLAGS) 28ahost_CPPFLAGS = $(AM_CPPFLAGS) 29 30adig_SOURCES = adig.c $(SAMPLESOURCES) $(SAMPLEHEADERS) 31adig_CFLAGS = $(AM_CFLAGS) 32adig_CPPFLAGS = $(AM_CPPFLAGS) 33 34acountry_SOURCES = acountry.c $(SAMPLESOURCES) $(SAMPLEHEADERS) 35acountry_CFLAGS = $(AM_CFLAGS) 36acountry_CPPFLAGS = $(AM_CPPFLAGS) 37