mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2025-01-06 14:30:37 +00:00
248 lines
8.3 KiB
Plaintext
248 lines
8.3 KiB
Plaintext
|
#
|
|||
|
# File: LC930.make
|
|||
|
#
|
|||
|
# Contains: Makefile for the LC930 ROM.
|
|||
|
#
|
|||
|
# Written by: Kurt Clark
|
|||
|
#
|
|||
|
# Copyright: <09> 1992-1993 by Apple Computer, Inc., all rights reserved.
|
|||
|
#
|
|||
|
# Change History (most recent first):
|
|||
|
#
|
|||
|
# <SM10> 7/12/93 PN Add hasCPUIDRegister feature
|
|||
|
# <SM9> 7/6/93 PN Change InSane.rsrc to InSaneNFPU.rsrc
|
|||
|
# <SM8> 7/6/93 PN Remove SerialIOP.rsrc
|
|||
|
# <SM7> 5/30/93 SAM Moved ROM_EM to Tidbits.
|
|||
|
# <SM6> 4/1/93 kc Add {ResourceDir}RomResources.r to RomLayout.Rsrc dependency.
|
|||
|
# <SM5> 4/1/93 kc Delete RomResources.rsrc from dependency list.
|
|||
|
# <SM4> 4/1/93 kc Add dependency to RomLayout.Rsrc
|
|||
|
# <SM3> 3/31/93 kc Add TextDir and StdCPOpts.
|
|||
|
# <SM2> 2/22/93 CSS Correct spelling of Resource (from Resoruce).
|
|||
|
# <SM10> 01/07/93 HY Bump ROMRelease version to 10A4.
|
|||
|
# <SM9> 12/17/92 RB Added the variable subRelease.
|
|||
|
# <SM8> 12/14/92 rab Add Craig's changes. Changed C and Pascal standard options to
|
|||
|
# generate 68020 code.
|
|||
|
# <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:LC930:
|
|||
|
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=4 -d CPU=30 -d ROMRelease=$10A4 -wb -d SubRelease=1
|
|||
|
MCOpts = -d TRUE=1 -d FALSE=0 -d Alignment=4 -d CPU=30 -d ROMRelease=$10A4 -b3 <20>
|
|||
|
-mbg full -mc68020
|
|||
|
MPOpts = -mbg full -mc68020
|
|||
|
|
|||
|
RomBase = $40A00000
|
|||
|
|
|||
|
Features = LC930 <09>
|
|||
|
hasSysSevenResources <09>
|
|||
|
Supports24Bit <09>
|
|||
|
BadBlockSparingEnabled <09>
|
|||
|
hasCPUIDRegister <09>
|
|||
|
CubeE <09>
|
|||
|
IopADB <09>
|
|||
|
SystemSevenOrLater <09>
|
|||
|
SystemSixOrLater <09>
|
|||
|
ViaADB <09>
|
|||
|
forADBKeyboards <09>
|
|||
|
forAppleTalk20 <09>
|
|||
|
forLocalizability <09>
|
|||
|
hasADBKeyLayouts <09>
|
|||
|
hasASC <09>
|
|||
|
hasAliasMgr <09>
|
|||
|
hasApple2Fonts <09>
|
|||
|
hasAppleEventMgr <09>
|
|||
|
hasBalloonHelp <09>
|
|||
|
hasCommToolbox <09>
|
|||
|
hasCQD <09>
|
|||
|
hasDAFB <09>
|
|||
|
hasDataAccessMgr <09>
|
|||
|
hasEDisk <09>
|
|||
|
hasEditionMgr <09>
|
|||
|
hasEgret <09>
|
|||
|
hasExtendedCharacterSet <09>
|
|||
|
hasMDU <09>
|
|||
|
hasMMU <09>
|
|||
|
hasMac2VIA2 <09>
|
|||
|
hasProtectedPRAM <09>
|
|||
|
hasSWIM2 <09>
|
|||
|
hasSlotMgr <09>
|
|||
|
hasSplineFonts <09>
|
|||
|
hasVDAC <09>
|
|||
|
hasVIAClock <09>
|
|||
|
hasVISA2 <09>
|
|||
|
hasVISADecoder <09>
|
|||
|
isUniversal <09>
|
|||
|
hasRBV <09>
|
|||
|
NewBuildSystem <09>
|
|||
|
onHafMac <09>
|
|||
|
onMac32 <09>
|
|||
|
onNuMac <09>
|
|||
|
ForROM
|
|||
|
|
|||
|
|
|||
|
ResourceFiles = "{RsrcDir}ATBoot.RSRC" <09>
|
|||
|
"{RsrcDir}AppleEventMgr.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}EDisk.rsrc" <09>
|
|||
|
"{RsrcDir}EditionMgr.rsrc" <09>
|
|||
|
"{MiscDir}Ethernet.rsrc" <09>
|
|||
|
"{RsrcDir}Gibbly.rsrc" <09>
|
|||
|
"{RsrcDir}HelpMgr.rsrc" <09>
|
|||
|
"{RsrcDir}InSaneNFPU.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}SCCIOP.rsrc" <09>
|
|||
|
"{RsrcDir}SWIMIOP.rsrc" <09>
|
|||
|
"{RsrcDir}Sane.rsrc" <09>
|
|||
|
"{RsrcDir}Serial.rsrc" <09>
|
|||
|
"{RsrcDir}SerialDMA.rsrc" <09>
|
|||
|
"{RsrcDir}Sony.rsrc" <09>
|
|||
|
"{RsrcDir}SoundMgr.rsrc" <09>
|
|||
|
"{RsrcDir}StandardFile.rsrc" <09>
|
|||
|
"{RsrcDir}StdSndInput.rsrc" <09>
|
|||
|
"{RsrcDir}StdSndMidput.rsrc" <09>
|
|||
|
"{RsrcDir}StdSndOutput.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 "{RsrcDir}RomLayout.Rsrc" -o "{Targ}" -log "{ImageDir}RomInfo"
|
|||
|
|
|||
|
|
|||
|
LinkRomImage <09> # target for partial builds
|
|||
|
RomLayout "{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}"
|
|||
|
Set StdCOpts "{MCOpts} {FeatureSet} -i {IntCIncludes} {COpts}"
|
|||
|
Set StdCPOpts "{MCPOpts} {FeatureSet} -i {IntCIncludes} {COpts}"
|
|||
|
Set StdPOpts "{MPOpts} {FeatureSet} {POpts} -i {IntPInterfaces} -r"
|
|||
|
Set StdROpts "{FeatureSet} {ROpts} -i {IntRIncludes} -i {RIncludes}"
|
|||
|
Set DSP3210_Temp "{ObjDir}" ; Export DSP3210_Temp
|
|||
|
Set DSP3210_Tools "{ToolDir}" ; Export DSP3210_Tools
|
|||
|
Set DSP3210_Aux "{ToolDir}" ; Export DSP3210_Aux
|
|||
|
Set DSP3210_Includes "{ToolDir}" ; Export DSP3210_Includes
|
|||
|
Set DSP3210_Libraries "{ToolDir}" ; Export DSP3210_Libraries
|
|||
|
Set DSP3210_AsmPP d32cpp ; Export DSP3210_AsmPP
|
|||
|
Set StdLOpts "{LOpts} -mf -t rsrc -c RSED -sg Main"
|
|||
|
Set StdLibOpts "{LibOpts} -mf"
|
|||
|
Set StdAlign "{Align} -ac 4 -ad 4"
|
|||
|
Set StdVOpts "{VOpts}"
|
|||
|
|
|||
|
"{RsrcDir}RomLayout.Rsrc" <09> "{MakeDir}LC930Layout.r" "{ResourceDir}RomResources.r" "{IntRIncludes}RomTypes.r"
|
|||
|
Rez {StdROpts} "{MakeDir}LC930Layout.r" -i "{ResourceDir}" -o "{targ}" -d RomBase={RomBase}
|
|||
|
|
|||
|
|
|||
|
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 {DriverDir}Drivers.make
|
|||
|
|
|||
|
#include {ResourceDir}Resources.make
|