xref: /third_party/node/deps/cares/Makefile.am (revision 1cb0ef41)
11cb0ef41Sopenharmony_ci#############################################################
21cb0ef41Sopenharmony_ci#
31cb0ef41Sopenharmony_ci# Copyright (C) the Massachusetts Institute of Technology.
41cb0ef41Sopenharmony_ci# Copyright (C) Daniel Stenberg
51cb0ef41Sopenharmony_ci#
61cb0ef41Sopenharmony_ci# Permission to use, copy, modify, and distribute this
71cb0ef41Sopenharmony_ci# software and its documentation for any purpose and without
81cb0ef41Sopenharmony_ci# fee is hereby granted, provided that the above copyright
91cb0ef41Sopenharmony_ci# notice appear in all copies and that both that copyright
101cb0ef41Sopenharmony_ci# notice and this permission notice appear in supporting
111cb0ef41Sopenharmony_ci# documentation, and that the name of M.I.T. not be used in
121cb0ef41Sopenharmony_ci# advertising or publicity pertaining to distribution of the
131cb0ef41Sopenharmony_ci# software without specific, written prior permission.
141cb0ef41Sopenharmony_ci# M.I.T. makes no representations about the suitability of
151cb0ef41Sopenharmony_ci# this software for any purpose.  It is provided "as is"
161cb0ef41Sopenharmony_ci# without express or implied warranty.
171cb0ef41Sopenharmony_ci#
181cb0ef41Sopenharmony_ci# SPDX-License-Identifier: MIT
191cb0ef41Sopenharmony_ci#
201cb0ef41Sopenharmony_ci#############################################################
211cb0ef41Sopenharmony_ci
221cb0ef41Sopenharmony_ciAUTOMAKE_OPTIONS = foreign nostdinc 1.9.6
231cb0ef41Sopenharmony_ciACLOCAL_AMFLAGS = -I m4 --install
241cb0ef41Sopenharmony_ci
251cb0ef41Sopenharmony_ciMSVCFILES = msvc_ver.inc buildconf.bat
261cb0ef41Sopenharmony_ci
271cb0ef41Sopenharmony_ci# adig and ahost are just sample programs and thus not mentioned with the
281cb0ef41Sopenharmony_ci# regular sources and headers
291cb0ef41Sopenharmony_ciEXTRA_DIST = AUTHORS CHANGES README.cares $(man_MANS) RELEASE-NOTES.md	\
301cb0ef41Sopenharmony_ci c-ares-config.cmake.in libcares.pc.cmake libcares.pc.in buildconf get_ver.awk \
311cb0ef41Sopenharmony_ci maketgz TODO README.msvc $(MSVCFILES) INSTALL.md README.md LICENSE.md \
321cb0ef41Sopenharmony_ci CMakeLists.txt Makefile.dj Makefile.m32 Makefile.netware Makefile.msvc \
331cb0ef41Sopenharmony_ci Makefile.Watcom AUTHORS CONTRIBUTING.md SECURITY.md TODO \
341cb0ef41Sopenharmony_ci cmake/EnableWarnings.cmake
351cb0ef41Sopenharmony_ci
361cb0ef41Sopenharmony_ciCLEANFILES = $(PDFPAGES) $(HTMLPAGES)
371cb0ef41Sopenharmony_ci
381cb0ef41Sopenharmony_ciDISTCLEANFILES = include/ares_build.h
391cb0ef41Sopenharmony_ci
401cb0ef41Sopenharmony_ciDIST_SUBDIRS = include src test docs
411cb0ef41Sopenharmony_ci
421cb0ef41Sopenharmony_ciSUBDIRS = @BUILD_SUBDIRS@
431cb0ef41Sopenharmony_ci
441cb0ef41Sopenharmony_cipkgconfigdir = $(libdir)/pkgconfig
451cb0ef41Sopenharmony_cipkgconfig_DATA = libcares.pc
461cb0ef41Sopenharmony_ci
471cb0ef41Sopenharmony_ci# where to install the c-ares headers
481cb0ef41Sopenharmony_cilibcares_ladir = $(includedir)
491cb0ef41Sopenharmony_ci
501cb0ef41Sopenharmony_ci
511cb0ef41Sopenharmony_ci# Make files named *.dist replace the file without .dist extension
521cb0ef41Sopenharmony_cidist-hook:
531cb0ef41Sopenharmony_ci	find $(distdir) -name "*.dist" -exec rm {} \;
541cb0ef41Sopenharmony_ci	(distit=`find $(srcdir) -name "*.dist"`; \
551cb0ef41Sopenharmony_ci	for file in $$distit; do \
561cb0ef41Sopenharmony_ci	  strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
571cb0ef41Sopenharmony_ci	  cp $$file $(distdir)$$strip; \
581cb0ef41Sopenharmony_ci	done)
59