make in error_tables directory once for each generated header file we care
about.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13703
dc483132-0cff-0310-8789-
dd5450dbe970
doesn't change the target file if the contents wouldn't be
altered, touch an auxiliary timestamp file to avoid re-running
autoheader all the time.
+ (rebuild-error-tables): New intermediate target, avoids running
+ make in error_tables directory once for each generated header file
+ we care about.
* fake-addrinfo.c (getnameinfo): Cast address argument to
gethostbyaddr.
# Build the error table include files:
# adm_err.h asn1_err.h kdb5_err.h krb5_err.h kv5m_err.h
-adm_err.h asn1_err.h kdb5_err.h krb5_err.h kv5m_err.h: force
+adm_err.h asn1_err.h kdb5_err.h krb5_err.h kv5m_err.h: rebuild-error-tables
+rebuild-error-tables:
(cd ../lib/krb5/error_tables && $(MAKE) includes)
krb_err.h: kerberosIV/krb_err.h
$(RM) krb_err.h ; $(CP) kerberosIV/krb_err.h krb_err.h
kerberosIV/krb_err.h: all-recurse
-.PHONY: force
+.PHONY: force rebuild-error-tables
force:
adm_err.h: $(SRCTOP)/lib/krb5/error_tables/adm_err.et