65 lines
1.9 KiB
Makefile
65 lines
1.9 KiB
Makefile
# 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@
|
|
|
|
@BIND9_VERSION@
|
|
|
|
CINCLUDES = -I${srcdir}/../../isc/unix/include \
|
|
-I${srcdir}/../../isc/pthreads/include \
|
|
-I${srcdir}/../../isc/include \
|
|
-I${srcdir}/../include \
|
|
-I${srcdir}/.. \
|
|
-I.
|
|
|
|
CDEFINES =
|
|
CWARNINGS =
|
|
|
|
LIBS = @LIBS@
|
|
|
|
# Alphabetically
|
|
|
|
OBJS = confparser.@O@ confcommon.@O@ confacl.@O@ confctl.@O@ \
|
|
confctx.@O@ confip.@O@ confkeys.@O@ conflog.@O@ \
|
|
conflsn.@O@ confrrset.@O@ confserv.@O@ confzone.@O@
|
|
|
|
OSRC = confparser.c confcommon.c \
|
|
confacl.c confctl.c confctx.c confip.c confkeys.c conflog.c \
|
|
conflsn.c confrrset.c confserv.c confzone.c
|
|
|
|
SUBDIRS =
|
|
|
|
TARGETS = ${OBJS}
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
##confparser.c: confparser.y
|
|
## ${YACC} -d confparser.y
|
|
## rm -f confparser.c confparser_p.h
|
|
## mv y.tab.c confparser.c
|
|
## mv y.tab.h confparser_p.h
|
|
|
|
## This rule is here during development to help debugging.
|
|
## Remove and uncomment the rule above before release.
|
|
confparser.c: confparser.y
|
|
${YACC} -d confparser.y
|
|
rm -f confparser.c confparser_p.h
|
|
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
|