Commit 1471a520 authored by Bob Halley's avatar Bob Halley
Browse files

use single-colon rule for sec and depend; gen structure .h in build dir

parent 9bb48952
......@@ -21,13 +21,14 @@ top_srcdir = @top_srcdir@
@LIBDNS_API@
CINCLUDES = -I${srcdir}/../isc/unix/include \
CINCLUDES = -I../isc/unix/include \
-I${srcdir}/../isc/unix/include \
-I${srcdir}/../isc/pthreads/include \
-I${srcdir}/../isc/include \
-I${srcdir}/include \
-I${srcdir} \
-I./include \
-I.
-I. \
-I${srcdir}/include \
-I${srcdir}
CDEFINES =
CWARNINGS =
......@@ -124,14 +125,6 @@ SUBDIRS = include sec
TARGETS = include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h timestamp
#
# These two dependencies need to be before BIND9_MAKE_RULES.
#
depend:: include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h code.h
sec:: include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h code.h
@BIND9_MAKE_RULES@
version.@O@: version.c
......@@ -176,9 +169,12 @@ include/dns/enumtype.h: gen
include/dns/enumclass.h: gen
./gen -s ${srcdir} -c > $@
include/dns/rdatastruct.h: gen rdata/rdatastructpre.h rdata/rdatastructsuf.h
include/dns/rdatastruct.h: gen \
${srcdir}/rdata/rdatastructpre.h \
${srcdir}/rdata/rdatastructsuf.h
./gen -s ${srcdir} -i \
-P rdata/rdatastructpre.h -S rdata/rdatastructsuf.h > $@
-P ${srcdir}/rdata/rdatastructpre.h \
-S ${srcdir}/rdata/rdatastructsuf.h > $@
code.h: gen
./gen -s ${srcdir} > code.h
......@@ -187,3 +183,8 @@ gen: gen.c
${CC} ${ALL_CFLAGS} -o $@ $? ${LIBS}
rbtdb64.@O@: rbtdb.c
depend: include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h code.h
sec: include/dns/enumtype.h include/dns/enumclass.h \
include/dns/rdatastruct.h code.h
Supports Markdown
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