2003-07-22 00:03:54 -04:00
|
|
|
# Copyright (C) 1998-2001, 2003 Internet Software Consortium.
|
2000-07-31 21:33:37 -04:00
|
|
|
#
|
1999-03-05 23:12:06 -05:00
|
|
|
# Permission to use, copy, modify, and distribute this software for any
|
|
|
|
|
# purpose with or without fee is hereby granted, provided that the above
|
|
|
|
|
# copyright notice and this permission notice appear in all copies.
|
2000-07-31 21:33:37 -04:00
|
|
|
#
|
2000-07-27 05:55:03 -04:00
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
|
|
|
|
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
|
|
|
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
|
|
|
|
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
|
|
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
|
|
|
|
|
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
|
|
|
|
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
|
|
|
|
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
1998-12-11 15:10:26 -05:00
|
|
|
|
2003-10-13 23:48:11 -04:00
|
|
|
# $Id: Makefile.in,v 1.126.2.3.2.6 2003/10/14 03:47:58 marka Exp $
|
2000-06-22 18:00:42 -04:00
|
|
|
|
1998-12-11 21:00:01 -05:00
|
|
|
srcdir = @srcdir@
|
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
|
|
1998-12-11 15:10:26 -05:00
|
|
|
@BIND9_VERSION@
|
|
|
|
|
|
1999-07-03 17:07:10 -04:00
|
|
|
@LIBDNS_API@
|
|
|
|
|
|
2003-08-04 00:23:56 -04:00
|
|
|
@BIND9_MAKE_INCLUDES@
|
1999-10-05 15:52:30 -04:00
|
|
|
|
|
|
|
|
CINCLUDES = -I. ${DNS_INCLUDES} ${ISC_INCLUDES}
|
1999-02-17 20:24:32 -05:00
|
|
|
|
1998-12-11 15:10:26 -05:00
|
|
|
CDEFINES =
|
|
|
|
|
CWARNINGS =
|
|
|
|
|
|
2003-10-09 00:53:05 -04:00
|
|
|
ISCLIBS = ../../lib/isc/libisc.@A@
|
|
|
|
|
|
|
|
|
|
ISCDEPLIBS = ../../lib/isc/libisc.@A@
|
|
|
|
|
|
1999-04-29 01:32:41 -04:00
|
|
|
LIBS = @LIBS@
|
|
|
|
|
|
1999-03-18 14:37:30 -05:00
|
|
|
# Alphabetically
|
1999-09-03 16:56:23 -04:00
|
|
|
|
2003-10-13 23:48:11 -04:00
|
|
|
DSTOBJS = sec/dst/dst_api.@O@ \
|
|
|
|
|
sec/dst/dst_lib.@O@ sec/dst/dst_parse.@O@ \
|
|
|
|
|
sec/dst/dst_result.@O@ sec/dst/gssapi_link.@O@ \
|
|
|
|
|
sec/dst/gssapictx.@O@ sec/dst/hmac_link.@O@ \
|
|
|
|
|
sec/dst/key.@O@ sec/dst/openssl_link.@O@ \
|
|
|
|
|
sec/dst/openssldh_link.@O@ sec/dst/openssldsa_link.@O@ \
|
|
|
|
|
sec/dst/opensslrsa_link.@O@
|
1999-07-12 16:08:42 -04:00
|
|
|
|
1999-09-23 13:43:51 -04:00
|
|
|
# Alphabetically
|
2003-08-25 00:16:27 -04:00
|
|
|
OBJS = acl.@O@ adb.@O@ byaddr.@O@ \
|
1999-12-16 18:11:07 -05:00
|
|
|
cache.@O@ callbacks.@O@ compress.@O@ \
|
2000-12-08 21:17:12 -05:00
|
|
|
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@ \
|
2003-08-26 21:39:27 -04:00
|
|
|
name.@O@ ncache.@O@ nxt.@O@ order.@O@ peer.@O@ portlist.@O@ \
|
2000-11-15 21:05:54 -05:00
|
|
|
rbt.@O@ rbtdb.@O@ rbtdb64.@O@ rdata.@O@ rdatalist.@O@ \
|
|
|
|
|
rdataset.@O@ rdatasetiter.@O@ rdataslab.@O@ request.@O@ \
|
2001-05-21 19:56:34 -04:00
|
|
|
resolver.@O@ result.@O@ rootns.@O@ sdb.@O@ soa.@O@ ssu.@O@ \
|
2000-12-01 18:49:59 -05:00
|
|
|
stats.@O@ tcpmsg.@O@ time.@O@ timer.@O@ tkey.@O@ \
|
2000-11-14 19:36:42 -05:00
|
|
|
tsig.@O@ ttl.@O@ validator.@O@ \
|
2001-01-16 20:22:20 -05:00
|
|
|
version.@O@ view.@O@ xfrin.@O@ zone.@O@ zonekey.@O@ zt.@O@ \
|
2003-10-13 23:48:11 -04:00
|
|
|
${OTHEROBJS} ${DSTOBJS}
|
1998-12-11 15:10:26 -05:00
|
|
|
|
1999-09-23 13:43:51 -04:00
|
|
|
# Alphabetically
|
2003-08-25 00:16:27 -04:00
|
|
|
SRCS = acl.c adb.c byaddr.c \
|
1999-12-16 18:11:07 -05:00
|
|
|
cache.c callbacks.c compress.c \
|
2000-12-08 21:17:12 -05:00
|
|
|
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 \
|
2003-08-26 21:39:27 -04:00
|
|
|
name.c ncache.c nxt.c order.c peer.c portlist.c \
|
2000-11-15 21:05:54 -05:00
|
|
|
rbt.c rbtdb.c rbtdb64.c rdata.c rdatalist.c \
|
|
|
|
|
rdataset.c rdatasetiter.c rdataslab.c request.c \
|
2001-05-21 19:56:34 -04:00
|
|
|
resolver.c result.c rootns.c sdb.c soa.c ssu.c \
|
2000-12-01 18:49:59 -05:00
|
|
|
stats.c tcpmsg.c time.c timer.c tkey.c \
|
2000-11-14 19:36:42 -05:00
|
|
|
tsig.c ttl.c validator.c \
|
2001-01-16 20:22:20 -05:00
|
|
|
version.c view.c xfrin.c zone.c zonekey.c zt.c ${OTHERSRCS}
|
1999-05-04 21:55:13 -04:00
|
|
|
|
2001-03-05 17:49:33 -05:00
|
|
|
SUBDIRS = include sec
|
1999-05-04 21:55:13 -04:00
|
|
|
TARGETS = include/dns/enumtype.h include/dns/enumclass.h \
|
|
|
|
|
include/dns/rdatastruct.h timestamp
|
1998-12-11 15:10:26 -05:00
|
|
|
|
2000-06-05 22:01:41 -04:00
|
|
|
DEPENDEXTRA = ./gen -F include/dns/rdatastruct.h \
|
|
|
|
|
-s ${srcdir} -d >> Makefile ;
|
|
|
|
|
|
1998-12-11 15:10:26 -05:00
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
|
|
1999-07-03 17:07:10 -04:00
|
|
|
version.@O@: version.c
|
|
|
|
|
${LIBTOOL} ${CC} ${ALL_CFLAGS} \
|
|
|
|
|
-DVERSION=\"${VERSION}\" \
|
|
|
|
|
-DLIBINTERFACE=${LIBINTERFACE} \
|
|
|
|
|
-DLIBREVISION=${LIBREVISION} \
|
|
|
|
|
-DLIBAGE=${LIBAGE} \
|
1999-10-08 12:40:38 -04:00
|
|
|
-c ${srcdir}/version.c
|
1998-12-11 15:10:26 -05:00
|
|
|
|
2000-02-23 18:02:28 -05:00
|
|
|
libdns.@SA@: ${OBJS}
|
1999-09-30 16:10:31 -04:00
|
|
|
${AR} ${ARFLAGS} $@ ${OBJS}
|
|
|
|
|
${RANLIB} $@
|
1999-07-03 17:07:10 -04:00
|
|
|
|
|
|
|
|
libdns.la: ${OBJS}
|
|
|
|
|
${LIBTOOL} --mode=link \
|
|
|
|
|
${CC} ${ALL_CFLAGS} -o libdns.la -rpath ${libdir} \
|
|
|
|
|
-version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
|
2003-10-09 00:53:05 -04:00
|
|
|
${OBJS} ${LIBS} ${ISCLIBS}
|
1999-07-03 17:07:10 -04:00
|
|
|
|
|
|
|
|
timestamp: libdns.@A@
|
1998-12-11 15:10:26 -05:00
|
|
|
touch timestamp
|
|
|
|
|
|
|
|
|
|
installdirs:
|
2000-09-20 15:06:16 -04:00
|
|
|
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir}
|
1998-12-11 15:10:26 -05:00
|
|
|
|
|
|
|
|
install:: timestamp installdirs
|
2000-02-08 16:50:23 -05:00
|
|
|
${LIBTOOL} ${INSTALL_DATA} libdns.@A@ ${DESTDIR}${libdir}
|
1998-12-11 15:10:26 -05:00
|
|
|
|
1999-01-06 00:39:52 -05:00
|
|
|
clean distclean::
|
1999-09-30 16:10:31 -04:00
|
|
|
rm -f libdns.@A@ timestamp
|
1999-01-29 20:40:16 -05:00
|
|
|
rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
|
1999-05-04 21:55:13 -04:00
|
|
|
rm -f include/dns/rdatastruct.h
|
1999-01-18 21:20:26 -05:00
|
|
|
|
1999-10-13 19:12:11 -04:00
|
|
|
newrr::
|
|
|
|
|
rm -f code.h include/dns/enumtype.h include/dns/enumclass.h
|
|
|
|
|
rm -f include/dns/rdatastruct.h
|
|
|
|
|
|
2000-05-25 20:21:52 -04:00
|
|
|
include: include/dns/enumtype.h include/dns/enumclass.h \
|
|
|
|
|
include/dns/rdatastruct.h
|
1999-11-30 17:10:08 -05:00
|
|
|
|
1999-07-03 17:07:10 -04:00
|
|
|
rdata.@O@: code.h
|
1999-01-18 21:20:26 -05:00
|
|
|
|
1999-01-28 00:16:42 -05:00
|
|
|
include/dns/enumtype.h: gen
|
1999-02-17 20:24:32 -05:00
|
|
|
./gen -s ${srcdir} -t > $@
|
1999-01-28 00:16:42 -05:00
|
|
|
|
|
|
|
|
include/dns/enumclass.h: gen
|
1999-02-17 20:24:32 -05:00
|
|
|
./gen -s ${srcdir} -c > $@
|
1999-01-28 00:16:42 -05:00
|
|
|
|
1999-07-15 16:06:34 -04:00
|
|
|
include/dns/rdatastruct.h: gen \
|
|
|
|
|
${srcdir}/rdata/rdatastructpre.h \
|
|
|
|
|
${srcdir}/rdata/rdatastructsuf.h
|
1999-05-06 23:24:15 -04:00
|
|
|
./gen -s ${srcdir} -i \
|
1999-07-15 16:06:34 -04:00
|
|
|
-P ${srcdir}/rdata/rdatastructpre.h \
|
|
|
|
|
-S ${srcdir}/rdata/rdatastructsuf.h > $@
|
1999-05-04 21:55:13 -04:00
|
|
|
|
1999-01-18 21:20:26 -05:00
|
|
|
code.h: gen
|
1999-02-17 20:24:32 -05:00
|
|
|
./gen -s ${srcdir} > code.h
|
1999-01-18 21:20:26 -05:00
|
|
|
|
|
|
|
|
gen: gen.c
|
1999-10-08 12:40:38 -04:00
|
|
|
${CC} ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
|
1999-03-03 21:39:41 -05:00
|
|
|
|
1999-07-03 17:07:10 -04:00
|
|
|
rbtdb64.@O@: rbtdb.c
|
1999-07-15 16:06:34 -04:00
|
|
|
|
|
|
|
|
depend: include/dns/enumtype.h include/dns/enumclass.h \
|
|
|
|
|
include/dns/rdatastruct.h code.h
|
1999-10-29 02:36:05 -04:00
|
|
|
subdirs: include/dns/enumtype.h include/dns/enumclass.h \
|
1999-07-15 16:06:34 -04:00
|
|
|
include/dns/rdatastruct.h code.h
|
2003-10-13 23:48:11 -04:00
|
|
|
${OBJS}: include/dns/enumtype.h include/dns/enumclass.h \
|
|
|
|
|
include/dns/rdatastruct.h
|
|
|
|
|
rdata.${0}: code.h
|