5d52a1fe1b8ea396fb5ae7f6f1567c8383445113Tinderbox User# Copyright (C) 1998-2017 Internet Systems Consortium, Inc. ("ISC")
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file, You can obtain one at http://mozilla.org/MPL/2.0/.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleysrcdir = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob HalleyVPATH = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleytop_srcdir = @top_srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halley
e13d04fda918c0c14c2247475bb99e0760d9a6a4Evan HuntVERSION=@BIND9_VERSION@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley@LIBISC_API@
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt@BIND9_MAKE_INCLUDES@
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntPROVIDER = @PKCS11_PROVIDER@
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob HalleyCINCLUDES = -I${srcdir}/unix/include \
fafb62400d2f1b1da4f3908447e1f3935fc5155bBrian Wellington -I${srcdir}/@ISC_THREAD_DIR@/include \
5597be9bb88de138dfec9fa9176708443813925eTatuya JINMEI 神明達哉 -I${srcdir}/@ISC_ARCH_DIR@/include \
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob Halley -I./include \
8ed6c49f1a7f06d3ed39bee7731ff91d8dfd8dc7Mark Andrews -I${srcdir}/include ${DNS_INCLUDES} @ISC_OPENSSL_INC@
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntCDEFINES = @CRYPTO@ -DPK11_LIB_LOCATION=\"${PROVIDER}\"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCWARNINGS =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence# Alphabetically
dbb012765c735ee0d82dedb116cdc7cf18957814Evan HuntUNIXOBJS = @ISC_ISCIPV6_O@ @ISC_ISCPK11_API_O@ \
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan Hunt unix/app.@O@ unix/dir.@O@ unix/entropy.@O@ unix/errno.@O@ \
4acd8d2afea04e26428e2133121cf32083641dc5David Lawrence unix/errno2result.@O@ unix/file.@O@ unix/fsaccess.@O@ \
e6d0a391f5f9b18f5bd497aefff269e474ee560cWitold Krecicki unix/interfaceiter.@O@ unix/keyboard.@O@ unix/meminfo.@O@ \
e6d0a391f5f9b18f5bd497aefff269e474ee560cWitold Krecicki unix/net.@O@ unix/os.@O@ unix/resource.@O@ unix/socket.@O@ \
e6d0a391f5f9b18f5bd497aefff269e474ee560cWitold Krecicki unix/stdio.@O@ unix/stdtime.@O@ unix/strerror.@O@ \
e6d0a391f5f9b18f5bd497aefff269e474ee560cWitold Krecicki unix/syslog.@O@ unix/time.@O@
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob HalleyNLSOBJS = nls/msgcat.@O@
5c02d3183f46ba8621a4bdecc71facda5f8e0717Michael Graff
76117ff568dc788ed24937cfea916a18db285960Mark AndrewsTHREADOPTOBJS = @ISC_THREAD_DIR@/condition.@O@ @ISC_THREAD_DIR@/mutex.@O@
76117ff568dc788ed24937cfea916a18db285960Mark Andrews
76117ff568dc788ed24937cfea916a18db285960Mark AndrewsTHREADOBJS = @THREADOPTOBJS@ @ISC_THREAD_DIR@/thread.@O@
5c02d3183f46ba8621a4bdecc71facda5f8e0717Michael Graff
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan HuntWIN32OBJS = win32/condition.@O@ win32/dir.@O@ win32/errno.@O@ \
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan Hunt win32/file.@O@ win32/fsaccess.@O@ \
f5898cf3484b1588d5239faa4062a2b2b606ce91Evan Hunt win32/meminfo.@O@ win32/once.@O@ \
e6d0a391f5f9b18f5bd497aefff269e474ee560cWitold Krecicki win32/stdtime.@O@ win32/thread.@O@ win32/time.@O@
af97e49f21606e83c6daf67688aabe5de47925f5David Lawrence
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence# Alphabetically
acbb301e648b82fcc38b876a44403cf0fe539cc9Evan HuntOBJS = @ISC_EXTRA_OBJS@ @ISC_PK11_O@ @ISC_PK11_RESULT_O@ \
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews aes.@O@ assertions.@O@ backtrace.@O@ base32.@O@ base64.@O@ \
e5f9fa7e18d50569a7d723acbb6f641e13ed3787Evan Hunt bind9.@O@ buffer.@O@ bufferlist.@O@ \
05e448935cb2d6ab08c24257f6536362d3496512Evan Hunt commandline.@O@ counter.@O@ crc64.@O@ error.@O@ event.@O@ \
7a00d69909ace5dc11bcff9c1e07c311f92a7f8eWitold Krecicki hash.@O@ ht.@O@ heap.@O@ hex.@O@ hmacmd5.@O@ \
7a00d69909ace5dc11bcff9c1e07c311f92a7f8eWitold Krecicki hmacsha.@O@ httpd.@O@ inet_aton.@O@ iterated_hash.@O@ \
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark Andrews lex.@O@ lfsr.@O@ lib.@O@ log.@O@ \
b015e6b3e188278ba8fd7c9260fa8c725c11a223Michael Graff md5.@O@ mem.@O@ mutexblock.@O@ \
df925e6c66d45d960fbac0383169763967d2111cEvan Hunt netaddr.@O@ netscope.@O@ pool.@O@ ondestroy.@O@ \
386d3a99c190bad55edf44d076e6bd087e230ab8Tatuya JINMEI 神明達哉 parseint.@O@ portset.@O@ quota.@O@ radix.@O@ random.@O@ \
30b7c81c13391a6886eb9d12a7f9e0472a5c1110Mark Andrews ratelimiter.@O@ refcount.@O@ region.@O@ regex.@O@ result.@O@ \
30b7c81c13391a6886eb9d12a7f9e0472a5c1110Mark Andrews rwlock.@O@ \
5b7abbef511cea0b568be0bc8d5b3120a0b9034dEvan Hunt safe.@O@ serial.@O@ sha1.@O@ sha2.@O@ sockaddr.@O@ stats.@O@ \
186e7f37c9fc985a7a7264cc8170e48a25bed434Mark Andrews string.@O@ strtoul.@O@ symtab.@O@ task.@O@ taskpool.@O@ \
a147de10fe5e19e593d42152ffd6879eca69860dEvan Hunt tm.@O@ timer.@O@ version.@O@ \
a147de10fe5e19e593d42152ffd6879eca69860dEvan Hunt ${UNIXOBJS} ${NLSOBJS} ${THREADOBJS}
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉SYMTBLOBJS = backtrace-emptytbl.@O@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
84dc4b3e7eea3e9c8fafa5f4fd632a51ee8b356fMukund SivaramanCHACHASRCS = chacha_private.h
84dc4b3e7eea3e9c8fafa5f4fd632a51ee8b356fMukund Sivaraman
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence# Alphabetically
acbb301e648b82fcc38b876a44403cf0fe539cc9Evan HuntSRCS = @ISC_EXTRA_SRCS@ @ISC_PK11_C@ @ISC_PK11_RESULT_C@ \
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews aes.c assertions.c backtrace.c base32.c base64.c bind9.c \
05e448935cb2d6ab08c24257f6536362d3496512Evan Hunt buffer.c bufferlist.c commandline.c counter.c crc64.c \
7a00d69909ace5dc11bcff9c1e07c311f92a7f8eWitold Krecicki error.c event.c hash.c ht.c heap.c hex.c hmacmd5.c \
7a00d69909ace5dc11bcff9c1e07c311f92a7f8eWitold Krecicki hmacsha.c httpd.c inet_aton.c iterated_hash.c \
ad91a3d204891c4b039606f9b5ef557d9036f8c8Michael Graff lex.c lfsr.c lib.c log.c \
b015e6b3e188278ba8fd7c9260fa8c725c11a223Michael Graff md5.c mem.c mutexblock.c \
df925e6c66d45d960fbac0383169763967d2111cEvan Hunt netaddr.c netscope.c pool.c ondestroy.c \
84dc4b3e7eea3e9c8fafa5f4fd632a51ee8b356fMukund Sivaraman parseint.c portset.c quota.c radix.c random.c ${CHACHASRCS} \
30b7c81c13391a6886eb9d12a7f9e0472a5c1110Mark Andrews ratelimiter.c refcount.c region.c regex.c result.c rwlock.c \
5b7abbef511cea0b568be0bc8d5b3120a0b9034dEvan Hunt safe.c serial.c sha1.c sha2.c sockaddr.c stats.c string.c \
db519a99ceb27f3ca36769a0d7e06a20b0a721a2Mark Andrews strtoul.c symtab.c task.c taskpool.c timer.c \
a147de10fe5e19e593d42152ffd6879eca69860dEvan Hunt tm.c version.c
694c897b20f06f8a5349fd9ac5df93947f6f5a2aBob Halley
2729aea3c1a720269aaae92ce3a84af1ba0a75ebMark AndrewsLIBS = @ISC_OPENSSL_LIBS@ @LIBS@
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
f56be26f602515886d265f608442deb384934b72Mark Andrews# Note: the order of SUBDIRS is important.
f56be26f602515886d265f608442deb384934b72Mark Andrews# Attempt to disable parallel processing.
f56be26f602515886d265f608442deb384934b72Mark Andrews.NOTPARALLEL:
f56be26f602515886d265f608442deb384934b72Mark Andrews.NO_PARALLEL:
de05f7d061abfe0ce555e0d0f2089f1261b031b6Mark AndrewsSUBDIRS = include unix nls @ISC_THREAD_DIR@ @ISC_ARCH_DIR@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyTARGETS = timestamp
42cf2ff7bad81c5a1f5d3be29d06e12504c3af24Evan HuntTESTDIRS = @UNITTESTS@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_MAKE_RULES@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
5b7abbef511cea0b568be0bc8d5b3120a0b9034dEvan Huntsafe.@O@: safe.c
5b7abbef511cea0b568be0bc8d5b3120a0b9034dEvan Hunt ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} @CCNOOPT@ \
5b7abbef511cea0b568be0bc8d5b3120a0b9034dEvan Hunt -c ${srcdir}/safe.c
5b7abbef511cea0b568be0bc8d5b3120a0b9034dEvan Hunt
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyversion.@O@: version.c
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -DVERSION=\"${VERSION}\" \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -DLIBINTERFACE=${LIBINTERFACE} \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -DLIBREVISION=${LIBREVISION} \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -DLIBAGE=${LIBAGE} \
139154bd9894495042f4e748f554e9c8b98b7598Bob Halley -c ${srcdir}/version.c
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉libisc.@SA@: ${OBJS} ${SYMTBLOBJS}
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 ${AR} ${ARFLAGS} $@ ${OBJS} ${SYMTBLOBJS}
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 ${RANLIB} $@
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉libisc-nosymtbl.@SA@: ${OBJS}
fd35453765c6494d077edca44f4d998af5fd4cfaDavid Lawrence ${AR} ${ARFLAGS} $@ ${OBJS}
fd35453765c6494d077edca44f4d998af5fd4cfaDavid Lawrence ${RANLIB} $@
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉libisc.la: ${OBJS} ${SYMTBLOBJS}
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews ${LIBTOOL_MODE_LINK} \
9f7d51ee3290e2a064d71016a6bd555b47134a7cMark Andrews ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc.la -rpath ${libdir} \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 ${OBJS} ${SYMTBLOBJS} ${LIBS}
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉libisc-nosymtbl.la: ${OBJS}
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 ${LIBTOOL_MODE_LINK} \
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libisc-nosymtbl.la -rpath ${libdir} \
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${OBJS} ${LIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉timestamp: libisc.@A@ libisc-nosymtbl.@A@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley touch timestamp
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
0d24df5c0b2f9546f403113df8ac4457223bc92fEvan Hunttestdirs: libisc.@A@ libisc-nosymtbl.@A@
0d24df5c0b2f9546f403113df8ac4457223bc92fEvan Hunt
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinstalldirs:
922e6a3c2ac4ef900dd9dc99f0cc137f18372583Andreas Gustafsson $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinstall:: timestamp installdirs
f687e639f00a31e0884fb2c95a627b10b50c364bEvan Hunt ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisc.@A@ ${DESTDIR}${libdir}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
8a5809527e6c85e39699901712a455d5480907c1Evan Huntuninstall::
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libisc.@A@
8a5809527e6c85e39699901712a455d5480907c1Evan Hunt
4880900113e4d0f17884f3fbdbf4c302e3f9ea91Bob Halleyclean distclean::
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \
a27fe4c990f96bd792f2a07ca4d38c78d5b9df2cTatuya JINMEI 神明達哉 libisc-nosymtbl.la timestamp