Files
Shawn Quick dfcaae62dd Add qlink, the disk tools, and a bootable ProDOS 8 image.
Move the assembler to src/qasm. qlink links OMF 1.0 and 2.0 from a script. makeBin flattens a load file, qomf dumps OMF, and qpro builds ProDOS volumes. APW and MPW assemble through the ORCA front end. Relocatable modules emit OMF objects. Listings stay off unless -l is set.

make boot assembles the GS/OS 6.0.1 ProDOS 8 kernel and BASIC.SYSTEM into an 800K volume. BASIC.SYSTEM accepts ls and pfx, and its splash reports PRODOS BASIC 2.0, copyright 1983-2026. IIGS.601.SRC is the source and the BASIC.SYSTEM oracle that image is built from.
2026-10-16 14:41:55 -07:00

1 line
2.1 KiB
Makefile

#
# This MakeFile will build the AppleShare FST for GS/OS.
#
# It is assumed that all of the sources are in the same directory
# and that all objects will be placed there, too.
#
# The file AppleShare.FST will be generated as final output.
#
#
# Modification history:
#
# 15-Aug-88 MSD Equates are now in a dump file.
# Objects and listings in their own folders.
# 10-Nov-88 MSD By default, no listings generated.
# 10-Jan-88 MSD Added -i for :obj:equates.dump
#
# First, define all of the objects that need to be linked.
#
objects = :obj:header.o ¶
:obj:volume.o ¶
:obj:getdevnum.o ¶
:obj:create.o ¶
:obj:destroy.o ¶
:obj:clearbackup.o ¶
:obj:getinfo.o ¶
:obj:setinfo.o ¶
:obj:changepath.o ¶
:obj:open.o ¶
:obj:close.o ¶
:obj:volmod.o ¶
:obj:flush.o ¶
:obj:mark.o ¶
:obj:eof.o ¶
:obj:read.o ¶
:obj:write.o ¶
:obj:getdir.o ¶
:obj:specific.o ¶
:obj:time.o ¶
:obj:subs.o ¶
:obj:FindPath.o ¶
:obj:sendpacket.o ¶
:obj:data.o
#
# Now define the default option for listings, etc.
#
# Note: to generate full listings, use the following Make
# command line:
# make -d "AsmOpts=-l -lo :list:" -d "LinkOpts=-l >:list:link.map"
#
AsmOpts =
LinkOpts =
#
# The FST depends on all of its object files....
#
AppleShare.FST Ä {objects}
LinkIIGS -t $BD -at 0 -o AppleShare.FST {objects} {LinkOpts}
#
# The "FST" target is useful for building just the FST
# without running the DuplicateIIGS tool.
#
FST Ä {objects}
LinkIIGS -t $BD -at 0 -o AppleShare.FST {objects} {LinkOpts}
#
# Almost all of the object files include the equates.dump
# file, so rebuild them all if the equates file changes.
#
# Currently, the only object file that does NOT depend on
# the equates file is data.o since equates imports some
# of the data fields from data.
#
{objects} Ä :obj:equates.dump
#
# Generic rule for assembling a file (turning xxx.aii into xxx.o)
#
:obj: Ä :src:
.o Ä .aii
AsmIIGS -f -i :obj: -o {TargDir}{Default}.o {AsmOpts} {DepDir}{Default}.aii
#
# Rule for building the equates.dump file
#
:obj:equates.dump Ä :src:equates.aii
AsmIIGS -f {AsmOpts} -o :obj:equates.o :src:equates.aii
Delete -i :obj:equates.o