Commit 1ca02d14 authored by James Brister's avatar James Brister
Browse files

Misc additions for the parser stuff.

parent e6ad73ab
......@@ -7,19 +7,23 @@ CINCLUDES = -I${srcdir}/../../lib/isc/unix/include \
-I${srcdir}/../../lib/isc/pthreads/include \
-I${srcdir}/../../lib/isc/include \
-I${srcdir}/../../lib/dns/include \
-I${srcdir}/../..
-I${srcdir}/../.. \
-I${srcdir}
CDEFINES =
CWARNINGS =
DEPLIBS = ../../lib/dns/libdns.a \
../../lib/isc/libisc.a
LIBS = ${DEPLIBS} \
@LIBS@
@LIBS@ -ly -ll
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
@BIND9_MAKE_RULES@
......@@ -31,3 +35,12 @@ named: ${OBJS} ${DEPLIBS}
clean distclean::
rm -f ${TARGETS}
parser.c: parser.y
${YACC} -d parser.y
mv y.tab.c parser.c
mv y.tab.h parser_p.h
lexer.c: lexer.l
${LEX} lexer.l
mv lex.yy.c lexer.c
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment