Pārlūkot izejas kodu

* move also the i386*.inc to i386/

peter 25 gadi atpakaļ
vecāks
revīzija
a45e77c4a2

+ 6 - 0
compiler/Makefile

@@ -241,6 +241,7 @@ override NEEDOPT=-Sg
 # Directories
 # Directories
 
 
 override NEEDUNITDIR=$(CPU_TARGET)
 override NEEDUNITDIR=$(CPU_TARGET)
+override NEEDINCDIR=$(CPU_TARGET)
 ifndef TARGETDIR
 ifndef TARGETDIR
 TARGETDIR=.
 TARGETDIR=.
 endif
 endif
@@ -863,6 +864,11 @@ ifdef UNITSDIR
 override FPCOPT+=-Fu$(UNITSDIR)
 override FPCOPT+=-Fu$(UNITSDIR)
 endif
 endif
 
 
+ifdef NEEDINCDIR
+override FPCOPT+=$(addprefix -Fi,$(NEEDINCDIR))
+endif
+
+
 # Target dirs and the prefix to use for clean/install
 # Target dirs and the prefix to use for clean/install
 ifdef TARGETDIR
 ifdef TARGETDIR
 override FPCOPT+=-FE$(TARGETDIR)
 override FPCOPT+=-FE$(TARGETDIR)

+ 1 - 0
compiler/Makefile.fpc

@@ -6,6 +6,7 @@
 fpcdir=..
 fpcdir=..
 targetdir=.
 targetdir=.
 unitdir=$(CPU_TARGET)
 unitdir=$(CPU_TARGET)
+incdir=$(CPU_TARGET)
 
 
 [install]
 [install]
 packagename=compiler
 packagename=compiler

+ 0 - 0
compiler/i386att.inc → compiler/i386/i386att.inc


+ 0 - 0
compiler/i386atts.inc → compiler/i386/i386atts.inc


+ 0 - 0
compiler/i386int.inc → compiler/i386/i386int.inc


+ 0 - 0
compiler/i386nop.inc → compiler/i386/i386nop.inc


+ 0 - 0
compiler/i386op.inc → compiler/i386/i386op.inc


+ 0 - 0
compiler/i386prop.inc → compiler/i386/i386prop.inc


+ 0 - 0
compiler/i386tab.inc → compiler/i386/i386tab.inc