|
@@ -26,16 +26,29 @@ endif
|
|
# New ppc386 (or ppc68k if on m68k machine !)
|
|
# New ppc386 (or ppc68k if on m68k machine !)
|
|
ifndef PPNEW
|
|
ifndef PPNEW
|
|
ifeq ($(CPU_TARGET),m68k)
|
|
ifeq ($(CPU_TARGET),m68k)
|
|
-PPNEWBASE=ppc68k
|
|
|
|
|
|
+PPSUF=68k
|
|
endif
|
|
endif
|
|
ifeq ($(CPU_TARGET),i386)
|
|
ifeq ($(CPU_TARGET),i386)
|
|
-PPNEWBASE=ppc386
|
|
|
|
|
|
+PPSUF=386
|
|
endif
|
|
endif
|
|
ifeq ($(CPU_TARGET),powerpc)
|
|
ifeq ($(CPU_TARGET),powerpc)
|
|
-PPNEWBASE=ppcppc
|
|
|
|
|
|
+PPSUF=ppc
|
|
|
|
+endif
|
|
|
|
+ifeq ($(CPU_TARGET),alpha)
|
|
|
|
+PPSUF=axp
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
+ifneq ($(OS_TARGET),$(OS_SOURCE))
|
|
|
|
+PPPRE=ppcross
|
|
|
|
+else
|
|
|
|
+ifneq ($(CPU_TARGET),$(CPU_SOURCE))
|
|
|
|
+PPPRE=ppcross
|
|
|
|
+else
|
|
|
|
+PPPRE=ppc
|
|
|
|
+endif
|
|
endif
|
|
endif
|
|
|
|
|
|
-PPNEW=$(BASEDIR)/compiler/$(PPNEWBASE)$(SRCEXEEXT)
|
|
|
|
|
|
+PPNEW=$(BASEDIR)/compiler/$(PPPRE)$(PPSUF)$(SRCEXEEXT)
|
|
endif
|
|
endif
|
|
|
|
|
|
# Check if there is already a ppc386 binary in compiler, then
|
|
# Check if there is already a ppc386 binary in compiler, then
|