mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2024-12-28 16:31:01 +00:00
131 lines
3.8 KiB
Plaintext
131 lines
3.8 KiB
Plaintext
|
#
|
|||
|
# File DeclData.make
|
|||
|
#
|
|||
|
# Contains: Makefile for Declaration ROM.
|
|||
|
#
|
|||
|
# Written by: Kurt Clark, Chas Spillar, and Tim Nichols
|
|||
|
#
|
|||
|
# Copyright: <09> 1992-1993 by Apple Computer, Inc., all rights reserved.
|
|||
|
#
|
|||
|
# Change History (most recent first):
|
|||
|
#
|
|||
|
# <SM5> 12/13/93 PN Roll in Kaos and Horrors code to support AJ and Malcom machines.
|
|||
|
# <SM4> 9/9/93 pdw Added slots.a to dependencies.
|
|||
|
# <SM3> 08-03-93 jmp Added various necessary dependencies that weren<65>t previously
|
|||
|
# spelled out.
|
|||
|
# <SM2> 3/4/93 dwc Added DeclDataPDMMace definition for PDM ENET.
|
|||
|
# <1> 2/21/93 kc first checked in
|
|||
|
# <SM2> 12-04-92 jmp Added the rules for building VSC (Keystone) DeclData.
|
|||
|
|
|||
|
EthernetDir = {DeclDir}DeclNet:
|
|||
|
SonicDir = {EthernetDir}Sonic:
|
|||
|
MaceDir = {EthernetDir}Mace:
|
|||
|
VideoDir = {DeclDir}DeclVideo:
|
|||
|
GammaDir = {VideoDir}Gamma:
|
|||
|
PDMMaceDir = {MaceDir}PDMMaceEnet:
|
|||
|
|
|||
|
#include {MaceDir}Mace.Make
|
|||
|
#include {SonicDir}Sonic.Make
|
|||
|
#include {VideoDir}VideoDrivers.Make
|
|||
|
#include {PDMMaceDir}PDMEnet.Make
|
|||
|
|
|||
|
DeclResources = "{RsrcDir}DeclData.rsrc" <09>
|
|||
|
|
|||
|
DeclHeaders = "{ObjDir}StandardEqu.d" <09>
|
|||
|
"{AIncludes}GestaltEqu.a" <09>
|
|||
|
"{AIncludes}ShutDown.a" <09>
|
|||
|
"{AIncludes}ROMEqu.a" <09>
|
|||
|
"{AIncludes}Video.a" <09>
|
|||
|
"{IntAIncludes}DockingEqu.a" <09>
|
|||
|
"{IntAIncludes}EgretEqu.a" <09>
|
|||
|
"{IntAIncludes}GestaltPrivateEqu.a" <09>
|
|||
|
"{IntAIncludes}HardwarePrivateEqu.a" <09>
|
|||
|
"{IntAIncludes}IOPrimitiveEqu.a" <09>
|
|||
|
"{IntAIncludes}PowerPrivEqu.a" <09>
|
|||
|
"{AIncludes}Slots.a" <09>
|
|||
|
"{IntAIncludes}SlotMgrEqu.a" <09>
|
|||
|
"{IntAIncludes}UniversalEqu.a" <09>
|
|||
|
"{IntAIncludes}DepVideoEqu.a" <09>
|
|||
|
"{SonicDir}SonicEqu.a"
|
|||
|
|
|||
|
#
|
|||
|
# DeclData
|
|||
|
#
|
|||
|
"{RsrcDir}DeclData" <09> {DeclResources} "{RsrcDir}RomLink"
|
|||
|
"{RsrcDir}RomLink" {DeclResources} -o "{Targ}"
|
|||
|
|
|||
|
|
|||
|
"{RsrcDir}DeclData.rsrc" <09> "{RIncludes}Types.r" <09>
|
|||
|
"{IntRIncludes}DepVideoEqu.r" <09>
|
|||
|
"{IntRIncludes}HardwarePrivateEqu.r" <09>
|
|||
|
"{IntRIncludes}InternalOnlyEqu.r" <09>
|
|||
|
"{IntRIncludes}QuickDraw.r" <09>
|
|||
|
"{IntRIncludes}ROMLink.r" <09>
|
|||
|
"{DeclDir}DeclData.r"
|
|||
|
Rez {StdROpts} "{DeclDir}DeclData.r" -o "{Targ}"
|
|||
|
|
|||
|
|
|||
|
# The ROMLinkHeaderBuilder tool is not used.
|
|||
|
#"{IntRIncludes}ROMLink.r" <09> "{RsrcDir}ROMLinkHeaderBuilder"
|
|||
|
# "{RsrcDir}ROMLinkHeaderBuilder" > {Targ} #This is kinky
|
|||
|
|
|||
|
|
|||
|
#
|
|||
|
# PrimaryInit
|
|||
|
#
|
|||
|
"{RsrcDir}PrimaryInit.rsrc" <09> "{ObjDir}PrimaryInit.a.o"
|
|||
|
Link {StdLOpts} {StdAlign} -rt decl=200 "{ObjDir}PrimaryInit.a.o" -o "{Targ}"
|
|||
|
|
|||
|
|
|||
|
"{ObjDir}PrimaryInit.a.o" <09> "{DeclDir}PrimaryInit.a" <09>
|
|||
|
{DeclHeaders}
|
|||
|
Asm {StdAOpts} -d ForEclipseROM=0,sonic32=1,ctlpad=0,mmu=1 -i "{SonicDir}" "{DeclDir}PrimaryInit.a" -o "{Targ}"
|
|||
|
|
|||
|
|
|||
|
#
|
|||
|
# SecondaryInit
|
|||
|
#
|
|||
|
"{RsrcDir}SecondaryInit.rsrc" <09> "{ObjDir}SecondaryInit.a.o"
|
|||
|
Link {StdLOpts} {StdAlign} -rt decl=210 "{ObjDir}SecondaryInit.a.o" -o "{Targ}"
|
|||
|
|
|||
|
|
|||
|
"{ObjDir}SecondaryInit.a.o" <09> "{DeclDir}SecondaryInit.a" <09>
|
|||
|
{DeclHeaders}
|
|||
|
Asm {StdAOpts} -d ForEclipseROM=0,sonic32=1,ctlpad=0,mmu=1 -i "{SonicDir}" "{DeclDir}SecondaryInit.a" -o "{Targ}"
|
|||
|
|
|||
|
#
|
|||
|
# SuperInit
|
|||
|
#
|
|||
|
|
|||
|
"{RsrcDir}SuperInit.rsrc" <09> "{ObjDir}SuperInit.a.o"
|
|||
|
Link {StdLOpts} {StdAlign} -rt decl=220 "{ObjDir}SuperInit.a.o" -o "{Targ}"
|
|||
|
|
|||
|
|
|||
|
"{ObjDir}SuperInit.a.o" <09> "{DeclDir}SuperInit.a" <09>
|
|||
|
{DeclHeaders}
|
|||
|
Asm {StdAOpts} -d ForEclipseROM=0,sonic32=1,ctlpad=0,mmu=1 -i "{SonicDir}" "{DeclDir}SuperInit.a" -o "{Targ}"
|
|||
|
|
|||
|
#
|
|||
|
# Ethernet
|
|||
|
#
|
|||
|
|
|||
|
"{ObjDir}Loopback.c.o" <09> "{EthernetDir}Loopback.c" <09>
|
|||
|
"{CIncludes}TextUtils.h" <09>
|
|||
|
"{CIncludes}Memory.h" <09>
|
|||
|
"{CIncludes}Devices.h" <09>
|
|||
|
"{CIncludes}Files.h" <09>
|
|||
|
"{CIncludes}AppleTalk.h" <09>
|
|||
|
"{CIncludes}OSUtils.h"
|
|||
|
C {StdCOpts} -b -o "{Targ}" "{EthernetDir}Loopback.c"
|
|||
|
|
|||
|
#
|
|||
|
# Gamma Resource
|
|||
|
#
|
|||
|
|
|||
|
"{RsrcDir}Gamma.rsrc" <09> "{RIncludes}Types.r" <09>
|
|||
|
"{IntRIncludes}ROMLink.r" <09>
|
|||
|
"{GammaDir}Gamma.r"
|
|||
|
Rez {StdROpts} "{GammaDir}Gamma.r" -o "{Targ}"
|
|||
|
|
|||
|
|