1AUTOMAKE_OPTIONS = foreign nostdinc 1.9.6 2ACLOCAL_AMFLAGS = -I m4 --install 3 4MSVCFILES = msvc_ver.inc buildconf.bat 5 6# adig and ahost are just sample programs and thus not mentioned with the 7# regular sources and headers 8EXTRA_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 13 14 15CLEANFILES = $(PDFPAGES) $(HTMLPAGES) 16 17DISTCLEANFILES = include/ares_build.h 18 19DIST_SUBDIRS = include src test docs 20 21SUBDIRS = @BUILD_SUBDIRS@ 22 23pkgconfigdir = $(libdir)/pkgconfig 24pkgconfig_DATA = libcares.pc 25 26# where to install the c-ares headers 27libcares_ladir = $(includedir) 28 29 30# Make files named *.dist replace the file without .dist extension 31dist-hook: 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; \ 37 done) 38