Modify remainder of Makefiles that were sensitive to identity/obj or other cleaned files not being present.
Update util/et/Makefile.in to look for com_err.h in src/include, not src/include/src.
ticket: 5457
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19203
dc483132-0cff-0310-8789-
dd5450dbe970
SHLIB_RDIRS=$(KRB5_LIBDIR)
SHLIB_DIRS=-L$(TOPLIBD)
-COM_ERR_HDR=$(BUILDTOP)$(S)include$(S)com_err.h
+COM_ERR_HDR=$(BUILDTOP)$(S)include\com_err.h
all-windows:: $(COM_ERR_HDR)
\r
clean::\r
if exist "$(DOCDIR)/html" $(RMDIR) /s /q "$(DOCDIR)\html"\r
- $(RM) "$(DOCDIR)\*.*"\r
+ if exist "$(DOCDIR)" $(RM) "$(DOCDIR)\*.*"\r
$(CP) netidmgr.chm $(CHMFILE)\r
\r
clean::\r
- $(RM) $(CHMFILE)
\ No newline at end of file
+ if exist '..\obj' $(RM) $(INCFILES)
\ No newline at end of file
all: mkdirs $(INCFILES) $(OBJFILES)\r
\r
clean::\r
- $(RM) $(INCFILES)\r
-\r
+ if exist '..\obj' $(RM) $(INCFILES)\r
# Tests\r
\r
test:: util_test\r
all: mkdirs $(INCFILES) $(OBJ)\kcredres.res $(OBJFILES)\r
\r
clean::\r
- $(RM) $(INCFILES)\r
+ if exist '..\obj' $(RM) $(INCFILES)
\ No newline at end of file
all: mkdirs $(INCFILES) $(OBJFILES)\r
\r
clean::\r
- $(RM) $(INCFILES)\r
+ if exist '..\obj' $(RM) $(INCFILES)
\ No newline at end of file
all: mkdirs $(INCFILES) $(MSGRESFILE) $(OBJFILES)\r
\r
clean::\r
- $(RM) $(INCFILES)\r
+ if exist '..\obj' $(RM) $(INCFILES)
\ No newline at end of file
all: mkdirs $(INCFILES) $(OBJFILES)\r
\r
clean::\r
- $(RM) $(INCFILES)\r
+ if exist '..\obj' $(RM) $(INCFILES)
\ No newline at end of file
all: mkdirs $(DLLFILE)
clean::
- $(RM) $(DLLFILE)
- $(RM) $(DLLFILE).manifest
+ if exist '$(DLLFILE)' $(RM) $(DLLFILE)
+ if exist '$(DLLFILE).manifest' $(RM) $(DLLFILE).manifest
all: mkdirs $(INCFILES) $(OBJFILES)\r
\r
clean::\r
- $(RM) $(INCFILES)\r
- $(RM) $(OBJFILES)\r
+ if exist '..\..\obj' $(RM) $(INCFILES)\r
+ if exist '..\..\obj' $(RM) $(OBJFILES)\r
\r
{}.c{$(LIBDIR)}.obj:\r
$(C2OBJ)\r
all: mkdirs $(INCFILES) $(OBJFILES)\r
\r
clean::\r
- $(RM) $(INCFILES)\r
+ if exist '..\obj' $(RM) $(INCFILES)
\ No newline at end of file