mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2025-08-09 14:25:16 +00:00
Fix up build environment
This commit is contained in:
@@ -197,12 +197,13 @@ Set AvailableFeatures "hasROMGibbly
|
|||||||
useROMFonts "
|
useROMFonts "
|
||||||
|
|
||||||
|
|
||||||
If "` ParseFeatures -a "{AvailableFeatures}" -f ": ROM {1}" `" =~ /': ROM '(<28>)<29>1/
|
For Feature in {AvailableFeatures}
|
||||||
Set Defines "{<EFBFBD>1}"
|
Set Defines "{Defines} -d {Feature}=`Evaluate " {1} " =~ /<2F> {Feature} <20>/`"
|
||||||
Else
|
|
||||||
Exit 1
|
|
||||||
End
|
End
|
||||||
|
|
||||||
|
# Ugh!
|
||||||
|
Set Defines "`Echo {Defines} | StreamEdit -e '<27>,<2C> Replace /=1/ "=TRUE" -c <20>' -e '<27>,<2C> Replace /=0/ "=FALSE" -c <20>'`"
|
||||||
|
|
||||||
For Override in {2}
|
For Override in {2}
|
||||||
|
|
||||||
If "{Override}" =~ /(<28>)<29>1=(<28>)<29>2/
|
If "{Override}" =~ /(<28>)<29>1=(<28>)<29>2/
|
||||||
|
@@ -40,7 +40,7 @@ IfSrcDir = {Sources}Libs:InterfaceSrcs:
|
|||||||
LibraryDir = {Sources}Libs:Libraries:
|
LibraryDir = {Sources}Libs:Libraries:
|
||||||
|
|
||||||
#include {OSDir}OS.make
|
#include {OSDir}OS.make
|
||||||
#include {ToolBoxDir}Toolbox.make
|
##include {ToolBoxDir}Toolbox.make
|
||||||
#include {ColorQDDir}ColorQD.make
|
#include {ColorQDDir}ColorQD.make
|
||||||
#include {IfSrcDir}Interface.make
|
#include {IfSrcDir}Interface.make
|
||||||
|
|
||||||
|
@@ -379,12 +379,12 @@ Clean
|
|||||||
.cp.o <09> .c
|
.cp.o <09> .c
|
||||||
{CPlus} {StdCPOpts} -o {Targ} {DepDir}{Default}.cp
|
{CPlus} {StdCPOpts} -o {Targ} {DepDir}{Default}.cp
|
||||||
|
|
||||||
#include {ToolSrcDir}Tools.make
|
##include {ToolSrcDir}Tools.make
|
||||||
|
|
||||||
|
#include {DriverDir}Drivers.make
|
||||||
|
|
||||||
#include {MakeDir}MainCode.make
|
#include {MakeDir}MainCode.make
|
||||||
|
|
||||||
#include {DeclDir}DeclData.make
|
#include {DeclDir}DeclData.make
|
||||||
|
|
||||||
#include {DriverDir}Drivers.make
|
|
||||||
|
|
||||||
#include {ResourceDir}Resources.make
|
#include {ResourceDir}Resources.make
|
||||||
|
@@ -17,9 +17,6 @@
|
|||||||
|
|
||||||
FigmentDir = {MemoryMgrDir}FigmentSources:
|
FigmentDir = {MemoryMgrDir}FigmentSources:
|
||||||
|
|
||||||
#include {FigmentDir}Figment.Make
|
|
||||||
|
|
||||||
|
|
||||||
MemoryMgrObjs = "{ObjDir}MemoryMgr.a.o" <09>
|
MemoryMgrObjs = "{ObjDir}MemoryMgr.a.o" <09>
|
||||||
"{ObjDir}MemoryMgrExtensions.a.o" <09>
|
"{ObjDir}MemoryMgrExtensions.a.o" <09>
|
||||||
"{ObjDir}MemoryMgrInternal.a.o" <09>
|
"{ObjDir}MemoryMgrInternal.a.o" <09>
|
||||||
@@ -66,3 +63,4 @@ MemoryMgrObjs = "{ObjDir}MemoryMgr.a.o"
|
|||||||
Asm {StdAOpts} -o "{Targ}" "{MemoryMgrDir}MemoryMgrInternal.a"
|
Asm {StdAOpts} -o "{Targ}" "{MemoryMgrDir}MemoryMgrInternal.a"
|
||||||
|
|
||||||
|
|
||||||
|
#include {FigmentDir}Figment.Make
|
||||||
|
@@ -67,14 +67,14 @@ RealTimeDir = {OSDir}RealTime:
|
|||||||
#include {ADBDir}ADBMgr.make
|
#include {ADBDir}ADBMgr.make
|
||||||
#include {TimeMgrDir}TimeMgr.make
|
#include {TimeMgrDir}TimeMgr.make
|
||||||
#include {MemoryMgrDir}MemoryMgr.make
|
#include {MemoryMgrDir}MemoryMgr.make
|
||||||
#include {BeepDir}Beep.make
|
##include {BeepDir}Beep.make
|
||||||
#include {FPEmulationDir}FPEmulation.make
|
#include {FPEmulationDir}FPEmulation.make
|
||||||
#include {GestaltDir}Gestalt.make
|
#include {GestaltDir}Gestalt.make
|
||||||
#include {KeyboardDir}Keyboard.make
|
#include {KeyboardDir}Keyboard.make
|
||||||
#include {NetBootDir}NetBoot.make
|
#include {NetBootDir}NetBoot.make
|
||||||
#include {VDigDir}VDig.make
|
#include {VDigDir}VDig.make
|
||||||
#include {I2CDir}I2C.make
|
#include {I2CDir}I2C.make
|
||||||
#include {RealTimeDir}RealTime.make
|
##include {RealTimeDir}RealTime.make
|
||||||
|
|
||||||
|
|
||||||
OSObjs = "{ObjDir}clock.a.o" <09>
|
OSObjs = "{ObjDir}clock.a.o" <09>
|
||||||
|
@@ -49,7 +49,7 @@ Boot3Objects = "{ObjDir}Boot3.a.o"
|
|||||||
Rez {StdROpts} -a -o "{targ}" -d ROMBuildTime="{ROMBuildTime}" "{StartDir}Gibbly.r" || Exit 1
|
Rez {StdROpts} -a -o "{targ}" -d ROMBuildTime="{ROMBuildTime}" "{StartDir}Gibbly.r" || Exit 1
|
||||||
|
|
||||||
"{RsrcDir}Gibbly.rsrc" <09><> {Boot3Objects}
|
"{RsrcDir}Gibbly.rsrc" <09><> {Boot3Objects}
|
||||||
Link {StdLOpts} {StdAlign} -o "{Targ}" {Boot3Objects} -rt 'boot=3' -ra =resSysHeap,resLocked || Exit 1
|
Link {StdLOpts} -o "{Targ}" {Boot3Objects} -rt 'boot=3' -ra =resSysHeap,resLocked || Exit 1
|
||||||
|
|
||||||
"{LibDir}StartMgr.lib" <09> {StartMgrObjs}
|
"{LibDir}StartMgr.lib" <09> {StartMgrObjs}
|
||||||
Lib {StdLibOpts} {StartMgrObjs} -o "{Targ}"
|
Lib {StdLibOpts} {StartMgrObjs} -o "{Targ}"
|
||||||
|
Reference in New Issue
Block a user