@ -103,6 +103,20 @@ libcares_la_LDFLAGS = $(UNDEF) $(VER)
# Add -Werror if defined
CFLAGS += @CARES_CFLAG_EXTRAS@
# For Windows build targets, when building or using static c-ares
i f U S E _ C P P F L A G _ C A R E S _ S T A T I C L I B
AM_CPPFLAGS = -DCARES_STATICLIB
e l s e
AM_CPPFLAGS =
e n d i f
# For Windows build targets, when building c-ares library
i f U S E _ C P P F L A G _ C A R E S _ B U I L D I N G _ L I B R A R Y
libcares_la_CPPFLAGS = $( AM_CPPFLAGS) -DCARES_BUILDING_LIBRARY
e l s e
libcares_la_CPPFLAGS = $( AM_CPPFLAGS)
e n d i f
# Makefile.inc provides the CSOURCES and HHEADERS defines
i n c l u d e M a k e f i l e . i n c
@ -117,14 +131,17 @@ libcares_la_HEADERS = ares.h ares_version.h ares_dns.h \
ahost_SOURCES = ahost.c $( SAMPLESOURCES) $( SAMPLEHEADERS)
ahost_LDADD = $( top_builddir) /libcares.la
ahost_CFLAGS = $( AM_CFLAGS)
ahost_CPPFLAGS = $( AM_CPPFLAGS)
adig_SOURCES = adig.c $( SAMPLESOURCES) $( SAMPLEHEADERS)
adig_LDADD = $( top_builddir) /libcares.la
adig_CFLAGS = $( AM_CFLAGS)
adig_CPPFLAGS = $( AM_CPPFLAGS)
acountry_SOURCES = acountry.c $( SAMPLESOURCES) $( SAMPLEHEADERS)
acountry_LDADD = $( top_builddir) /libcares.la
acountry_CFLAGS = $( AM_CFLAGS)
acountry_CPPFLAGS = $( AM_CPPFLAGS)
SOURCEDMANDIR = man3
SOURCEDMANPAGES = ares_init.3