mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 16:45:24 +00:00
Added replaced old lexer/parser.
This commit is contained in:
@@ -11,7 +11,7 @@ CINCLUDES = -I${srcdir}/../../lib/isc/unix/include \
|
|||||||
-I${srcdir}/../.. \
|
-I${srcdir}/../.. \
|
||||||
-I${srcdir}
|
-I${srcdir}
|
||||||
|
|
||||||
CDEFINES =
|
CDEFINES =
|
||||||
CWARNINGS =
|
CWARNINGS =
|
||||||
|
|
||||||
|
|
||||||
@@ -23,8 +23,8 @@ LIBS = ${DEPLIBS} \
|
|||||||
|
|
||||||
TARGETS = named
|
TARGETS = named
|
||||||
|
|
||||||
OBJS = server.o udpclient.o tcpclient.o wire_debug.o wire_test.o
|
OBJS = server.o udpclient.o tcpclient.o wire_debug.o wire_test.o\
|
||||||
# zone.o configctx.o parser.o lexer.o
|
zone.o configctx.o confparser.o
|
||||||
|
|
||||||
@BIND9_MAKE_RULES@
|
@BIND9_MAKE_RULES@
|
||||||
|
|
||||||
@@ -36,13 +36,17 @@ named: ${OBJS} ${DEPLIBS}
|
|||||||
${CC} -o $@ ${OBJS} ${LIBS}
|
${CC} -o $@ ${OBJS} ${LIBS}
|
||||||
|
|
||||||
clean distclean::
|
clean distclean::
|
||||||
rm -f ${TARGETS} parser.c parser_p.h lexer.c
|
rm -f ${TARGETS} parser.c parser_p.h
|
||||||
|
|
||||||
parser.c: parser.y
|
confparser.c: confparser.y
|
||||||
${YACC} -d parser.y
|
${YACC} -d confparser.y
|
||||||
mv y.tab.c parser.c
|
mv y.tab.c confparser.c
|
||||||
mv y.tab.h parser_p.h
|
mv y.tab.h confparser_p.h
|
||||||
|
|
||||||
lexer.c: lexer.l
|
##confparser.c: confparser.y
|
||||||
${LEX} lexer.l
|
## ${YACC} -d confparser.y
|
||||||
mv lex.yy.c lexer.c
|
## 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
|
||||||
|
Reference in New Issue
Block a user