mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 19:04:57 -05:00
69 lines
2 KiB
Makefile
69 lines
2 KiB
Makefile
# Copyright (C) 1998, 1999, 2000 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@
|
|
|
|
YACC = @YACC@
|
|
|
|
@BIND9_VERSION@
|
|
|
|
@BIND9_INCLUDES@
|
|
|
|
CINCLUDES = ${DNS_INCLUDES} ${ISC_INCLUDES}
|
|
|
|
CDEFINES =
|
|
CWARNINGS =
|
|
|
|
LIBS = @LIBS@
|
|
|
|
# Alphabetically
|
|
|
|
OBJS = confparser.@O@ confcommon.@O@ confacl.@O@ confcache.@O@ \
|
|
confctl.@O@ confctx.@O@ confip.@O@ confkeys.@O@ conflog.@O@ \
|
|
conflsn.@O@ confndc.@O@ confresolv.@O@ confrrset.@O@ \
|
|
confview.@O@ confzone.@O@
|
|
|
|
SRCS = confparser.c confcommon.c confacl.c confcache.c \
|
|
confctl.c confctx.c confip.c confkeys.c conflog.c \
|
|
conflsn.c confndc.c confresolv.c confrrset.c \
|
|
confview.c confzone.c
|
|
|
|
SUBDIRS =
|
|
TARGETS = ${OBJS}
|
|
|
|
@BIND9_MAKE_RULES@
|
|
|
|
##confparser.c: confparser.y
|
|
## ${YACC} -d ${srcdir}/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 ${srcdir}/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
|
|
|
|
depend: confparser.c
|
|
|
|
distclean::
|
|
rm -f confparser.c confparser_p.h
|