Makefile.in revision 78d14e388a4cdc0ac25ddb1aa131f0871fafa04d
7d32c065c7bb56f281651ae3dd2888f32ce4f1d9Bob Halley# Copyright (C) 1998, 1999, 2000 Internet Software Consortium.
4c1132f34493327abc632196f5876a89aa573687Bob Halley#
4c1132f34493327abc632196f5876a89aa573687Bob Halley# Permission to use, copy, modify, and distribute this software for any
4c1132f34493327abc632196f5876a89aa573687Bob Halley# purpose with or without fee is hereby granted, provided that the above
4c1132f34493327abc632196f5876a89aa573687Bob Halley# copyright notice and this permission notice appear in all copies.
4c1132f34493327abc632196f5876a89aa573687Bob Halley#
4c1132f34493327abc632196f5876a89aa573687Bob Halley# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
4c1132f34493327abc632196f5876a89aa573687Bob Halley# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
4c1132f34493327abc632196f5876a89aa573687Bob Halley# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
4c1132f34493327abc632196f5876a89aa573687Bob Halley# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
4c1132f34493327abc632196f5876a89aa573687Bob Halley# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
4c1132f34493327abc632196f5876a89aa573687Bob Halley# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
4c1132f34493327abc632196f5876a89aa573687Bob Halley# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
4c1132f34493327abc632196f5876a89aa573687Bob Halley# SOFTWARE.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleysrcdir = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob HalleyVPATH = @srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halleytop_srcdir = @top_srcdir@
f41f183f628a148860a6d1f0070208cddd45b0c6Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_VERSION@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley@LIBDNS_API@
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob Halley@BIND9_INCLUDES@
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob Halley
51917258dbb23cfe6069ae1cf2b7fc5aefc1e0c2Bob HalleyCINCLUDES = -I. ${DNS_INCLUDES} ${ISC_INCLUDES}
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCDEFINES =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCWARNINGS =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
c45abd11bb68005d8a5c56c14b16f4184c3e057dMichael GraffLIBS = @LIBS@
c45abd11bb68005d8a5c56c14b16f4184c3e057dMichael Graff
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence# Alphabetically
feb08cecf318bba330437cfcb725f48d999804d8James Brister
c6d0fc864de5153699688ffd28ef8a286b986354James BristerCONFOBJS = config/confacl.@O@ config/confcache.@O@ config/confcommon.@O@ \
feb08cecf318bba330437cfcb725f48d999804d8James Brister config/confctl.@O@ config/confctx.@O@ \
feb08cecf318bba330437cfcb725f48d999804d8James Brister config/confip.@O@ config/confkeys.@O@ \
feb08cecf318bba330437cfcb725f48d999804d8James Brister config/conflog.@O@ config/conflsn.@O@ \
e49d50b4436d760c040dca81c8426ee806996d6bDavid Lawrence config/confndc.@O@ config/confparser.@O@ \
e49d50b4436d760c040dca81c8426ee806996d6bDavid Lawrence config/confresolv.@O@ config/confrrset.@O@ \
e323a667e0324e6ac67a10c6fdd82a6a57097dc8James Brister config/confview.@O@ config/confzone.@O@
feb08cecf318bba330437cfcb725f48d999804d8James Brister
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian WellingtonDSTOBJS = sec/dst/bsafe_link.@O@ sec/dst/dst_api.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dst/dst_parse.@O@ sec/dst/hmac_link.@O@ \
75e4800964642475632766068e8d99de3ea3e8f0Brian Wellington sec/dst/openssl_link.@O@ sec/dst/openssldh_link.@O@ \
78d14e388a4cdc0ac25ddb1aa131f0871fafa04dBrian Wellington sec/dst/dst_result.@O@ \
25811a89c64b7499130c7cbd907d638507f0cb87Brian Wellington sec/dst/dst_support.@O@ sec/dst/dst_lib.@O@
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian WellingtonOPENSSLOBJS = sec/openssl/bn_add.@O@ sec/openssl/bn_asm.@O@ \
15f7ee3c0b027d9a6a3e25e548215236326b3b04Brian Wellington sec/openssl/bn_ctx.@O@ sec/openssl/bn_div.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/bn_err.@O@ sec/openssl/bn_exp.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/bn_exp2.@O@ sec/openssl/bn_gcd.@O@ \
75e4800964642475632766068e8d99de3ea3e8f0Brian Wellington sec/openssl/bn_lib.@O@ sec/openssl/bn_mont.@O@ \
75e4800964642475632766068e8d99de3ea3e8f0Brian Wellington sec/openssl/bn_mul.@O@ sec/openssl/bn_prime.@O@ \
75e4800964642475632766068e8d99de3ea3e8f0Brian Wellington sec/openssl/bn_print.@O@ sec/openssl/bn_rand.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/bn_recp.@O@ sec/openssl/bn_shift.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/bn_sqr.@O@ sec/openssl/bn_word.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/buffer.@O@ sec/openssl/cryptlib.@O@ \
75e4800964642475632766068e8d99de3ea3e8f0Brian Wellington sec/openssl/dh_err.@O@ sec/openssl/dh_gen.@O@ \
75e4800964642475632766068e8d99de3ea3e8f0Brian Wellington sec/openssl/dh_key.@O@ sec/openssl/dh_lib.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/dsa_asn1.@O@ sec/openssl/dsa_err.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/dsa_gen.@O@ sec/openssl/dsa_key.@O@ \
15f7ee3c0b027d9a6a3e25e548215236326b3b04Brian Wellington sec/openssl/dsa_lib.@O@ sec/openssl/dsa_ossl.@O@ \
15f7ee3c0b027d9a6a3e25e548215236326b3b04Brian Wellington sec/openssl/dsa_sign.@O@ sec/openssl/dsa_vrf.@O@ \
15f7ee3c0b027d9a6a3e25e548215236326b3b04Brian Wellington sec/openssl/err.@O@ sec/openssl/ex_data.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/lhash.@O@ sec/openssl/md_rand.@O@ \
15f7ee3c0b027d9a6a3e25e548215236326b3b04Brian Wellington sec/openssl/mem_dbg.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/md5_dgst.@O@ sec/openssl/mem.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/rand_lib.@O@ sec/openssl/sha1_one.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/sha1dgst.@O@ sec/openssl/stack.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/th-lock.@O@
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian WellingtonDNSSAFEOBJS = sec/dnssafe/ahchdig.@O@ sec/dnssafe/ahchencr.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/ahchgen.@O@ sec/dnssafe/ahchrand.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/ahdigest.@O@ sec/dnssafe/ahencryp.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/ahgen.@O@ sec/dnssafe/ahrandom.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/ahrsaenc.@O@ sec/dnssafe/ahrsaepr.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/ahrsaepu.@O@ sec/dnssafe/aichdig.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/aichenc8.@O@ sec/dnssafe/aichencn.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/aichencr.@O@ sec/dnssafe/aichgen.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/aichrand.@O@ sec/dnssafe/aimd5.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/aimd5ran.@O@ sec/dnssafe/ainfotyp.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/ainull.@O@ sec/dnssafe/airsaepr.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/airsaepu.@O@ sec/dnssafe/airsakgn.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/airsaprv.@O@ sec/dnssafe/airsapub.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/algchoic.@O@ sec/dnssafe/algobj.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/amcrte.@O@ sec/dnssafe/ammd5.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/ammd5r.@O@ sec/dnssafe/amrkg.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/amrsae.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/balg.@O@ sec/dnssafe/bgclrbit.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bgmdmpyx.@O@ sec/dnssafe/bgmdsqx.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bgmodexp.@O@ sec/dnssafe/bgpegcd.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/big2exp.@O@ sec/dnssafe/bigabs.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bigacc.@O@ sec/dnssafe/bigarith.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bigcmp.@O@ sec/dnssafe/bigconst.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/biginv.@O@ sec/dnssafe/biglen.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bigmodx.@O@ sec/dnssafe/bigmpy.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bigpdiv.@O@ sec/dnssafe/bigpmpy.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bigpmpyh.@O@ sec/dnssafe/bigpmpyl.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bigpsq.@O@ sec/dnssafe/bigqrx.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bigsmod.@O@ sec/dnssafe/bigtocan.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bigu.@O@ sec/dnssafe/bigunexp.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/binfocsh.@O@ sec/dnssafe/bkey.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/bmempool.@O@ sec/dnssafe/cantobig.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/crt2.@O@ sec/dnssafe/digest.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/digrand.@O@ sec/dnssafe/encrypt.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/generate.@O@ sec/dnssafe/intbits.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/intitem.@O@ sec/dnssafe/keyobj.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/ki8byte.@O@ sec/dnssafe/kiitem.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/kinfotyp.@O@ sec/dnssafe/kifulprv.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/kipkcrpr.@O@ sec/dnssafe/kirsacrt.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/kirsapub.@O@ sec/dnssafe/md5.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/md5rand.@O@ sec/dnssafe/prime.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/random.@O@ sec/dnssafe/rsa.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/rsakeygn.@O@ sec/dnssafe/seccbcd.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/dnssafe/seccbce.@O@ sec/dnssafe/surrendr.@O@
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence# Alphabetically
70b4d105693138a3e2f3b2f365e666f2a1e31a33Bob HalleyOBJS = a6.@O@ acl.@O@ aclconf.@O@ adb.@O@ byaddr.@O@ \
6017f424ee3c02d7f22132c77576ea38542fa949Andreas Gustafsson cache.@O@ callbacks.@O@ compress.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence db.@O@ dbiterator.@O@ dbtable.@O@ dispatch.@O@ dnssec.@O@ \
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley journal.@O@ keytable.@O@ lib.@O@ log.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence master.@O@ masterdump.@O@ message.@O@ \
e323a667e0324e6ac67a10c6fdd82a6a57097dc8James Brister name.@O@ ncache.@O@ nxt.@O@ peer.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence rbt.@O@ rbtdb.@O@ rbtdb64.@O@ rdata.@O@ rdatalist.@O@ \
e420bc4e0dd289dbd5dfd2acf228f772b96ebd8fMark Andrews rdataset.@O@ rdatasetiter.@O@ rdataslab.@O@ request.@O@ \
e420bc4e0dd289dbd5dfd2acf228f772b96ebd8fMark Andrews resolver.@O@ result.@O@ rootns.@O@ ssu.@O@ \
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson tcpmsg.@O@ time.@O@ tkey.@O@ tkeyconf.@O@ \
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley tsig.@O@ tsigconf.@O@ ttl.@O@ validator.@O@ \
6017f424ee3c02d7f22132c77576ea38542fa949Andreas Gustafsson version.@O@ view.@O@ xfrin.@O@ zone.@O@ zoneconf.@O@ zt.@O@ \
08a768e82ad64ede97f640c88e02984b59122753Michael Graff ${DSTOBJS} @DST_OPENSSL_OBJS@ ${DNSSAFEOBJS} ${CONFOBJS}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence# Alphabetically
70b4d105693138a3e2f3b2f365e666f2a1e31a33Bob HalleySRCS = a6.c acl.c aclconf.c adb.c byaddr.c \
6017f424ee3c02d7f22132c77576ea38542fa949Andreas Gustafsson cache.c callbacks.c compress.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence db.c dbiterator.c dbtable.c dispatch.c dnssec.c \
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley journal.c keytable.c lib.c log.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence master.c masterdump.c message.c \
e323a667e0324e6ac67a10c6fdd82a6a57097dc8James Brister name.c ncache.c nxt.c peer.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence rbt.c rbtdb.c rbtdb64.c rdata.c rdatalist.c \
e420bc4e0dd289dbd5dfd2acf228f772b96ebd8fMark Andrews rdataset.c rdatasetiter.c rdataslab.c request.c \
e420bc4e0dd289dbd5dfd2acf228f772b96ebd8fMark Andrews resolver.c result.c rootns.c ssu.c \
f93d33e24fdf76eb2558168f018b8992bcfc5681Andreas Gustafsson tcpmsg.c time.c tkey.c tkeyconf.c \
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley tsig.c tsigconf.c ttl.c validator.c \
6017f424ee3c02d7f22132c77576ea38542fa949Andreas Gustafsson version.c view.c xfrin.c zone.c zoneconf.c zt.c
4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746Mark Andrews
feb08cecf318bba330437cfcb725f48d999804d8James BristerSUBDIRS = include sec config
4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746Mark AndrewsTARGETS = include/dns/enumtype.h include/dns/enumclass.h \
4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746Mark Andrews include/dns/rdatastruct.h timestamp
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
d2b5fe92a4755ce67f2dd6050955782b4fd6b3f3Mark AndrewsDEPENDEXTRA = ./gen -F include/dns/rdatastruct.h \
d2b5fe92a4755ce67f2dd6050955782b4fd6b3f3Mark Andrews -s ${srcdir} -d >> Makefile ;
d2b5fe92a4755ce67f2dd6050955782b4fd6b3f3Mark Andrews
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley@BIND9_MAKE_RULES@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyversion.@O@: version.c
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${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
193738b819e3c699f9edd18864a6810fcfcec855Andreas Gustafssonlibdns.@SA@: ${OBJS}
fd35453765c6494d077edca44f4d998af5fd4cfaDavid Lawrence ${AR} ${ARFLAGS} $@ ${OBJS}
fd35453765c6494d077edca44f4d998af5fd4cfaDavid Lawrence ${RANLIB} $@
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleylibdns.la: ${OBJS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} --mode=link \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${CC} ${ALL_CFLAGS} -o libdns.la -rpath ${libdir} \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${OBJS} ${LIBS}
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleytimestamp: libdns.@A@
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley touch timestamp
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinstalldirs:
a2f3208f7f754cbc5156a1d798ae06d8f3546be2Bob Halley if [ ! -d ${DESTDIR}${libdir} ]; then \
a2f3208f7f754cbc5156a1d798ae06d8f3546be2Bob Halley mkdir ${DESTDIR}${libdir} ; \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinstall:: timestamp installdirs
a2f3208f7f754cbc5156a1d798ae06d8f3546be2Bob Halley ${LIBTOOL} ${INSTALL_DATA} libdns.@A@ ${DESTDIR}${libdir}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
4880900113e4d0f17884f3fbdbf4c302e3f9ea91Bob Halleyclean distclean::
fd35453765c6494d077edca44f4d998af5fd4cfaDavid Lawrence rm -f libdns.@A@ timestamp
c8a42d6d81ff2fd9ad7fac94d4b85323554493c0Bob Halley rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746Mark Andrews rm -f include/dns/rdatastruct.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
6ef838d427c1ea858d2f09194a369134babf8b98Mark Andrewsnewrr::
6ef838d427c1ea858d2f09194a369134babf8b98Mark Andrews rm -f code.h include/dns/enumtype.h include/dns/enumclass.h
6ef838d427c1ea858d2f09194a369134babf8b98Mark Andrews rm -f include/dns/rdatastruct.h
6ef838d427c1ea858d2f09194a369134babf8b98Mark Andrews
6d831cd0baf7dd2c133f7f9cbf295f3d80cf63a7David Lawrenceinclude: include/dns/enumtype.h include/dns/enumclass.h \
6d831cd0baf7dd2c133f7f9cbf295f3d80cf63a7David Lawrence include/dns/rdatastruct.h
dac2799ea19735503a4d27f517d821aea210e594Andreas Gustafsson
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrdata.@O@: code.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrewsinclude/dns/enumtype.h: gen
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} -t > $@
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrews
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrewsinclude/dns/enumclass.h: gen
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} -c > $@
6d7585b3e948dd31bf78321d83ac0e024f44a71bMark Andrews
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halleyinclude/dns/rdatastruct.h: gen \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley ${srcdir}/rdata/rdatastructpre.h \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley ${srcdir}/rdata/rdatastructsuf.h
94a3bcd132e515b4baa0884ba9dd0f361d2e17bcMark Andrews ./gen -s ${srcdir} -i \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley -P ${srcdir}/rdata/rdatastructpre.h \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley -S ${srcdir}/rdata/rdatastructsuf.h > $@
4fd3e3482c7e4ce01e2cf28f13e0152c8e50d746Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewscode.h: gen
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley ./gen -s ${srcdir} > code.h
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsgen: gen.c
139154bd9894495042f4e748f554e9c8b98b7598Bob Halley ${CC} ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
bb556a9bf3a15c7160fa4f1b71773ce12b1bedf6Bob Halley
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halleyrbtdb64.@O@: rbtdb.c
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halleydepend: include/dns/enumtype.h include/dns/enumclass.h \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley include/dns/rdatastruct.h code.h
fe37278859bce157001cca14cdfa3a761b0d5012Mark Andrewssubdirs: include/dns/enumtype.h include/dns/enumclass.h \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley include/dns/rdatastruct.h code.h