+Thu May 4 10:03:22 1995 Tom Yu (tlyu@dragons-lair)
+
+ * Makefile.in: new includes target to install krb_err.h in
+ $(BUILDTOP)/include; includes depends on krb_err.h.
+ Previously, it was attempting to install a header that had
+ not yet been generated!
+
Tue May 2 09:30:50 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* Makefile.in (clean-unix): Remove krb_err.h from the include
##DOSLIBNAME=..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
+EHDRDIR=$(BUILDTOP)$(S)include
+
OBJS = \
cr_auth_repl.$(OBJEXT) \
cr_ciph.$(OBJEXT) \
# We want *library* compiler options...
DBG=$(DBG_LIB)
-all-unix:: $(LIBNAME) krb_err.h
+all-unix:: $(LIBNAME) krb_err.h includes
# comp_et_depend(krb_err)
krb_err.h:: krb_err.et
depend:: $(CODE)
-krb_err.h::
- -if cmp krb_err.h ../../include/krb_err.h >/dev/null 2>&1; then \
- echo ; \
+includes:: krb_err.h
+ if cmp krb_err.h $(EHDRDIR)/krb_err.h >/dev/null 2>&1; then :; \
else \
- $(RM) ../../include/krb_err.h ; \
- $(CP) krb_err.h ../../include/krb_err.h; \
+ (set -x; $(RM) $(EHDRDIR)/krb_err.h; \
+ $(CP) krb_err.h $(EHDRDIR)/krb_err.h) \
fi
#install-unix::
DEFINES=$(FALLBACK) $(OLD_SRVTAB) $(OLD_KLOGIN) -I$(srcdir)/../../include/kerberosIV
-all-unix:: krb_err.h
-
$(LIBNAME): $(OBJS)
$(RM) $@
$(ARCHIVE) $(ARCHIVEARGS)