mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Auto generate enum*.h file
This commit is contained in:
parent
0c67279acb
commit
6d7585b3e9
1 changed files with 8 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ OBJS = name.o rbt.o rdata.o rdatalist.o rdataset.o \
|
|||
result.o version.o rdataslab.o master.o
|
||||
|
||||
SUBDIRS = include
|
||||
TARGETS = timestamp
|
||||
TARGETS = include/dns/enumtype.h include/dns/enumclass.h timestamp
|
||||
|
||||
@BIND9_MAKE_RULES@
|
||||
|
||||
|
|
@ -40,9 +40,16 @@ install:: timestamp installdirs
|
|||
|
||||
clean distclean::
|
||||
rm -f libdns.a timestamp
|
||||
rm -f code.h include/dns/enumtype.h include/dns/enumclass.h
|
||||
|
||||
rdata.o: code.h
|
||||
|
||||
include/dns/enumtype.h: gen
|
||||
./gen -t > $@
|
||||
|
||||
include/dns/enumclass.h: gen
|
||||
./gen -c > $@
|
||||
|
||||
code.h: gen
|
||||
./gen > code.h
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue