1# Copyright (C) The c-ares project and its contributors 2# SPDX-License-Identifier: MIT 3AUTOMAKE_OPTIONS = foreign subdir-objects nostdinc 1.9.6 4PROGS = ahost adig 5 6EXTRA_DIST = CMakeLists.txt Makefile.inc 7 8noinst_PROGRAMS =$(PROGS) 9 10# Specify our include paths here, and do it relative to $(top_srcdir) and 11# $(top_builddir), to ensure that these paths which belong to the library 12# being currently built and tested are searched before the library which 13# might possibly already be installed in the system. 14 15AM_CPPFLAGS += -I$(top_builddir)/include \ 16 -I$(top_builddir)/src/lib \ 17 -I$(top_srcdir)/include \ 18 -I$(top_srcdir)/src/lib \ 19 -I$(top_srcdir)/src/lib/include \ 20 -DCARES_NO_DEPRECATED 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 33adig_CFLAGS = $(AM_CFLAGS) 34adig_CPPFLAGS = $(AM_CPPFLAGS) 35