Makefile.in revision 64e41159a919b0711321fe688ca5da4f4d1b7d80
# Copyright (C) 1998, 1999 Internet Software Consortium.
#
# 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.
#
# 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.
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
CINCLUDES = -I${srcdir}/../../lib/isc/unix/include \
-I${srcdir}/../../lib/isc/pthreads/include \
-I${srcdir}/../../lib/isc/include \
-I${srcdir}/../../lib/dns/include \
-I../../lib/dns/include \
-I${srcdir}/../.. \
-I${srcdir}
CDEFINES =
CWARNINGS =
DEPLIBS = ../../lib/dns/libdns.@A@ \
../../lib/isc/libisc.@A@
LIBS = ${DEPLIBS} \
@LIBS@
TARGETS = named
OBJS = server.o udpclient.o tcpclient.o wire_test.o \
zone.o configctx.o confparser.o interfacemgr.o
@BIND9_MAKE_RULES@
wire_test.o: ${srcdir}/../tests/wire_test.c
${CC} -c -o wire_test.o -DNOMAIN ${ALL_CFLAGS} \
${srcdir}/../tests/wire_test.c
named: ${OBJS} ${DEPLIBS}
${LIBTOOL} ${CC} -o $@ ${OBJS} ${LIBS}
clean distclean::
rm -f ${TARGETS} confparser.c confparser_p.h
confparser.c: ${srcdir}/confparser.y
${YACC} -d ${srcdir}/confparser.y
mv y.tab.c confparser.c
mv y.tab.h confparser_p.h
##confparser.c: confparser.y
## ${YACC} -d confparser.y
## rm -f confparser.c
## sed -e '/^\#line/d' < y.tab.c > confparser.c
## rm -f y.tab.c
## chmod a-w confparser.c
## mv y.tab.h confparser_p.h