• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
20include Makefile.inc
21
22# We're not interested in code coverage of the test apps themselves, but need
23# to link with gcov if building with code coverage enabled
24LDADD = $(top_builddir)/src/lib/libcares.la $(CODE_COVERAGE_LIBS)
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