Makefile.in revision 79f0eedd657d75889009226aa7ce23eeac28df5c
9e6de65c57eddc3790badaad3b9481aaaed18e03Brian Wellington# Copyright (C) 2004-2015 Internet Systems Consortium, Inc. ("ISC")
431a83fb29482c5170b3e4026e59bb14849a6707Tinderbox User# Copyright (C) 1998-2003 Internet Software Consortium.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Permission to use, copy, modify, and/or distribute this software for any
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# purpose with or without fee is hereby granted, provided that the above
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence# copyright notice and this permission notice appear in all copies.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# PERFORMANCE OF THIS SOFTWARE.
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrencesrcdir = @srcdir@
f389bc2c9e9e434380e10221778b7b548612a67fDavid LawrenceVPATH = @srcdir@
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austeintop_srcdir = @top_srcdir@
d09197467bbb156dccf0cbe72bb5c63480d5cfdcDavid Lawrence# Attempt to disable parallel processing.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb@BIND9_VERSION@
62ac31d7fd09b0bf2231e5f55ed85aed39bc2df6Evan Hunt@BIND9_MAJOR@
62ac31d7fd09b0bf2231e5f55ed85aed39bc2df6Evan Hunt@LIBDNS_MAPAPI@
03b5d2689df73fa9a50ff684511fa9d81f317e6cEvan Hunt@BIND9_MAKE_INCLUDES@
a03848252fa85734ca75beae3d0b01bb503c0a8bMark AndrewsUSE_ISC_SPNEGO = @USE_ISC_SPNEGO@
5597be9bb88de138dfec9fa9176708443813925eTatuya JINMEI 神明達哉CINCLUDES = -I. -I${top_srcdir}/lib/dns -Iinclude ${DNS_INCLUDES} \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ${ISC_INCLUDES} @DST_OPENSSL_INC@ @DST_GSSAPI_INC@
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid LawrenceCDEFINES = -DUSE_MD5 @CRYPTO@ @USE_GSSAPI@ ${USE_ISC_SPNEGO}
891a1bead8d02d29eb7b4993d7c0975047b0963dDavid LawrenceISCLIBS = ../../lib/isc/libisc.@A@
891a1bead8d02d29eb7b4993d7c0975047b0963dDavid LawrenceISCDEPLIBS = ../../lib/isc/libisc.@A@
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# Alphabetically
73d62a89f1493865c33c689b3ee3de91c74ad58eDavid LawrenceOPENSSLGOSTLINKOBJS = opensslgost_link.@O@
7829fad4093f2c1985b1efb7cea00287ff015d2bckbOPENSSLLINKOBJS = openssl_link.@O@ openssldh_link.@O@ openssldsa_link.@O@ \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb opensslecdsa_link.@O@ @OPENSSLGOSTLINKOBJS@ \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb opensslrsa_link.@O@
7829fad4093f2c1985b1efb7cea00287ff015d2bckbPKCS11LINKOBJS = pkcs11dh_link.@O@ pkcs11dsa_link.@O@ pkcs11rsa_link.@O@ \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb pkcs11ecdsa_link.@O@ pkcs11gost_link.@O@ pkcs11.@O@
7829fad4093f2c1985b1efb7cea00287ff015d2bckbDSTOBJS = @DST_EXTRA_OBJS@ @OPENSSLLINKOBJS@ @PKCS11LINKOBJS@ \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb dst_api.@O@ dst_lib.@O@ dst_parse.@O@ dst_result.@O@ \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb gssapi_link.@O@ gssapictx.@O@ hmac_link.@O@ key.@O@
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael GraffGEOIPLINKOBJS = geoip.@O@
f389bc2c9e9e434380e10221778b7b548612a67fDavid LawrenceDNSTAPOBJS = dnstap.@O@ dnstap.pb-c.@O@
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# Alphabetically
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid LawrenceDNSOBJS = acache.@O@ acl.@O@ adb.@O@ badcache.@O@ byaddr.@O@ \
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence cache.@O@ callbacks.@O@ clientinfo.@O@ compress.@O@ \
c80dde0676a7f36f65e0ad8d646bf505705fe64bDavid Lawrence db.@O@ dbiterator.@O@ dbtable.@O@ diff.@O@ dispatch.@O@ \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff dlz.@O@ dns64.@O@ dnssec.@O@ ds.@O@ dyndb.@O@ forward.@O@ \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff iptable.@O@ journal.@O@ keydata.@O@ keytable.@O@ \
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence lib.@O@ log.@O@ lookup.@O@ \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff master.@O@ masterdump.@O@ message.@O@ \
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence name.@O@ ncache.@O@ nsec.@O@ nsec3.@O@ nta.@O@ \
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence order.@O@ peer.@O@ portlist.@O@ private.@O@ \
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence rbt.@O@ rbtdb.@O@ rbtdb64.@O@ rcode.@O@ rdata.@O@ \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff rdatalist.@O@ rdataset.@O@ rdatasetiter.@O@ rdataslab.@O@ \
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence request.@O@ resolver.@O@ result.@O@ rootns.@O@ \
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence rpz.@O@ rrl.@O@ rriterator.@O@ sdb.@O@ \
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence sdlz.@O@ soa.@O@ ssu.@O@ ssu_external.@O@ \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater stats.@O@ tcpmsg.@O@ time.@O@ timer.@O@ tkey.@O@ \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater tsec.@O@ tsig.@O@ ttl.@O@ update.@O@ validator.@O@ \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater version.@O@ view.@O@ xfrin.@O@ zone.@O@ zonekey.@O@ zt.@O@
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic UpdaterPORTDNSOBJS = client.@O@ ecdb.@O@
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic UpdaterOBJS= ${DNSOBJS} ${OTHEROBJS} ${DSTOBJS} ${PORTDNSOBJS} \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater @DNSTAPOBJS@ @GEOIPLINKOBJS@
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence# Alphabetically
0f5962ac3e4ef336faff68f1cb838505e64665e5David LawrenceOPENSSLGOSTLINKSRCS = opensslgost_link.c
0f5962ac3e4ef336faff68f1cb838505e64665e5David LawrenceOPENSSLLINKSRCS = openssl_link.c openssldh_link.c openssldsa_link.c \
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence opensslecdsa_link.c @OPENSSLGOSTLINKSRCS@ opensslrsa_link.c
7829fad4093f2c1985b1efb7cea00287ff015d2bckbPKCS11LINKSRCS = pkcs11dh_link.c pkcs11dsa_link.c pkcs11rsa_link.c \
7829fad4093f2c1985b1efb7cea00287ff015d2bckbDSTSRCS = @DST_EXTRA_SRCS@ @OPENSSLLINKSRCS@ @PKCS11LINKSRCS@ \
7829fad4093f2c1985b1efb7cea00287ff015d2bckbGEOIPLINKSRCS = geoip.c
b4a865ee130c8a1623a7060c27efec0c1f238403Francis DupontDNSSRCS = acache.c acl.c adb.c badcache. byaddr.c \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb version.c view.c xfrin.c zone.c zonekey.c zt.c ${OTHERSRCS}
7829fad4093f2c1985b1efb7cea00287ff015d2bckbSRCS = ${DSTSRCS} ${DNSSRCS} ${PORTDNSSRCS} @DNSTAPSRCS@ @GEOIPLINKSRCS@
7829fad4093f2c1985b1efb7cea00287ff015d2bckbSUBDIRS = include
7829fad4093f2c1985b1efb7cea00287ff015d2bckbTARGETS = include/dns/enumtype.h include/dns/enumclass.h \
7829fad4093f2c1985b1efb7cea00287ff015d2bckbTESTDIRS = @UNITTESTS@
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox UserDEPENDEXTRA = ./gen -F include/dns/rdatastruct.h \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -s ${srcdir} -d >> Makefile ;
7829fad4093f2c1985b1efb7cea00287ff015d2bckb@BIND9_MAKE_RULES@
7829fad4093f2c1985b1efb7cea00287ff015d2bckbPROTOC_C = @PROTOC_C@
7829fad4093f2c1985b1efb7cea00287ff015d2bckbversion.@O@: version.c
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -DVERSION=\"${VERSION}\" \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -DMAJOR=\"${MAJOR}\" \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -DMAPAPI=\"${MAPAPI}\" \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -DLIBINTERFACE=${LIBINTERFACE} \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -DLIBREVISION=${LIBREVISION} \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -DLIBAGE=${LIBAGE} \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -c ${srcdir}/version.c
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Huntlibdns.@SA@: ${OBJS}
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ${AR} ${ARFLAGS} $@ ${OBJS}
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ${RANLIB} $@
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunt ${LIBTOOL_MODE_LINK} \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libdns.la -rpath ${libdir} \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User ${OBJS} ${ISCLIBS} @DNS_CRYPTO_LIBS@ ${LIBS}
e59937c7283216ca22ce6e7937b06eab6d97f4acEvan Hunttimestamp: libdns.@A@
7829fad4093f2c1985b1efb7cea00287ff015d2bckb touch timestamp
7829fad4093f2c1985b1efb7cea00287ff015d2bckb $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
7829fad4093f2c1985b1efb7cea00287ff015d2bckbinstall:: timestamp installdirs
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libdns.@A@ ${DESTDIR}${libdir}
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox Userclean distclean::
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox User rm -f libdns.@A@ timestamp
7829fad4093f2c1985b1efb7cea00287ff015d2bckb rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
7829fad4093f2c1985b1efb7cea00287ff015d2bckb rm -f code.h include/dns/enumtype.h include/dns/enumclass.h
8e6b386ab7e2d1bd8efedecbb8f4efb6b572a866Tinderbox Userinclude: include/dns/enumtype.h include/dns/enumclass.h \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ./gen -s ${srcdir} -t > $@
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ./gen -s ${srcdir} -c > $@
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ./gen -s ${srcdir} -i \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ./gen -s ${srcdir} > code.h
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
620620df3a74a5a57dc25221aae5033568703eb2Tinderbox User ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrencesubdirs: include/dns/enumtype.h include/dns/enumclass.h \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff${OBJS}: include/dns/enumtype.h include/dns/enumclass.h \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graffdnstap.pb-c.c dnstap.pb-c.h include/dns/dnstap.pb-c.h: dnstap.proto
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(PROTOC_C) --c_out=. dnstap.proto