mirror of
https://github.com/antoinevignau/source.git
synced 2025-01-07 07:29:49 +00:00
1 line
2.1 KiB
Plaintext
1 line
2.1 KiB
Plaintext
|
#
# Heap.make - Makefile for Heap
#
# Copyright <20> 1989, Claris Corporation.
#
# This is a sub-makefile, called recursively when ::AppleWorks.make is
# executed.
#
# All modules (including Driver, Scrap, Pict, SS, DB, etc.)
# should have similar makefiles in their respective folders.
#
# This makefile rebuilds the module object files as necessary and creates a
# file containing the necessary steps to link the module with the rest of
# AppleWorksGS. ::AppleWorks.make combines the link files from the modules
# into a script which it executes to create an executable.
#--------------------------------------------------------------------------------
# Variables
AsmIIGSOptions = -i {HeapIncDir},{AWGS}Driver,{AWGS}Macros <09>
-d ErrorCheck=0,Verbose=0,VerboseErrors=0,Debug=0,Profile=0 <09>
-d DriverSupport=1,HeapIO=3,Squeezing=1,GrowBlocks=1 <09>
-d VariableDSegSize=1,VariableISegSize=0,UseLastResort=0 <09>
-d ZeroInit=1,ReadV70=1
Segment = HEAP
Module = Heap
ModuleDir = {AWGS}{Module}:
HeapSrcDir = {AWGS}Heap:Src:
HeapIncDir = {AWGS}Heap:
HeapObjDir = {AWGS}Heap:Obj:
Linkfile = {ModuleDir}{Module}.link
Makefile = {ModuleDir}{Module}.make
HeapIncludes = {HeapIncDir}Heap.equ <09>
{HeapSrcDir}HeapPrivate.equ <09>
{HeapSrcDir}Heap.mac <09>
{HeapIncDir}Heap.aii.i
GlobalMacros = {AWGS}Macros:Macros.Dump <09>
{AWGS}Macros:m16.profile
Objs = {HeapObjs}
HeapObjs = {HeapObjDir}Heap.aii.o <09>
{HeapObjDir}Block.aii.o <09>
# {HeapObjDir}X_Heap.aii.o # temporary glue routines
#--------------------------------------------------------------------------------
# Main target
{Linkfile} <09><> {Objs} {Makefile}
@echo "# Creating {LinkFile} <20><>"
@echo " -lseg<65>{Kind<6E>} {Segment} {Objs} <09><>" > {Targ}
# Global heap dependencies
{HeapObjs} <09> {HeapIncludes} {GlobalMacros} {Makefile}
clean <09>
@confirm "Delete {Module} objs and linkfile?"
@if {status} == 0 then
delete {Linkfile} {Objs}
@end
#--------------------------------------------------------------------------------
# Default rules
.aii.o <09> .aii
AsmIIGS {DepDir}{Default}.aii -o {TargDir}{Default}.aii.o {AsmIIGSOptions}
{HeapObjDir} <09> {HeapSrcDir}
|