mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2025-01-05 08:30:14 +00:00
269 lines
9.2 KiB
Plaintext
269 lines
9.2 KiB
Plaintext
|
#
|
|||
|
# File: DBLite.make
|
|||
|
#
|
|||
|
# Contains: Makefile for the DBLite ROM.
|
|||
|
#
|
|||
|
# Written by: Kurt Clark
|
|||
|
#
|
|||
|
# Copyright: <09> 1992-1993 by Apple Computer, Inc., all rights reserved.
|
|||
|
#
|
|||
|
# Change History (most recent first):
|
|||
|
#
|
|||
|
# <SM13> 12/14/93 PN Enalble Gibbly in ROM
|
|||
|
# <SM12> 12/13/93 PN Roll in KAOs and Horror changes to support Malcom and AJ
|
|||
|
# machines. This is a make file for 603 PowerBook.
|
|||
|
# <SM11> 9/27/93 PN Turn on Figment flag to bring dblite to the 90s
|
|||
|
# <SM10> 9/23/93 PN Change feature and delete extra resources to make 1 Meg ROM
|
|||
|
# <SM9> 9/1/93 SKH Remove SerialIOP reference
|
|||
|
# <SM8> 5/30/93 SAM Moved ROM_EM to Tidbits.
|
|||
|
# <SM7> 4/1/93 kc Add {ResourceDir}RomResources.r to RomLayout.Rsrc dependency.
|
|||
|
# <SM6> 4/1/93 kc Delete RomResources.rsrc from dependency list.
|
|||
|
# <SM5> 4/1/93 kc Add dependency to RomLayout.Rsrc
|
|||
|
# <SM4> 3/31/93 kc Add TextDir and StdCPOpts.
|
|||
|
# <SM3> 3/9/93 CSS Add InSaneNFPU.rsrc to the build and remove Sane.rsrc
|
|||
|
# from the build.
|
|||
|
# <SM2> 3/2/93 CSS More fixes to get this damn thing to work.
|
|||
|
# <SM1> 2/22/93 CSS Checkin in new place and fix some variables per
|
|||
|
# similar changes to the LC930.make file.
|
|||
|
# <SM1> 2/11/93 CSS Checkin from work done by Kurt and Ricardo.
|
|||
|
# <SM7> 12/03/92 HY Removed hasPwrControls, PwrMgrADB, and hasMSC feature flag.
|
|||
|
# Changed version number of ROMRelease to 1.0A2.
|
|||
|
# <SM6> 12/2/92 kc Add RomBase Variable. Set ROMRelease to 1.0A8. Set Commands
|
|||
|
# variable to {ToolDir}. Add Clean Target that deletes all of the
|
|||
|
# objects, libraries and resources.
|
|||
|
# <SM5> 11/30/92 kc Remove -d forRomulator. Added SM10 from supermario.make.
|
|||
|
#
|
|||
|
# <SM5> 11/30/92 kc Remove -d forRomulator. Added SM10 from supermario.make.
|
|||
|
# <SM10> 11/25/92 chp Override the Make tool default dependencies for .a.o, .c.o, and
|
|||
|
# .p.o files so that {StdXOpts} are passed to the assembler or
|
|||
|
# compiler when applying default rules.
|
|||
|
# <SM3> 11/17/92 HY Changed ROMRelease number from 1234 to 4307 (1.0D3)
|
|||
|
# <SM4> 11/23/92 kc Update to work with the new build script.
|
|||
|
# <SM2> 11/17/92 kc Remove unused features and change standard alignment.
|
|||
|
|
|||
|
|
|||
|
BuildDir = {Sources}BuildResults:DBLite:
|
|||
|
ImageDir = {BuildDir}Image:
|
|||
|
RsrcDir = {BuildDir}Rsrc:
|
|||
|
LibDir = {BuildDir}Lib:
|
|||
|
ObjDir = {BuildDir}Obj:
|
|||
|
TextDir = {BuildDir}Text:
|
|||
|
IfObjDir = {ObjDir}Interface:
|
|||
|
MakeDir = {Sources}Make:
|
|||
|
ResourceDir = {Sources}Resources:
|
|||
|
DeclDir = {Sources}DeclData:
|
|||
|
ToolDir = {Sources}Tools:
|
|||
|
ToolSrcDir = {Sources}Tools:ToolSource:
|
|||
|
MiscDir = {Sources}Misc:
|
|||
|
TidbitsDir = {Sources}Tidbits:
|
|||
|
DriverDir = {Sources}Drivers:
|
|||
|
|
|||
|
|
|||
|
AIncludes = {Sources}Interfaces:AIncludes:
|
|||
|
CIncludes = {Sources}Interfaces:CIncludes:
|
|||
|
PInterfaces = {Sources}Interfaces:PInterfaces:
|
|||
|
RIncludes = {Sources}Interfaces:RIncludes:
|
|||
|
IntAIncludes = {Sources}Internal:Asm:
|
|||
|
IntCIncludes = {Sources}Internal:C:
|
|||
|
IntPInterfaces = {Sources}Internal:Pascal:
|
|||
|
IntRIncludes = {Sources}Internal:Rez:
|
|||
|
Libraries = {Sources}Libs:Libraries:
|
|||
|
CLibraries = {Sources}Libs:CLibraries:
|
|||
|
PLibraries = {Sources}Libs:PLibraries:
|
|||
|
|
|||
|
|
|||
|
MAOpts = -d TRUE=1 -d FALSE=0 -d Alignment=16 -d CPU=20 -d ROMRelease=$10D1 -wb -d SubRelease=30 -blksize 62
|
|||
|
MCOpts = -d TRUE=1 -d FALSE=0 -d Alignment=16 -d CPU=20 -d ROMRelease=$10D1 -b3 -mc68020 -mbg full -blksize 62
|
|||
|
MPOpts = -mbg full -mc68020
|
|||
|
|
|||
|
RomBase = $40000000
|
|||
|
|
|||
|
# add DBLite for Duo ROM
|
|||
|
Features = BlackBirdDebug <09>
|
|||
|
hasCacheTypeCPU <09>
|
|||
|
hasSCSIDiskModeFeature <09>
|
|||
|
hasSysSevenResources <09>
|
|||
|
hasCPUIDRegister <09>
|
|||
|
has2MegROMOrMore <09>
|
|||
|
hasAppleTalkInROM <09>
|
|||
|
BadBlockSparingEnabled <09>
|
|||
|
CubeE <09>
|
|||
|
SupportNativeComponents <09>
|
|||
|
hasMixedMode <09>
|
|||
|
nonSerializedIO <09>
|
|||
|
PwrMgrADB <09>
|
|||
|
SystemSevenOrLater <09>
|
|||
|
SystemSixOrLater <09>
|
|||
|
ViaADB <09>
|
|||
|
IopADB <09>
|
|||
|
forADBKeyboards <09>
|
|||
|
forAppleTalk20 <09>
|
|||
|
forLocalizability <09>
|
|||
|
has040MMU <09>
|
|||
|
hasADBKeyLayouts <09>
|
|||
|
hasASC <09>
|
|||
|
hasAliasMgr <09>
|
|||
|
hasApple2Fonts <09>
|
|||
|
hasAppleEventMgr <09>
|
|||
|
hasBalloonHelp <09>
|
|||
|
hasBattery <09>
|
|||
|
hasCommToolbox <09>
|
|||
|
hasCQD <09>
|
|||
|
hasDAFB <09>
|
|||
|
hasDataAccessMgr <09>
|
|||
|
hasDoubleByte <09>
|
|||
|
hasEDisk <09>
|
|||
|
hasEditionMgr <09>
|
|||
|
hasEgret <09>
|
|||
|
hasExtendedCharacterSet <09>
|
|||
|
hasIdle <09>
|
|||
|
hasJaws <09>
|
|||
|
hasLCDScreen <09>
|
|||
|
hasMMU <09>
|
|||
|
hasMSC <09>
|
|||
|
hasMac2VIA2 <09>
|
|||
|
hasNetBoot <09>
|
|||
|
hasNewHeapMgr <09>
|
|||
|
hasNiagra <09>
|
|||
|
hasPratt <09>
|
|||
|
hasProtectedPRAM <09>
|
|||
|
hasSCSI96 <09>
|
|||
|
hasSWIM2 <09>
|
|||
|
hasSlotMgr <09>
|
|||
|
hasSplineFonts <09>
|
|||
|
hasVDAC <09>
|
|||
|
isUniversal <09>
|
|||
|
hasPwrControls <09>
|
|||
|
hasPwrMgrClock <09>
|
|||
|
hasRBV <09>
|
|||
|
hasSplineFonts <09>
|
|||
|
hasVIAClock <09>
|
|||
|
NewBuildSystem <09>
|
|||
|
isUniversal <09>
|
|||
|
onHafMac <09>
|
|||
|
onMac32 <09>
|
|||
|
onNuMac <09>
|
|||
|
hasROMGibbly <09>
|
|||
|
ForROM
|
|||
|
|
|||
|
|
|||
|
ResourceFiles = "{MiscDir}AppleTalk.ROM.RSRC" <09>
|
|||
|
"{RsrcDir}AppleEventMgr.rsrc" <09>
|
|||
|
"{RsrcDir}ATBoot.RSRC" <09>
|
|||
|
"{RsrcDir}Backlight.rsrc" <09>
|
|||
|
"{RsrcDir}CQD.rsrc" <09>
|
|||
|
"{RsrcDir}ColorPicker.rsrc" <09>
|
|||
|
"{RsrcDir}CommToolbox.rsrc" <09>
|
|||
|
"{RsrcDir}ControlMgr.rsrc" <09>
|
|||
|
"{RsrcDir}DataAccessMgr.rsrc" <09>
|
|||
|
"{RsrcDir}DictionaryMgr.rsrc" <09>
|
|||
|
"{RsrcDir}DeclData" <09>
|
|||
|
"{RsrcDir}VSCDriver.rsrc" <09>
|
|||
|
"{RsrcDir}EDisk.rsrc" <09>
|
|||
|
"{RsrcDir}EditionMgr.rsrc" <09>
|
|||
|
"{MiscDir}Ethernet.rsrc" <09>
|
|||
|
"{RsrcDir}Gibbly.rsrc" <09>
|
|||
|
"{MiscDir}GoNativeResources" <09>
|
|||
|
"{MiscDir}EmulatorAccelerations.rsrc" <09>
|
|||
|
"{RsrcDir}HelpMgr.rsrc" <09>
|
|||
|
"{RsrcDir}InSane.rsrc" <09>
|
|||
|
"{RsrcDir}InSaneNFPU.rsrc" <09>
|
|||
|
"{RsrcDir}Sane.rsrc" <09>
|
|||
|
"{RsrcDir}ListMgr.rsrc" <09>
|
|||
|
"{RsrcDir}MainCode.Rsrc" <09>
|
|||
|
"{RsrcDir}MenuMgr.rsrc" <09>
|
|||
|
"{RsrcDir}MiscROMRsrcs.rsrc" <09>
|
|||
|
"{RsrcDir}NetBoot.rsrc" <09>
|
|||
|
"{RsrcDir}PPC.rsrc" <09>
|
|||
|
"{RsrcDir}PictUtilities.rsrc" <09>
|
|||
|
"{RsrcDir}ROMApple2Fonts.rsrc" <09>
|
|||
|
"{RsrcDir}ROMFonts.rsrc" <09>
|
|||
|
"{RsrcDir}RomLayout.Rsrc" <09>
|
|||
|
"{RsrcDir}Serial.rsrc" <09>
|
|||
|
"{RsrcDir}Sony.rsrc" <09>
|
|||
|
"{RsrcDir}SoundMgr.rsrc" <09>
|
|||
|
"{RsrcDir}StandardFile.rsrc" <09>
|
|||
|
"{MiscDir}VM.RSRC" <09>
|
|||
|
"{RsrcDir}WindowMgr.rsrc" <09>
|
|||
|
"{RsrcDir}kbd.rsrc"
|
|||
|
|
|||
|
|
|||
|
RomMondo <09> FeatureSet "{ImageDir}RomMondo"
|
|||
|
Beep;Beep;Beep
|
|||
|
|
|||
|
|
|||
|
"{ImageDir}RomMondo" <09> {ResourceFiles}
|
|||
|
RomLayout -mf "{RsrcDir}ROMLayout.Rsrc" -o "{Targ}" -log "{ImageDir}RomInfo"
|
|||
|
|
|||
|
|
|||
|
LinkRomImage <09> # target for partial builds
|
|||
|
RomLayout -mf "{RsrcDir}ROMLayout.Rsrc" -o "{ImageDir}RomMondo" -log "{ImageDir}RomInfo"
|
|||
|
|
|||
|
|
|||
|
FeatureSet <09>
|
|||
|
Set FeatureSet "`{MakeDir}FeatureList "{Features}" "{Overrides}" `" ; Export FeatureSet
|
|||
|
Set Commands "{ToolDir},{Commands}"
|
|||
|
Set ObjDir "{ObjDir}" ; Export ObjDir
|
|||
|
Set RsrcDir "{RsrcDir}" ; Export RsrcDir
|
|||
|
Set TextDir "{TextDir}" ; Export TextDir
|
|||
|
Set MiscDir "{MiscDir}" ; Export MiscDir
|
|||
|
Set TidbitsDir "{TidbitsDir}" ; Export TidbitsDir
|
|||
|
Set ROMBuildTime "`Date -n`" ; Export ROMBuildTime
|
|||
|
Set AIncludes "{AIncludes}"
|
|||
|
Set CIncludes "{CIncludes}"
|
|||
|
Set PInterfaces "{PInterfaces}"
|
|||
|
Set RIncludes "{RIncludes}"
|
|||
|
Set Libraries "{Libraries}"
|
|||
|
Set CLibraries "{CLibraries}"
|
|||
|
Set PLibraries "{PLibraries}"
|
|||
|
Set StdAOpts "{MAOpts} {FeatureSet} -i {IntAIncludes} {AOpts} -i {ObjDir} -sym on,nolines,notypes,novars"
|
|||
|
Set StdCOpts "{MCOpts} {FeatureSet} -i {IntCIncludes} {COpts} -sym on,nolines,notypes,novars"
|
|||
|
Set StdCPOpts "{MCPOpts} {FeatureSet} -i {IntCIncludes} {COpts}"
|
|||
|
Set StdPOpts "{MPOpts} {FeatureSet} {POpts} -i {IntPInterfaces} -r"
|
|||
|
Set StdROpts "{FeatureSet} {ROpts} -i {IntRIncludes} -i {RIncludes}"
|
|||
|
Set StdLOpts "{LOpts} -mf -t rsrc -c RSED -sg Main"
|
|||
|
Set StdLibOpts "{LibOpts} -mf -sym on,nolines,notypes,novars"
|
|||
|
Set StdAlign "{Align} -ac 16 -ad 16"
|
|||
|
Set StdVOpts "{VOpts}"
|
|||
|
Set StdEquAOpts "`{MakeDir}CreateStdEquAOptions "{FeatureSet}"`" ; Export StdEquAOpts
|
|||
|
|
|||
|
"{RsrcDir}ROMLayout.Rsrc" <09> "{MakeDir}DBLiteLayout.r" "{ResourceDir}RomResources.r" "{IntRIncludes}RomTypes.r"
|
|||
|
Rez {StdROpts} "{MakeDir}DBLiteLayout.r" -i "{ResourceDir}" -o "{targ}" -d RomBase={RomBase} -c RSED -t rsrc
|
|||
|
|
|||
|
Clean <09>
|
|||
|
Delete -n -i "{ImageDir}"<22>
|
|||
|
Delete -n -i "{RsrcDir}"<22>
|
|||
|
Delete -n -i "{LibDir}"<22>
|
|||
|
Delete -n -i "{ObjDir}"<22>
|
|||
|
Delete -n -i "{IfObjDir}"<22>
|
|||
|
|
|||
|
|
|||
|
# Following are essentially the default rules from the Make tool, modified to use
|
|||
|
# {StdAOpts}, {StdCOpts}, and {StdPOpts} as they are defined in this file.
|
|||
|
# These options are supersets of the default {AOpts}, {COpts}, and {POpts}.
|
|||
|
|
|||
|
.a.o <09> .a
|
|||
|
{Asm} {StdAOpts} -o {Targ} {DepDir}{Default}.a
|
|||
|
|
|||
|
.c.o <09> .c
|
|||
|
{C} {StdCOpts} -o {Targ} {DepDir}{Default}.c
|
|||
|
|
|||
|
.p.o <09> .p
|
|||
|
{Pascal} {StdPOpts} -o {Targ} {DepDir}{Default}.p
|
|||
|
|
|||
|
.cp.o <09> .c
|
|||
|
{CPlus} {StdCPOpts} -o {Targ} {DepDir}{Default}.cp
|
|||
|
|
|||
|
#include {ToolSrcDir}Tools.make
|
|||
|
|
|||
|
#include {MakeDir}MainCode.make
|
|||
|
|
|||
|
#include {DeclDir}DeclData.make
|
|||
|
|
|||
|
#include {DeclDir}VSCDeclData:VSCDeclData.make
|
|||
|
|
|||
|
#include {DriverDir}Drivers.make
|
|||
|
|
|||
|
#include {ResourceDir}Resources.make
|
|||
|
|