From 28b381cd19b6cfccb172cbcf38049f7e011587c6 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 14 May 2003 20:48:22 +0000 Subject: [PATCH] Be more friendly towards parallel builds * Makefile.in ($(EHDRDIR)$(S)timestamp): New target, used for ensuring $(EHDRDIR) exists. (clean-unix): Delete the dummy file. ($(EHDRDIR)$(S)gssapi.h): Depend on it, instead of creating the directory here. ($(EHDRDIR)$(S)gssapi_generic.h): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15443 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/generic/ChangeLog | 9 +++++++++ src/lib/gssapi/generic/Makefile.in | 13 ++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index bd58e5ae7..bd2cde48f 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,12 @@ +2003-05-14 Ken Raeburn + + * Makefile.in ($(EHDRDIR)$(S)timestamp): New target, used for + ensuring $(EHDRDIR) exists. + (clean-unix): Delete the dummy file. + ($(EHDRDIR)$(S)gssapi.h): Depend on it, instead of creating the + directory here. + ($(EHDRDIR)$(S)gssapi_generic.h): Likewise. + 2003-03-06 Alexandra Ellwood * disp_com_err_status.c, gssapi_generic.h: diff --git a/src/lib/gssapi/generic/Makefile.in b/src/lib/gssapi/generic/Makefile.in index 8ac282f37..79985701f 100644 --- a/src/lib/gssapi/generic/Makefile.in +++ b/src/lib/gssapi/generic/Makefile.in @@ -25,13 +25,15 @@ MK_EHDRDIR=if test -d $(EHDRDIR); then :; else (set -x; mkdir $(EHDRDIR)); fi gssapi-include: $(EHDRDIR)$(S)gssapi.h -$(EHDRDIR)$(S)gssapi.h: gssapi.h - @$(MK_EHDRDIR) +$(EHDRDIR)$(S)gssapi.h: $(EHDRDIR)$(S)timestamp gssapi.h $(CP) gssapi.h $@ -$(EHDRDIR)$(S)gssapi_generic.h: $(srcdir)$(S)gssapi_generic.h - @$(MK_EHDRDIR) +$(EHDRDIR)$(S)gssapi_generic.h: $(EHDRDIR)$(S)timestamp $(srcdir)$(S)gssapi_generic.h $(CP) $(srcdir)$(S)gssapi_generic.h $@ +$(EHDRDIR)$(S)timestamp: + $(MK_EHDRDIR) + echo timestamp > $(EHDRDIR)$(S)timestamp + $(OUTPRE)gssapi_err_generic.$(OBJEXT): gssapi_err_generic.c gssapi_err_generic.h: gssapi_err_generic.et gssapi_err_generic.c: gssapi_err_generic.et @@ -119,7 +121,8 @@ win-create-ehdrdir: if not exist $(EHDRDIR)\nul mkdir $(EHDRDIR) clean-unix:: clean-libobjs - $(RM) $(ETHDRS) $(ETSRCS) $(HDRS) $(EXPORTED_BUILT_HEADERS) + $(RM) $(ETHDRS) $(ETSRCS) $(HDRS) $(EXPORTED_BUILT_HEADERS) \ + $(EHDRDIR)$(S)timestamp clean-windows:: $(RM) $(HDRS) -- 2.26.2