mirror of
https://github.com/antoinevignau/source.git
synced 2025-01-04 04:31:04 +00:00
1 line
5.0 KiB
Plaintext
1 line
5.0 KiB
Plaintext
|
#
# Spell.make - Makefile for Spell
#
# 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 this 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 =
CIIGSOptions =
Segment1 = SPTHSTATIC
Segment2 = SP
Segment3 = TH
Segment4 = SPTH
Module = Spell
ModuleDir = {AWGS}{Module}:
SrcDir = {ModuleDir}Src:
IncDir = {ModuleDir}Inc:
ObjDir = {ModuleDir}Obj:
CLib = {AWGS}CLib:CLib
Linkfile = {ModuleDir}{Module}.link
Makefile = {ModuleDir}{Module}.make
GlobalIncludes =
GlobalMacros = {AWGS}Macros:Macros.dump
All_Objs = {Objs1} {Objs2} {Objs3} {Objs4}
Other_Objs = {Objs5}
DemoObjs = {ObjDir}spdemo.o
Objs = {Objs1} {Objs2} {Objs3} {Objs4}
Objs1 = {ObjDir}engphon.o <09>
{ObjDir}bytread.o
Objs2 = {ObjDir}sp.o <09>
{ObjDir}spdlg.o <09>
{ObjDir}udedit.o <09>
{ObjDir}chartype.o <09>
{ObjDir}correct.o <09>
{ObjDir}corrphon.o <09>
{ObjDir}corrsubr.o <09>
{ObjDir}clx.o <09>
{ObjDir}lex.o <09>
{ObjDir}isword.o <09>
{ObjDir}spath.o <09>
{ObjDir}sCLib.o <09>
{ObjDir}clam.o
Objs3 = {ObjDir}thdlg.o <09>
{ObjDir}th.o <09>
{ObjDir}thes.o <09>
{ObjDir}thesutil.o <09>
{ObjDir}unflect.o <09>
{ObjDir}inflect.o <09>
{ObjDir}unfexc.o <09>
{ObjDir}dispunf.o <09>
{ObjDir}tlex.o <09>
{ObjDir}tsCLib.o
Objs4 = {ObjDir}memory.o <09>
{ObjDir}zalloc.o <09>
{ObjDir}strdiff.o <09>
{ObjDir}move.o <09>
{ObjDir}strecpy.o <09>
{ObjDir}phon.o <09>
{ObjDir}proxzero.o <09>
{ObjDir}proxio.o <09>
{ObjDir}newutils.o
Objs5 = {ObjDir}spint.o <09>
{ObjDir}cortheta.o <09>
{ObjDir}corasm.o <09>
{ObjDir}clxasm.o <09>
{ObjDir}lexasm.o <09>
{ObjDir}thint.o <09>
{ObjDir}tlexasm.o
SP_H = {ObjDir}clam.o <09>
{ObjDir}clx.o <09>
{ObjDir}lex.o <09>
{ObjDir}memory.o <09>
{ObjDir}sp.o <09>
{ObjDir}spdemo.o <09>
{ObjDir}spdlg.o <09>
{ObjDir}uedit.o
TH_H = {ObjDir}th.o <09>
{ObjDir}thdlg.o <09>
{ObjDir}thes.o <09>
{ObjDir}tlex.o <09>
{ObjDir}unfexc.o
ARRAYS = `suffixlist (@~arrays) {ALL_OBJS} {CLib}`
GLOBALS = `suffixlist (@~globals) {ALL_OBJS} {CLib}`
Objs1_main = `suffixlist (@main) {Objs1}`
Objs2_main = `suffixlist (@main) {Objs2}`
Objs3_main = `suffixlist (@main) {Objs3}`
Objs4_main = `suffixlist (@main) {Objs4}`
Demo_main = `suffixlist (@main) {DemoObjs}`
Demo_arrays = `suffixlist (@~arrays) {DemoObjs}`
Demo_globals = `suffixlist (@~globals) {DemoObjs}`
BobList = {AWGS}Driver:Obj:BL.<2E>
#--------------------------------------------------------------------------------
# Main target
{Linkfile} <09><> {Objs} {Makefile} {other_objs} {CLib}
@if "`newer {Makefile} {LinkFile}`"; <09>
@echo "# Creating {LinkFile} <20><>"
@echo " -lib {CLib} <09><>" > {Targ}
@echo " -lseg {Segment1} {Objs1_main} <09><>" >> {Targ}
@echo " {Objs5} <09><>" >> {Targ}
@echo " {Arrays} <09><>" >> {Targ}
@echo " {Globals} <09><>" >> {Targ}
@echo " -lseg:dynamic {Segment2} {Objs2_main} <09><>" >> {Targ}
@echo " -lseg:dynamic {Segment3} {Objs3_main} <09><>" >> {Targ}
@echo " -lseg:dynamic {Segment4} {Objs4_main} <09><>" >> {Targ}
@echo " {CLib}(@main) <09><>" >> {Targ}
@else
@touch {linkfile}
@end
spdemo <09><> {ALL_OBJS} {OTHER_OBJS} {DemoObjs} {CLib} spell.make
@linkiigs -apw -o spdemo <09>
@ -lib {CLib} <09>
@ -lseg main {ciigslibrary}start.obj {Demo_main} <20>
@ -lseg {Segment1} {Objs1_main} <09>
@ {Objs5} <09>
@ {Demo_arrays} <09>
@ {Demo_globals} <09>
@ {BobList} <09>
@ {ARRAYS} <09>
@ {GLOBALS} <09>
@ -lseg
|