Makefile.in revision fd35453765c6494d077edca44f4d998af5fd4cfa
4c1132f34493327abc632196f5876a89aa573687Bob Halley# Copyright (C) 1998, 1999 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
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob HalleyCINCLUDES = -I../isc/unix/include \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley -I${srcdir}/../isc/unix/include \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -I${srcdir}/../isc/pthreads/include \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -I${srcdir}/../isc/include \
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley -I./include \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley -I. \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley -I${srcdir}/include \
6d4886fa7430889a96dbf9b88a2a4eb6f9d04674Brian Wellington -I${srcdir}/sec/dst/include \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley -I${srcdir}
6d5dcd0dc9bdbd679282b1ffc47987d24c3a1346Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCDEFINES =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyCWARNINGS =
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
c45abd11bb68005d8a5c56c14b16f4184c3e057dMichael GraffLIBS = @LIBS@
fd35453765c6494d077edca44f4d998af5fd4cfaDavid LawrenceLIBISC = ../isc/libisc.@A@
c45abd11bb68005d8a5c56c14b16f4184c3e057dMichael Graff
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence# Alphabetically
feb08cecf318bba330437cfcb725f48d999804d8James Brister
feb08cecf318bba330437cfcb725f48d999804d8James BristerCONFOBJS = config/confacl.@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@ \
feb08cecf318bba330437cfcb725f48d999804d8James Brister config/confparser.@O@ config/confrrset.@O@ \
feb08cecf318bba330437cfcb725f48d999804d8James Brister config/confserv.@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@ \
75e4800964642475632766068e8d99de3ea3e8f0Brian Wellington sec/dst/dst_result.@O@ sec/dst/dst_support.@O@ \
75e4800964642475632766068e8d99de3ea3e8f0Brian Wellington sec/dst/dst_lib.@O@
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian WellingtonOPENSSLOBJS = sec/openssl/bn_add.@O@ sec/openssl/bn_asm.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/bn_comba.@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@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/dsa_lib.@O@ sec/openssl/dsa_sign.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/dsa_vrf.@O@ sec/openssl/err.@O@ \
65c4736d9c0ebc6d9b1d991593b55566909da9cdBrian Wellington sec/openssl/lhash.@O@ sec/openssl/md_rand.@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
fc80027fb54b501cdd88461bf879d078259e0226David LawrenceOBJS = a6.@O@ address.@O@ callbacks.@O@ compress.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence db.@O@ dbiterator.@O@ dbtable.@O@ dispatch.@O@ dnssec.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence journal.@O@ lib.@O@ log.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence master.@O@ masterdump.@O@ message.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence name.@O@ ncache.@O@ nxt.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence rbt.@O@ rbtdb.@O@ rbtdb64.@O@ rdata.@O@ rdatalist.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence rdataset.@O@ rdatasetiter.@O@ rdataslab.@O@ resolver.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence result.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence tcpmsg.@O@ time.@O@ tsig.@O@ ttl.@O@ \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence version.@O@ view.@O@ zone.@O@ \
feb08cecf318bba330437cfcb725f48d999804d8James Brister ${DSTOBJS} ${OPENSSLOBJS} ${DNSSAFEOBJS} ${CONFOBJS}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence# Alphabetically
fc80027fb54b501cdd88461bf879d078259e0226David LawrenceSRCS = a6.c address.c callbacks.c compress.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence db.c dbiterator.c dbtable.c dispatch.c dnssec.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence journal.c lib.c log.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence master.c masterdump.c message.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence name.c ncache.c nxt.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence rbt.c rbtdb.c rbtdb64.c rdata.c rdatalist.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence rdataset.c rdatasetiter.c rdataslab.c resolver.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence result.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence tcpmsg.c time.c tsig.c ttl.c \
fc80027fb54b501cdd88461bf879d078259e0226David Lawrence version.c view.c zone.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
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} \
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley -c $<
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
fd35453765c6494d077edca44f4d998af5fd4cfaDavid Lawrencelibdns.@A@: ${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:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if [ ! -d ${libdir} ]; then \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley mkdir ${libdir} ; \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyinstall:: timestamp installdirs
64e41159a919b0711321fe688ca5da4f4d1b7d80Bob Halley ${LIBTOOL} ${INSTALL_DATA} libdns.@A@ ${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
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
c45abd11bb68005d8a5c56c14b16f4184c3e057dMichael Graff ${CC} ${ALL_CFLAGS} -o $@ $? ${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
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halleysec: include/dns/enumtype.h include/dns/enumclass.h \
1471a520e59ac12b413afa8d8b3158a87af97aa6Bob Halley include/dns/rdatastruct.h code.h