From 6d7585b3e948dd31bf78321d83ac0e024f44a71b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 28 Jan 1999 05:16:42 +0000 Subject: [PATCH] Auto generate enum*.h file --- lib/dns/Makefile.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/dns/Makefile.in b/lib/dns/Makefile.in index 44f876af93..a2b1d0f7c4 100644 --- a/lib/dns/Makefile.in +++ b/lib/dns/Makefile.in @@ -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