Makefile.in revision 01b8865b1462ba219c90cf6c00f1bf0fdf780d9b
d7201de09b85929a86b157f4b2d91667c68c6b52Automatic Updater# Copyright (C) 1998-2001 Internet Software Consortium.
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews#
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews# Permission to use, copy, modify, and distribute this software for any
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# purpose with or without fee is hereby granted, provided that the above
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews# copyright notice and this permission notice appear in all copies.
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews#
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews
12178c86525332bb0ab66155feb61fbf32eca6acEvan Hunt# $Id: Makefile.in,v 1.121 2001/01/17 01:22:15 bwelling Exp $
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrewssrcdir = @srcdir@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsVPATH = @srcdir@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrewstop_srcdir = @top_srcdir@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews@BIND9_VERSION@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews@LIBDNS_API@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews@BIND9_INCLUDES@
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsCINCLUDES = -I. ${DNS_INCLUDES} ${ISC_INCLUDES}
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsCDEFINES =
12178c86525332bb0ab66155feb61fbf32eca6acEvan HuntCWARNINGS =
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsLIBS = @LIBS@
e954ec198e535f8a7e17d72241233f825b0df6a6Mark Andrews
6c3098f47651d64c08b0632dff4e7c92925a4d41Mark Andrews#ifdef DNS_OPT_NEWCODES
9b4a030a309b81fec50275b8708fd678a09411efMark AndrewsOTHEROBJS = opt.@O@
e954ec198e535f8a7e17d72241233f825b0df6a6Mark AndrewsOTHERSRCS = opt.c
e954ec198e535f8a7e17d72241233f825b0df6a6Mark Andrews#endif /* DNS_OPT_NEWCODES */
531f6c355bde4b280d1dea749dd1bcdf6b2f8701Mark Andrews
9b4a030a309b81fec50275b8708fd678a09411efMark Andrews# Alphabetically
e954ec198e535f8a7e17d72241233f825b0df6a6Mark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsCONFOBJS = config/confacl.@O@ config/confcache.@O@ config/confcommon.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews config/confctl.@O@ config/confctx.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews config/confip.@O@ config/confkeys.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews config/conflog.@O@ config/conflsn.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews config/conflwres.@O@ \
b493dfe8bce94b05efc0f161238d32f1234c5670Brian Wellington config/confndc.@O@ config/confparser.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews config/confresolv.@O@ config/confrrset.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews config/confview.@O@ config/confzone.@O@
b493dfe8bce94b05efc0f161238d32f1234c5670Brian Wellington
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsDSTOBJS = sec/dst/dst_api.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/dst/dst_lib.@O@ sec/dst/dst_parse.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/dst/dst_result.@O@ sec/dst/gssapi_link.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/dst/gssapictx.@O@ sec/dst/hmac_link.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/dst/key.@O@ sec/dst/openssl_link.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/dst/openssldh_link.@O@ sec/dst/opensslrsa_link.@O@
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark AndrewsOPENSSLOBJS = sec/openssl/a_bitstr.@O@ sec/openssl/a_bytes.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/a_enum.@O@ sec/openssl/a_gentm.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/a_int.@O@ sec/openssl/a_object.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/a_octet.@O@ sec/openssl/a_print.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/a_set.@O@ sec/openssl/a_type.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/a_utctm.@O@ sec/openssl/a_utf8.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/a_vis.@O@ sec/openssl/asn1_lib.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/bn_add.@O@ sec/openssl/bn_asm.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/bn_blind.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/bn_ctx.@O@ sec/openssl/bn_div.@O@ \
9b4a030a309b81fec50275b8708fd678a09411efMark Andrews sec/openssl/bn_err.@O@ sec/openssl/bn_exp.@O@ \
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews sec/openssl/bn_exp2.@O@ sec/openssl/bn_gcd.@O@ \
9f7d51ee3290e2a064d71016a6bd555b47134a7cMark Andrews sec/openssl/bn_lib.@O@ sec/openssl/bn_mont.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/bn_mul.@O@ sec/openssl/bn_prime.@O@ \
9b4a030a309b81fec50275b8708fd678a09411efMark Andrews sec/openssl/bn_print.@O@ sec/openssl/bn_rand.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/bn_recp.@O@ sec/openssl/bn_shift.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/bn_sqr.@O@ sec/openssl/bn_word.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/buffer.@O@ sec/openssl/cryptlib.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/dh_err.@O@ sec/openssl/dh_gen.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/dh_key.@O@ sec/openssl/dh_lib.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/dsa_asn1.@O@ sec/openssl/dsa_err.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/dsa_gen.@O@ sec/openssl/dsa_key.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/dsa_lib.@O@ sec/openssl/dsa_ossl.@O@ \
74cb99072c4b0ebd2ccafcfa284288fa760f7a1aMark Andrews sec/openssl/dsa_sign.@O@ sec/openssl/dsa_vrf.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/err.@O@ sec/openssl/ex_data.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/lhash.@O@ sec/openssl/mem_dbg.@O@ \
c2bc56dc65b4b103a5600565680eb5f33fa4c90bMark Andrews sec/openssl/mem.@O@ sec/openssl/obj_dat.@O@ \
sec/openssl/obj_lib.@O@ sec/openssl/rand_lib.@O@ \
sec/openssl/rsa_chk.@O@ sec/openssl/rsa_eay.@O@ \
sec/openssl/rsa_gen.@O@ sec/openssl/rsa_lib.@O@ \
sec/openssl/rsa_none.@O@ sec/openssl/rsa_oaep.@O@ \
sec/openssl/rsa_pk1.@O@ \
sec/openssl/rsa_sign.@O@ sec/openssl/rsa_ssl.@O@ \
sec/openssl/sha1_one.@O@ sec/openssl/sha1dgst.@O@ \
sec/openssl/stack.@O@ \
sec/openssl/x_sig.@O@ sec/openssl/x_algor.@O@
# Alphabetically
OBJS = a6.@O@ acl.@O@ adb.@O@ byaddr.@O@ \
cache.@O@ callbacks.@O@ compress.@O@ \
db.@O@ dbiterator.@O@ dbtable.@O@ diff.@O@ dispatch.@O@ \
dnssec.@O@ forward.@O@ journal.@O@ keytable.@O@ \
lib.@O@ log.@O@ lookup.@O@ \
master.@O@ masterdump.@O@ message.@O@ \
name.@O@ ncache.@O@ nxt.@O@ peer.@O@ \
rbt.@O@ rbtdb.@O@ rbtdb64.@O@ rdata.@O@ rdatalist.@O@ \
rdataset.@O@ rdatasetiter.@O@ rdataslab.@O@ request.@O@ \
resolver.@O@ result.@O@ rootns.@O@ sdb.@O@ ssu.@O@ \
stats.@O@ tcpmsg.@O@ time.@O@ timer.@O@ tkey.@O@ \
tsig.@O@ ttl.@O@ validator.@O@ \
version.@O@ view.@O@ xfrin.@O@ zone.@O@ zonekey.@O@ zt.@O@ \
${OTHEROBJS} ${DSTOBJS} @DST_OPENSSL_OBJS@ ${CONFOBJS}
# Alphabetically
SRCS = a6.c acl.c adb.c byaddr.c \
cache.c callbacks.c compress.c \
db.c dbiterator.c dbtable.c diff.c dispatch.c \
dnssec.c forward.c journal.c keytable.c \
lib.c log.c lookup.c \
master.c masterdump.c message.c \
name.c ncache.c nxt.c peer.c \
rbt.c rbtdb.c rbtdb64.c rdata.c rdatalist.c \
rdataset.c rdatasetiter.c rdataslab.c request.c \
resolver.c result.c rootns.c sdb.c ssu.c \
stats.c tcpmsg.c time.c timer.c tkey.c \
tsig.c ttl.c validator.c \
version.c view.c xfrin.c zone.c zonekey.c zt.c ${OTHERSRCS}
SUBDIRS = include sec config
TARGETS = include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h timestamp
DEPENDEXTRA = ./gen -F include/dns/rdatastruct.h \
-s ${srcdir} -d >> Makefile ;
@BIND9_MAKE_RULES@
version.@O@: version.c
${LIBTOOL} ${CC} ${ALL_CFLAGS} \
-DVERSION=\"${VERSION}\" \
-DLIBINTERFACE=${LIBINTERFACE} \
-DLIBREVISION=${LIBREVISION} \
-DLIBAGE=${LIBAGE} \
-c ${srcdir}/version.c
libdns.@SA@: ${OBJS}
${AR} ${ARFLAGS} $@ ${OBJS}
${RANLIB} $@
libdns.la: ${OBJS}
${LIBTOOL} --mode=link \
${CC} ${ALL_CFLAGS} -o libdns.la -rpath ${libdir} \
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
${OBJS} ${LIBS}
timestamp: libdns.@A@
touch timestamp
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
install:: timestamp installdirs
${LIBTOOL} ${INSTALL_DATA} libdns.@A@ ${DESTDIR}${libdir}
clean distclean::
rm -f libdns.@A@ timestamp
rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
rm -f include/dns/rdatastruct.h
newrr::
rm -f code.h include/dns/enumtype.h include/dns/enumclass.h
rm -f include/dns/rdatastruct.h
include: include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h
rdata.@O@: code.h
include/dns/enumtype.h: gen
./gen -s ${srcdir} -t > $@
include/dns/enumclass.h: gen
./gen -s ${srcdir} -c > $@
include/dns/rdatastruct.h: gen \
${srcdir}/rdata/rdatastructpre.h \
${srcdir}/rdata/rdatastructsuf.h
./gen -s ${srcdir} -i \
-P ${srcdir}/rdata/rdatastructpre.h \
-S ${srcdir}/rdata/rdatastructsuf.h > $@
code.h: gen
./gen -s ${srcdir} > code.h
gen: gen.c
${CC} ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
rbtdb64.@O@: rbtdb.c
depend: include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h code.h
subdirs: include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h code.h