* don't clean rtl unit dir in ppuclean, this breaks the snapshot

building
This commit is contained in:
peter 2003-04-15 18:22:07 +00:00
parent c889842761
commit 12cced8116
2 changed files with 8 additions and 4 deletions

View File

@ -235,6 +235,7 @@ endif
export PPC_OS export PPC_OS
CPU_UNITDIR=. CPU_UNITDIR=.
UTILSDIR=../utils UTILSDIR=../utils
COMPILERSOURCEDIR=$(PPC_TARGET) systems
COMPILERUTILSDIR=utils COMPILERUTILSDIR=utils
ifndef FPCLANG ifndef FPCLANG
FPCLANG=e FPCLANG=e
@ -319,7 +320,7 @@ override FPCOPT:=$(LOCALOPT)
override TARGET_DIRS+=utils override TARGET_DIRS+=utils
override INSTALL_FPCPACKAGE=y override INSTALL_FPCPACKAGE=y
override COMPILER_INCLUDEDIR+=$(PPC_TARGET) override COMPILER_INCLUDEDIR+=$(PPC_TARGET)
override COMPILER_UNITDIR+=$(PPC_TARGET) systems override COMPILER_UNITDIR+=$(COMPILERSOURCEDIR)
override COMPILER_TARGETDIR+=$(CPU_UNITDIR) override COMPILER_TARGETDIR+=$(CPU_UNITDIR)
ifdef REQUIRE_UNITSDIR ifdef REQUIRE_UNITSDIR
override UNITSDIR+=$(REQUIRE_UNITSDIR) override UNITSDIR+=$(REQUIRE_UNITSDIR)
@ -1607,7 +1608,7 @@ echotime:
@echo Start $(STARTTIME) now $(ENDTIME) @echo Start $(STARTTIME) now $(ENDTIME)
ppuclean: ppuclean:
-$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT) -$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
-$(DEL) $(addsuffix /*$(PPUEXT),$(COMPILER_UNITDIR)) -$(DEL) $(addsuffix /*$(PPUEXT),$(COMPILERSOURCEDIR))
execlean : execlean :
-$(DEL) ppc386$(EXEEXT) ppcaxp$(EXEEXT) ppc68k$(EXEEXT) ppcppc$(EXEEXT) ppcsparc$(EXEEXT) $(EXENAME) -$(DEL) ppc386$(EXEEXT) ppcaxp$(EXEEXT) ppc68k$(EXEEXT) ppcppc$(EXEEXT) ppcsparc$(EXEEXT) $(EXENAME)
$(addsuffix _clean,$(CYCLETARGETS)): $(addsuffix _clean,$(CYCLETARGETS)):

View File

@ -11,7 +11,7 @@ dirs=utils
[compiler] [compiler]
targetdir=$(CPU_UNITDIR) targetdir=$(CPU_UNITDIR)
unitdir=$(PPC_TARGET) systems unitdir=$(COMPILERSOURCEDIR)
includedir=$(PPC_TARGET) includedir=$(PPC_TARGET)
[require] [require]
@ -72,6 +72,9 @@ CPU_UNITDIR=.
# RTL # RTL
UTILSDIR=../utils UTILSDIR=../utils
# Directories containing compiler sources
COMPILERSOURCEDIR=$(PPC_TARGET) systems
# Utils used by compiler development/installation # Utils used by compiler development/installation
COMPILERUTILSDIR=utils COMPILERUTILSDIR=utils
@ -290,7 +293,7 @@ echotime:
ppuclean: ppuclean:
-$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT) -$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
-$(DEL) $(addsuffix /*$(PPUEXT),$(COMPILER_UNITDIR)) -$(DEL) $(addsuffix /*$(PPUEXT),$(COMPILERSOURCEDIR))
execlean : execlean :
-$(DEL) ppc386$(EXEEXT) ppcaxp$(EXEEXT) ppc68k$(EXEEXT) ppcppc$(EXEEXT) ppcsparc$(EXEEXT) $(EXENAME) -$(DEL) ppc386$(EXEEXT) ppcaxp$(EXEEXT) ppc68k$(EXEEXT) ppcppc$(EXEEXT) ppcsparc$(EXEEXT) $(EXENAME)