Browse Source

* regenerated

peter 24 years ago
parent
commit
47a14ca80d
1 changed files with 17 additions and 4 deletions
  1. 17 4
      Makefile.fpc

+ 17 - 4
Makefile.fpc

@@ -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