Makefile.in revision 4233113daf33964f480849d76485c21ccf69a64a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright (C) 1998, 1999 Internet Software Consortium.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# Permission to use, copy, modify, and distribute this software for any
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# purpose with or without fee is hereby granted, provided that the above
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# copyright notice and this permission notice appear in all copies.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinsrcdir = @srcdir@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsVPATH = @srcdir@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeintop_srcdir = @top_srcdir@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein@BIND9_VERSION@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein@BIND9_INCLUDES@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ${DNS_INCLUDES} ${ISC_INCLUDES} ${OMAPI_INCLUDES}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCDEFINES =
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCWARNINGS =
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinDEPLIBS = ../../lib/dns/libdns.@A@ \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ../../lib/omapi/libomapi.@A@ \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ../../lib/isc/libisc.@A@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinLIBS = ${DEPLIBS} \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein @LIBS@
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsSUBDIRS = unix
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinTARGETS = named
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinOBJS = client.@O@ interfacemgr.@O@ listenlist.@O@ \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein log.@O@ main.@O@ notify.@O@ omapi.@O@ \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein query.@O@ server.@O@ update.@O@ xfrout.@O@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinUOBJS = unix/os.@O@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSRCS = client.c interfacemgr.c listenlist.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews log.c main.c notify.c omapi.c \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews query.c server.c update.c xfrout.c
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein@BIND9_MAKE_RULES@
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinmain.@O@: main.c
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ${CC} ${ALL_CFLAGS} -DVERSION=\"${VERSION}\" -c ${srcdir}/main.c
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsprintmsg.@O@: ${srcdir}/../tests/printmsg.c
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ${CC} -c -o printmsg.@O@ ${ALL_CFLAGS} -I${srcdir}/../tests \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ${srcdir}/../tests/printmsg.c
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinnamed: ${OBJS} ${UOBJS} ${DEPLIBS}
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ${LIBTOOL} ${CC} -o $@ ${OBJS} ${UOBJS} ${LIBS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinclean distclean::
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein rm -f ${TARGETS}
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews