thisconfigdir=./..
myfulldir=include/kerberosIV
mydir=kerberosIV
BUILDTOP=$(REL)..$(S)..
KRB4_HEADERS=krb.h des.h mit-copyright.h

all-unix:: krb_err.h kadm_err.h

krb_err.h: $(SRCTOP)/lib/krb4/krb_err.et
kadm_err.h: $(SRCTOP)/lib/krb4/kadm_err.et
krb_err.h kadm_err.h:
	(cd $(BUILDTOP)/lib/krb4 && $(MAKE) includes)

clean-unix::
	$(RM) krb_err.h kadm_err.h

install-headers-unix install:: krb_err.h kadm_err.h
	@set -x; for f in $(KRB4_HEADERS) ; \
	do $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(KRB5_INCDIR)/kerberosIV/$$f ; \
	done
	$(INSTALL_DATA) krb_err.h $(DESTDIR)$(KRB5_INCDIR)$(S)kerberosIV$(S)krb_err.h
	$(INSTALL_DATA) kadm_err.h $(DESTDIR)$(KRB5_INCDIR)$(S)kerberosIV$(S)kadm_err.h
