Makefile.in revision 7a00d69909ace5dc11bcff9c1e07c311f92a7f8e
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley# Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# Copyright (C) 1998-2003 Internet Software Consortium.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley# Permission to use, copy, modify, and/or distribute this software for any
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley# purpose with or without fee is hereby granted, provided that the above
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley# copyright notice and this permission notice appear in all copies.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
15a44745412679c30a6d022733925af70a38b715David Lawrence# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15a44745412679c30a6d022733925af70a38b715David Lawrence# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
15a44745412679c30a6d022733925af70a38b715David Lawrence# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15a44745412679c30a6d022733925af70a38b715David Lawrence# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15a44745412679c30a6d022733925af70a38b715David Lawrence# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15a44745412679c30a6d022733925af70a38b715David Lawrence# PERFORMANCE OF THIS SOFTWARE.
15a44745412679c30a6d022733925af70a38b715David Lawrence
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halleysrcdir = @srcdir@
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob HalleyVPATH = @srcdir@
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafssontop_srcdir = @top_srcdir@
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence
e419f613d8591885df608cb73065921be07dd12eBob HalleyVERSION=@BIND9_VERSION@
e419f613d8591885df608cb73065921be07dd12eBob Halley
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence@LIBISC_API@
fca5f81ad69098ea8abba130c7f841c951ef91c2Bob Halley
e419f613d8591885df608cb73065921be07dd12eBob Halley@BIND9_MAKE_INCLUDES@
e419f613d8591885df608cb73065921be07dd12eBob Halley
9695ae1c24b168996e3a267855dc754971ccb32cBob HalleyPROVIDER = @PKCS11_PROVIDER@
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley
1c776a2909632bc755f3fddd3b53addd792ab4d0Brian WellingtonCINCLUDES = -I${srcdir}/unix/include \
e419f613d8591885df608cb73065921be07dd12eBob Halley -I${srcdir}/@ISC_THREAD_DIR@/include \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley -I${srcdir}/@ISC_ARCH_DIR@/include \
1b1e1fda4638334b484aa38c15f53a131c0b0fdfAndreas Gustafsson -I./include \
e83cae7fa837e4757c687035d6f6c0900f152749Brian Wellington -I${srcdir}/include @ISC_OPENSSL_INC@ ${DNS_INCLUDES}
e83cae7fa837e4757c687035d6f6c0900f152749Brian WellingtonCDEFINES = @CRYPTO@ -DPK11_LIB_LOCATION=\"${PROVIDER}\"
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob HalleyCWARNINGS =
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# Alphabetically
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid LawrenceUNIXOBJS = @ISC_ISCIPV6_O@ @ISC_ISCPK11_API_O@ \
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington unix/app.@O@ unix/dir.@O@ unix/entropy.@O@ \
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence unix/errno2result.@O@ unix/file.@O@ unix/fsaccess.@O@ \
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence unix/interfaceiter.@O@ unix/keyboard.@O@ unix/meminfo.@O@ \
e419f613d8591885df608cb73065921be07dd12eBob Halley unix/net.@O@ unix/os.@O@ unix/resource.@O@ unix/socket.@O@ \
e419f613d8591885df608cb73065921be07dd12eBob Halley unix/stdio.@O@ unix/stdtime.@O@ unix/strerror.@O@ \
92ef1a9b9dbd48ecb507b42ac62c15afefdaf838David Lawrence unix/syslog.@O@ unix/time.@O@
e419f613d8591885df608cb73065921be07dd12eBob Halley
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob HalleyNLSOBJS = nls/msgcat.@O@
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley
5c6117688525d0e8d247f50c63364f66bd8d4185Brian WellingtonTHREADOPTOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@
6bc1a645619a14707da68b130dafe41721fd2f25Brian Wellington
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob HalleyTHREADOBJS = @THREADOPTOBJS@ @ISC_THREAD_DIR@/thread.@O@
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid LawrenceWIN32OBJS = win32/condition.@O@ win32/dir.@O@ win32/file.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence win32/fsaccess.@O@ win32/meminfo.@O@ win32/once.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence win32/stdtime.@O@ win32/thread.@O@ win32/time.@O@
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence# Alphabetically
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid LawrenceOBJS = @ISC_EXTRA_OBJS@ @ISC_PK11_O@ @ISC_PK11_RESULT_O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence aes.@O@ assertions.@O@ backtrace.@O@ base32.@O@ base64.@O@ \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington bind9.@O@ buffer.@O@ bufferlist.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence commandline.@O@ counter.@O@ crc64.@O@ error.@O@ event.@O@ \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington hash.@O@ ht.@O@ heap.@O@ hex.@O@ hmacmd5.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence hmacsha.@O@ httpd.@O@ inet_aton.@O@ iterated_hash.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence lex.@O@ lfsr.@O@ lib.@O@ log.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence md5.@O@ mem.@O@ mutexblock.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence netaddr.@O@ netscope.@O@ pool.@O@ ondestroy.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence parseint.@O@ portset.@O@ quota.@O@ radix.@O@ random.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence ratelimiter.@O@ refcount.@O@ region.@O@ regex.@O@ result.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence rwlock.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence safe.@O@ serial.@O@ sha1.@O@ sha2.@O@ sockaddr.@O@ stats.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence string.@O@ strtoul.@O@ symtab.@O@ task.@O@ taskpool.@O@ \
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence tm.@O@ timer.@O@ version.@O@ \
76c8294c81fb48b1da6e1fc5b83322a4cedb8e58Andreas Gustafsson ${UNIXOBJS} ${NLSOBJS} ${THREADOBJS}
76c8294c81fb48b1da6e1fc5b83322a4cedb8e58Andreas GustafssonSYMTBLOBJS = backtrace-emptytbl.@O@
1b1e1fda4638334b484aa38c15f53a131c0b0fdfAndreas Gustafsson
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob HalleyCHACHASRCS = chacha_private.h
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# Alphabetically
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob HalleySRCS = @ISC_EXTRA_SRCS@ @ISC_PK11_C@ @ISC_PK11_RESULT_C@ \
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington aes.c assertions.c backtrace.c base32.c base64.c bind9.c \
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington buffer.c bufferlist.c commandline.c counter.c crc64.c \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley error.c event.c hash.c ht.c heap.c hex.c hmacmd5.c \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley hmacsha.c httpd.c inet_aton.c iterated_hash.c \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley lex.c lfsr.c lib.c log.c \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley md5.c mem.c mutexblock.c \
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley netaddr.c netscope.c pool.c ondestroy.c \
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington parseint.c portset.c quota.c radix.c random.c ${CHACHASRCS} \
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff ratelimiter.c refcount.c region.c regex.c result.c rwlock.c \
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff safe.c serial.c sha1.c sha2.c sockaddr.c stats.c string.c \
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff strtoul.c symtab.c task.c taskpool.c timer.c \
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff tm.c version.c
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob HalleyLIBS = @ISC_OPENSSL_LIBS@ @LIBS@
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# Note: the order of SUBDIRS is important.
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# Attempt to disable parallel processing.
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington.NOTPARALLEL:
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington.NO_PARALLEL:
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian WellingtonSUBDIRS = include unix nls @ISC_THREAD_DIR@ @ISC_ARCH_DIR@
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian WellingtonTARGETS = timestamp
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian WellingtonTESTDIRS = @UNITTESTS@
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington@BIND9_MAKE_RULES@
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellingtonsafe.@O@: safe.c
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} @CCNOOPT@ \
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington -c ${srcdir}/safe.c
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellingtonversion.@O@: version.c
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington -DVERSION=\"${VERSION}\" \
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington -DLIBINTERFACE=${LIBINTERFACE} \
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington -DLIBREVISION=${LIBREVISION} \
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington -DLIBAGE=${LIBAGE} \
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington -c ${srcdir}/version.c
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellingtonlibisc.@SA@: ${OBJS} ${SYMTBLOBJS}
98d010a24a9f1b4b45ce9791845941ef90426d0cBrian Wellington ${AR} ${ARFLAGS} $@ ${OBJS} ${SYMTBLOBJS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${RANLIB} $@
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonlibisc-nosymtbl.@SA@: ${OBJS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${AR} ${ARFLAGS} $@ ${OBJS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${RANLIB} $@
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonlibisc.la: ${OBJS} ${SYMTBLOBJS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${LIBTOOL_MODE_LINK} \
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la -rpath ${libdir} \
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington ${OBJS} ${SYMTBLOBJS} ${LIBS}
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonlibisc-nosymtbl.la: ${OBJS}
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${LIBTOOL_MODE_LINK} \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington ${OBJS} ${LIBS}
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellingtontimestamp: libisc.@A@ libisc-nosymtbl.@A@
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington touch timestamp
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellingtoninstalldirs:
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafssoninstall:: timestamp installdirs
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisc.@A@ ${DESTDIR}${libdir}
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellingtonclean distclean::
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson libisc-nosymtbl.la timestamp
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington