Makefile.am (1188B)
1 # Copyright (C) The c-ares project and its contributors 2 # SPDX-License-Identifier: MIT 3 AUTOMAKE_OPTIONS = foreign subdir-objects nostdinc 1.9.6 4 PROGS = ahost adig 5 6 EXTRA_DIST = CMakeLists.txt Makefile.inc 7 8 noinst_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 15 AM_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 22 include 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 26 LDADD = $(top_builddir)/src/lib/libcares.la $(CODE_COVERAGE_LIBS) 27 28 ahost_SOURCES = ahost.c $(SAMPLESOURCES) $(SAMPLEHEADERS) 29 ahost_CFLAGS = $(AM_CFLAGS) 30 ahost_CPPFLAGS = $(AM_CPPFLAGS) 31 32 adig_SOURCES = adig.c 33 adig_CFLAGS = $(AM_CFLAGS) 34 adig_CPPFLAGS = $(AM_CPPFLAGS)