avoid extra copy of krb_err.h in include; update dependencies
authorKen Raeburn <raeburn@mit.edu>
Fri, 28 Sep 2001 22:34:26 +0000 (22:34 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 28 Sep 2001 22:34:26 +0000 (22:34 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13763 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/Makefile.in
src/lib/krb4/ChangeLog
src/lib/krb4/Makefile.in

index c7f210c61b78e8ddd66f61e28811e0c8d0a210a3..0cabd5c0db5fad07cd5561d2b9fe70fe8d24cdb1 100644 (file)
@@ -1,3 +1,10 @@
+2001-09-28  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (all-unix): Depend directly on kerberosIV/krb_err.h
+       instead of on krb_err.h.
+       (krb_err.h): Target and rule deleted.
+       (clean-unix): Don't delete krb_err.h.
+
 2001-09-06  Ken Raeburn  <raeburn@mit.edu>
 
        * krb5.hin (TKT_FLG_TRANSIT_POLICY_CHECKED,
index 9c02e8b962dddf5e899fb606e091b0031ce63e9e..6da862341ea27f2346534717c81d4f1c0978cedb 100644 (file)
@@ -6,7 +6,7 @@ BUILDTOP=$(REL)$(U)
 ##DOSBUILDTOP = ..
 NO_OUTPRE=1
 
-all-unix:: krb5.h adm_err.h krb_err.h
+all-unix:: krb5.h adm_err.h kerberosIV/krb_err.h
 all-mac::
 
 all-windows::
@@ -40,8 +40,6 @@ krb5.h: krb5/autoconf.h $(srcdir)/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h \
 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 rebuild-error-tables
@@ -55,7 +53,7 @@ kv5m_err.h: $(SRCTOP)/lib/krb5/error_tables/kv5m_err.et
 
 clean-unix::
        $(RM) krb5.h krb5_err.h kdb5_err.h kv5m_err.h \
-               asn1_err.h adm_err.h krb_err.h
+               asn1_err.h adm_err.h
 
 clean-mac::
 
index 258383aab0b7c17ec6290b882de3ed870843ef24..7f4f4a5b5cbacbb287ff6b4b9d748657d4aaed2e 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-28  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LOCALINCLUDES): Renamed from DEFINES.  Add
+       build-tree version of kerberosIV include directory.
+
 2001-07-08  Ezra Peisach  <epeisach@mit.edu>
 
        * fgetst.c: Include krb4int.h.
index 4096d44997790cef876d67bda84147ee2262b925..5ff13e0e02ec5ef5101ab849cad59107f0263735 100644 (file)
@@ -2,7 +2,7 @@ thisconfigdir=.
 myfulldir=lib/krb4
 mydir=.
 BUILDTOP=$(REL)$(U)$(S)$(U)
-DEFINES = -I$(srcdir)/../../include/kerberosIV
+LOCALINCLUDES = -I$(BUILDTOP)/include/kerberosIV -I$(srcdir)/../../include/kerberosIV
 
 ##DOS##BUILDTOP = ..\..
 ##DOS##LIBNAME=$(OUTPRE)krb4.lib
@@ -266,7 +266,7 @@ g_pw_in_tkt.o: g_pw_in_tkt.c $(SRCTOP)/include/kerberosIV/mit-copyright.h \
   $(BUILDTOP)/include/krb5.h $(BUILDTOP)/include/profile.h \
   $(BUILDTOP)/include/com_err.h $(SRCTOP)/include/kerberosIV/krb.h \
   $(SRCTOP)/include/kerberosIV/des.h $(SRCTOP)/include/port-sockets.h \
-  $(BUILDTOP)/include/krb_err.h $(SRCTOP)/include/kerberosIV/prot.h \
+  $(BUILDTOP)/include/kerberosIV/krb_err.h $(SRCTOP)/include/kerberosIV/prot.h \
   $(SRCTOP)/include/kerberosIV/krb_conf.h
 g_phost.o: g_phost.c $(SRCTOP)/include/kerberosIV/krb.h \
   $(SRCTOP)/include/kerberosIV/des.h $(SRCTOP)/include/port-sockets.h