antoine-source/appleworksgs/SS/SS.make

1 line
3.3 KiB
Plaintext
Raw Normal View History

2023-03-04 02:45:20 +00:00
# # SS.make - Makefile for SS # # 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 = -i {IncDir},{AWGS}Macros,{AWGS}Driver,{AWGS}Heap,{AWGS}Eval # -d Profile,ProfileNumber=13 Segment1 = SS Segment2 = SS2 Module = SS ModuleDir = {AWGS}{Module}: SrcDir = {ModuleDir}Src: IncDir = {ModuleDir} ObjDir = {ModuleDir}Obj: Linkfile = {ModuleDir}{Module}.link Makefile = {ModuleDir}{Module}.make GlobalIncludes = {IncDir}SS.equ <09> {AWGS}Driver:Driver.equ <09> {AWGS}Heap:Heap.aii.i GlobalMacros = {AWGS}Macros:Macros.dump <09> {AWGS}Macros:M16.Profile <09> Objs = {Objs1} {Objs2} Objs1 = {ObjDir}Data.aii.o <09> {ObjDir}SS.aii.o <09> {ObjDir}FileIO.aii.o <09> {ObjDir}Edit.aii.o <09> {ObjDir}Edit2.aii.o <09> {ObjDir}Undo.aii.o <09> {ObjDir}Move.aii.o <09> {ObjDir}Move2.aii.o <09> {ObjDir}Move3.aii.o <09> {ObjDir}Sort.aii.o <09> {ObjDir}Format.aii.o <09> {ObjDir}Options.aii.o <09> {ObjDir}DataMenu.aii.o <09> {ObjDir}Update.aii.o <09> {ObjDir}Draw.aii.o <09> {ObjDir}Draw2.aii.o <09> {ObjDir}Mouse.aii.o <09> {ObjDir}Key.aii.o <09> {ObjDir}Misc.aii.o <09> {ObjDir}Cells.aii.o <09> {ObjDir}Cells2.aii.o <09> {ObjDir}CellEdit.aii.o <09> {ObjDir}CellEval.aii.o <09> {ObjDir}Eval2.aii.o <09> {ObjDir}Dlog.aii.o Objs2 = {ObjDir}Misc2.aii.o <09> {ObjDir}Dlog2.aii.o <09> {ObjDir}Chart.aii.o <09> {ObjDir}Pie.aii.o <09> {ObjDir}Bar.aii.o <09> {ObjDir}ChartData.aii.o #-------------------------------------------------------------------------------- # Main target {Linkfile} <09><> {Objs} {Makefile} @if "`newer {Makefile} {LinkFile}`" @echo "Creating {LinkFile} <20><>" @echo " -lseg<65>{Kind<6E>} {Segment1} {Objs1} <09><>" > {Targ} @echo " -lseg<65>{Kind<6E>} {Segment2} {Objs2} <09><>" >> {Targ} @else @touch {Linkfile} @end # SS dependencies {Objs} <09> {GlobalIncludes} {GlobalMacros} {ObjDir}Data.aii.o <09> {ObjDir}CellEdit.aii.o <09> {ObjDir}CellEval.aii.o <09> {ObjDir}Cells2.aii.o <09> {ObjDir}Move.aii.o <09> {ObjDir}Move2.aii.o <09> {ObjDir}Move3.aii.o <09> {ObjDir}Undo.aii.o <09> {ObjDir}SS.aii.o <09> {Makefile} {ObjDir}CellEval.aii.o <09> {ObjDir}CellEdit.aii.o <09> {ObjDir}Cells2.aii.o <09> {ObjDir}Dlog2.aii.o <09> {ObjDir}Draw.aii.o <09> {ObjDir}Edit.aii.o <09> {ObjDir}Eval2.aii.o <09> {ObjDir}Misc.aii.o <09> {ObjDir}Misc2.aii.o <09> {ObjDir}Move.aii.o <09> {ObjDir}Move2.aii.o <09> {ObjDir}Move3.aii.o <09> {ObjDir}SS.aii.o <09> {AWGS}Eval:Eval.aii.i clean <09> @confirm "Delete {Module} objs and linkfile?" @if {status} == 0 then rm {Linkfile} {Objs} @end #-------------------------------------------------------------------------------- # Default rules .aii.o <09> .aii AsmIIGS {DepDir}{Default}.aii -o {TargDir}{Default}.aii.o {AsmIIGSOptions} {ObjDir} <09> {SrcDir}