Makefile.in revision a5d079249cc76b5d7864d50732c48bd7dc077aee
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright (C) 1998-2000 Internet Software Consortium.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Permission to use, copy, modify, and distribute this software for any
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# purpose with or without fee is hereby granted, provided that the above
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# copyright notice and this permission notice appear in all copies.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# $Id: Makefile.in,v 1.61 2000/11/27 19:12:22 gson Exp $
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinsrcdir = @srcdir@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinVPATH = @srcdir@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeintop_srcdir = @top_srcdir@
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein@BIND9_VERSION@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein@BIND9_INCLUDES@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Add database drivers here.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinDBDRIVER_OBJS =
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinDBDRIVER_INCLUDES =
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinDBDRIVER_LIBS =
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User ${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt ${OMAPI_INCLUDES} ${DBDRIVER_INCLUDES}
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserCDEFINES =
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox UserCWARNINGS =
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntOMAPILIBS = ../../lib/omapi/libomapi.@A@
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntDNSLIBS = ../../lib/dns/libdns.@A@ @DNS_OPENSSL_LIBS@ @DNS_GSSAPI_LIBS@
a1ff871f78b7d907d6fc3a382beea2a640fe8423Tinderbox UserISCLIBS = ../../lib/isc/libisc.@A@
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLWRESLIBS = ../../lib/lwres/liblwres.@A@
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntOMAPIDEPLIBS = ../../lib/omapi/libomapi.@A@
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntDNSDEPLIBS = ../../lib/dns/libdns.@A@
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntISCDEPLIBS = ../../lib/isc/libisc.@A@
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLWRESDEPLIBS = ../../lib/lwres/liblwres.@A@
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntDEPLIBS = ${LWRESDEPLIBS} ${OMAPIDEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS}
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinLIBS = ${LWRESLIBS} ${OMAPILIBS} ${DNSLIBS} ${ISCLIBS} \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User ${DBDRIVER_LIBS} @LIBS@
f9ce6280cec79deb16ff6d9807aa493ff23e10d9Tinderbox User
1700442a7751c2bbdafe2d039cebbd8316496957Tinderbox UserSUBDIRS = unix
f9ce6280cec79deb16ff6d9807aa493ff23e10d9Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntTARGETS = named lwresd
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserOBJS = aclconf.@O@ client.@O@ interfacemgr.@O@ listenlist.@O@ \
46472a450e043434d78fa18edc73bca8c47f3981Tinderbox User log.@O@ logconf.@O@ main.@O@ notify.@O@ omapi.@O@ \
46472a450e043434d78fa18edc73bca8c47f3981Tinderbox User omapiconf.@O@ query.@O@ server.@O@ sortlist.@O@ \
e285c11870c6263cd79b418e104c7eb3e2d96952Tinderbox User tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
46472a450e043434d78fa18edc73bca8c47f3981Tinderbox User zoneconf.@O@ \
46472a450e043434d78fa18edc73bca8c47f3981Tinderbox User lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(DBDRIVER_OBJS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntUOBJS = unix/os.@O@
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserSRCS = aclconf.c client.c interfacemgr.c listenlist.c \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt log.c logconf.c main.c notify.c omapi.c \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User omapiconf.c query.c server.c sortlist.c \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt tkeyconf.c tsigconf.c update.c xfrout.c \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt zoneconf.c \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User@BIND9_MAKE_RULES@
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
a1ff871f78b7d907d6fc3a382beea2a640fe8423Tinderbox Usermain.@O@: main.c
a1ff871f78b7d907d6fc3a382beea2a640fe8423Tinderbox User ${LIBTOOL} ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" \
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User -DNS_LOCALSTATEDIR=\"${localstatedir}\" \
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User -DNS_SYSCONFDIR=\"${sysconfdir}\" -c ${srcdir}/main.c
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox Usernamed: ${OBJS} ${UOBJS} ${DEPLIBS}
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User ${LIBTOOL} ${CC} ${CFLAGS} -o $@ ${OBJS} ${UOBJS} ${LIBS}
a1ff871f78b7d907d6fc3a382beea2a640fe8423Tinderbox User
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox Userlwresd: named
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User rm -f lwresd
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User @LN@ named lwresd
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox Userclean distclean::
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User rm -f ${TARGETS}
a1ff871f78b7d907d6fc3a382beea2a640fe8423Tinderbox User
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox Userinstalldirs:
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox Userinstall:: named lwresd installdirs
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User ${LIBTOOL} ${INSTALL_PROGRAM} named ${DESTDIR}${sbindir}
a1ff871f78b7d907d6fc3a382beea2a640fe8423Tinderbox User (cd ${DESTDIR}${sbindir}; rm -f lwresd; @LN@ named lwresd)
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User