1 AUTOMAKE_OPTIONS = foreign nostdinc 1.9.6
2 ACLOCAL_AMFLAGS = -I m4 --install
4 MSVCFILES = msvc_ver.inc buildconf.bat
6 # adig and ahost are just sample programs and thus not mentioned with the
7 # regular sources and headers
8 EXTRA_DIST = AUTHORS CHANGES README.cares $(man_MANS) RELEASE-NOTES \
9 c-ares-config.cmake.in libcares.pc.cmake libcares.pc.in buildconf get_ver.awk \
10 maketgz TODO README.msvc $(MSVCFILES) INSTALL.md README.md LICENSE.md \
11 CMakeLists.txt Makefile.dj Makefile.m32 Makefile.netware Makefile.msvc \
12 Makefile.Watcom AUTHORS CONTRIBUTING.md SECURITY.md TODO
15 CLEANFILES = $(PDFPAGES) $(HTMLPAGES)
17 DISTCLEANFILES = include/ares_build.h
19 DIST_SUBDIRS = include src test docs
21 SUBDIRS = @BUILD_SUBDIRS@
23 pkgconfigdir = $(libdir)/pkgconfig
24 pkgconfig_DATA = libcares.pc
26 # where to install the c-ares headers
27 libcares_ladir = $(includedir)
30 # Make files named *.dist replace the file without .dist extension
32 find $(distdir) -name "*.dist" -exec rm {} \;
33 (distit=`find $(srcdir) -name "*.dist"`; \
34 for file in $$distit; do \
35 strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
36 cp $$file $(distdir)$$strip; \