home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
online
/
source
/
c
/
compilers
/
Tickle-4.0.sit.hqx
/
Tickle-4.0
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-11-21
|
18KB
|
669 lines
##
## This source code was written by Tim Endres
## Email: time@ice.com.
## USMail: 8840 Main Street, Whitmore Lake, MI 48189
##
## Some portions of this application utilize sources
## that are copyrighted by ICE Engineering, Inc., and
## ICE Engineering retains all rights to those sources.
##
## Neither ICE Engineering, Inc., nor Tim Endres,
## warrants this source code for any reason, and neither
## party assumes any responsbility for the use of these
## sources, libraries, or applications. The user of these
## sources and binaries assumes all responsbilities for
## any resulting consequences.
##
tickle = ":"
tickleLib = "{tickle}lib:"
tickleSrc = "{tickle}src:"
tickleObj = "{tickle}obj:"
tickleExt = "{tickle}externals:"
tickleCObj = "{tickle}obj:common:"
tickleAObj = "{tickle}obj:appl:"
tickleEObj = "{tickle}obj:engine:"
tcl = "{tickle}tcl:"
tclSrc = "{tcl}src:"
tclObj = "{tcl}obj:"
tclX = "{tickle}tcl:extend:"
tclXSrc = "{tcl}extend:src:"
tclXObj = "{tcl}extend:obj:"
cbtree = "{tickle}cbtree:"
cbtSrc = "{cbtree}src:"
cbtObj = "{cbtree}obj:"
dbm = "{tickle}dbm:"
dbmSrc = "{dbm}src:"
dbmObj = "{dbm}obj:"
### TCL_LIBRARY = /usr/local/lib/tcl
TCL_LIBRARY = ":library"
TCL_MASTERDIR = ":library:tclmaster"
DELETE = Delete -i -y
#
# CFLAGS is used to determine the flags given to the C compiler
# whenever source code is compiled for the tickle application.
#
CFLAGS = ∂
-w ∂
-b ∂
-i "{tcl}" ∂
-i "{tclSrc}" ∂
-i "{tclXSrc}" ∂
-i "{cbtSrc}" ∂
-i "{dbmSrc}" ∂
-mbg full ∂
-sym off ∂
-d MPW ∂
-d MPW3 ∂
-d TCL_LIBRARY="∂"{TCL_LIBRARY}∂"" ∂
-d TCL_MASTERDIR="∂"{TCL_MASTERDIR}∂""
LDFlags = -sym off -w
#
# This macro defines the resulting compiled object files that
# are linked together into the final application. It in turn
# creates the dependencies for the source code comilation.
#
COBJ = ∂
"{tickleCObj}"ListFilter.c.o ∂
"{tickleCObj}"macbinary.c.o ∂
"{tickleCObj}"tar.c.o ∂
"{tickleCObj}"tar_buffer.c.o ∂
"{tickleCObj}"tar_create.c.o ∂
"{tickleCObj}"tar_dialog.c.o ∂
"{tickleCObj}"tar_list.c.o ∂
"{tickleCObj}"lcompare.c.o ∂
"{tickleCObj}"utilities.c.o ∂
"{tickleCObj}"progress.c.o ∂
"{tickleCObj}"FileInfo.c.o ∂
"{tickleCObj}"mbinfo.c.o ∂
"{tickleCObj}"asd.c.o ∂
"{tickleCObj}"asdtomb.c.o ∂
"{tickleCObj}"mbtoasd.c.o ∂
"{tickleCObj}"mactoasd.c.o
AOBJ = "{tickleAObj}"tickle.c.o ∂
"{tickleAObj}"GetDirectory.c.o ∂
"{tickleAObj}"Event.c.o ∂
"{tickleAObj}"AEtcl.c.o ∂
"{tickleAObj}"AEvent.c.o ∂
"{tickleAObj}"Command.c.o ∂
"{tickleAObj}"Menus.c.o ∂
"{tickleAObj}"init.c.o ∂
"{tickleAObj}"tar_dir.c.o ∂
"{tickleAObj}"tar_extract.c.o ∂
"{tickleAObj}"floppycopy.c.o ∂
"{tickleAObj}"hfs_action.c.o ∂
"{tickleAObj}"SFGetFile.c.o ∂
"{tickleAObj}"asdtomac.c.o ∂
"{tickleAObj}"tcl.c.o ∂
"{tickleAObj}"tclMac.c.o ∂
"{tickleAObj}"tclMacCWD.c.o ∂
"{tickleAObj}"tcl-ctb.c.o ∂
"{tickleAObj}"tcl-dbm.c.o ∂
"{tickleAObj}"tcl-cbtree.c.o
EOBJ = ∂
"{tickleEObj}"tickle.c.o ∂
"{tickleEObj}"GetDirectory.c.o ∂
"{tickleEObj}"Event.c.o ∂
"{tickleEObj}"AEtcl.c.o ∂
"{tickleEObj}"AEvent.c.o ∂
"{tickleEObj}"tar_dir.c.o ∂
"{tickleEObj}"tar_extract.c.o ∂
"{tickleEObj}"asdtomac.c.o ∂
"{tickleEObj}"tcl.c.o ∂
"{tickleEObj}"tclMac.c.o ∂
"{tickleEObj}"tclMacCWD.c.o ∂
"{tickleEObj}"tcl-ctb.c.o ∂
"{tickleEObj}"tcl-dbm.c.o ∂
"{tickleEObj}"tcl-cbtree.c.o ∂
"{tickleEObj}"init.c.o
MPW_LIBS = ∂
"{Libraries}"RunTime.o ∂
"{Libraries}"Interface.o ∂
"{CLibraries}"StdCLib.o ∂
"{CLibraries}"Math.o ∂
"{CLibraries}"CSANELib.o
AEBUILD_LIBS = ∂
"{tickleLib}"AEBuild.o ∂
"{tickleLib}"AEStream.o
EXTRA_LIBS = ∂
"{tickleLib}"libdbm.o ∂
"{tickleLib}"libcbtree.o ∂
"{tickleLib}"MacLib.o
TCL_LIBS = ∂
"{tcl}"libtcl.o ∂
"{tcl}"libtclX.o
SHELL_LIBS = ∂
"{Libraries}"RunTime.o ∂
"{Libraries}"Interface.o ∂
"{Libraries}"ToolLibs.o ∂
"{CLibraries}"StdCLib.o ∂
"{CLibraries}"Math.o ∂
"{CLibraries}"CSANELib.o ∂
"{tickleLib}"MacLib.o
LIBS = ∂
{TCL_LIBS} ∂
{AEBUILD_LIBS} ∂
{EXTRA_LIBS} ∂
{MPW_LIBS}
TCL_GENERIC_OBJS = ∂
"{tclObj}"regexp.c.o ∂
"{tclObj}"tclAsync.c.o ∂
"{tclObj}"tclBasic.c.o ∂
"{tclObj}"tclCkalloc.c.o ∂
"{tclObj}"tclCmdAH.c.o ∂
"{tclObj}"tclCmdIL.c.o ∂
"{tclObj}"tclCmdMZ.c.o ∂
"{tclObj}"tclExpr.c.o ∂
"{tclObj}"tclGet.c.o ∂
"{tclObj}"tclHash.c.o ∂
"{tclObj}"tclHistory.c.o ∂
"{tclObj}"tclParse.c.o ∂
"{tclObj}"tclProc.c.o ∂
"{tclObj}"tclUtil.c.o ∂
"{tclObj}"tclVar.c.o
TCL_UNIX_OBJS = ∂
"{tclObj}"stat.c.o ∂
"{tclObj}"tclEnv.c.o ∂
"{tclObj}"tclGlob.c.o ∂
"{tclObj}"tclUnixAZ.c.o ∂
"{tclObj}"tclUnixStr.c.o ∂
"{tclObj}"tclUnixUtil.c.o
TCL_MAC_OBJS = ∂
"{tclObj}"tclMacUtil.c.o ∂
"{tclObj}"macPanic.c.o
TCL_OBJS = ∂
{TCL_GENERIC_OBJS} ∂
{TCL_MAC_OBJS} ∂
{TCL_UNIX_OBJS}
TCL_X_OBJS = ∂
"{tclXObj}"ndebug.c.o ∂
"{tclXObj}"random.c.o ∂
"{tclXObj}"tclXbsearch.c.o ∂
"{tclXObj}"tclXclock.c.o ∂
"{tclXObj}"tclXcreate.c.o ∂
"{tclXObj}"tclXdebug.c.o ∂
"{tclXObj}"tclXfilecmds.c.o ∂
"{tclXObj}"tclXfilescan.c.o ∂
"{tclXObj}"tclXfstat.c.o ∂
"{tclXObj}"tclXgeneral.c.o ∂
"{tclXObj}"tclXhandles.c.o ∂
"{tclXObj}"tclXid.c.o ∂
"{tclXObj}"tclXkeylist.c.o ∂
"{tclXObj}"tclXlib.c.o ∂
"{tclXObj}"tclXlist.c.o ∂
"{tclXObj}"tclXmath.c.o ∂
"{tclXObj}"tclXprofile.c.o ∂
"{tclXObj}"tclXregexp.c.o ∂
"{tclXObj}"tclXstartup.c.o ∂
"{tclXObj}"tclXstring.c.o ∂
"{tclXObj}"tclXutil.c.o
All ƒ ∂
TclHeader ∂
TclLibrary ∂
TclXHeader ∂
TclXLibrary ∂
∂
TclShell ∂
∂
tickle ∂
tclEngine ∂
∂
XTCL_callback ∂
PXTCL_callback ∂
PASCAL_callback ∂
XTCL_echo ∂
XTCL_getfile ∂
XTCL_setfile ∂
PROC_AEVTtcl1eval ∂
PROC_TEXTalis
Shell ƒ TclShell
tcl ƒ TclHeader TclLibrary
tclX ƒ TclXHeader TclXLibrary
#
# tickle causes the tickle application to be created.
#
tickle ƒ SetAPPLContext "{tickleObj}"TickleHdrDump "{tickle}"tickle
#
# tickle causes the tickle engine to be created.
#
tclEngine ƒ SetENGContext "{tickleObj}"EngineHdrDump "{tickle}"tclEngine
#
# Clean causes all of the object mosuals to be deleted so that
# making tickle will recompile all source code.
#
Clean ƒ TickleClean TclClean
SuperClean ƒ TickleSuperClean TclSuperClean Clean
TickleClean ƒ
Echo "# `Date -t` ----- Removing all tickle objects..."
{DELETE} "{tickleCObj}"≈.o || Echo "# `Date -t` ----- No C Objects To Remove."
{DELETE} "{tickleAObj}"≈.o || Echo "# `Date -t` ----- No A Objects To Remove."
{DELETE} "{tickleEObj}"≈.o || Echo "# `Date -t` ----- No E Objects To Remove."
{DELETE} "{tickleObj}"≈.o || Echo "# `Date -t` ----- No Header Objects To Remove."
TickleSuperClean ƒ
Echo "# `Date -t` ----- Removing all tickle binaries..."
{DELETE} "{tickle}"tickle || Echo "# `Date -t` ----- No Tickle Application To Remove."
{DELETE} "{tickle}"tclEngine || Echo "# `Date -t` ----- No Tickle Engine To Remove."
SetAPPLContext ƒ
Set CONTEXTFLAGS "-d TCLAPPL -d USEDUMP"
tickleHdr ƒ SetAPPLContext "{tickleObj}"TickleHdrDump
"{tickleObj}"TickleHdrDump ƒ ∂
"{tickleSrc}"tickle.h ∂
"{tickleSrc}"defines.h ∂
"{tickleSrc}"version.h ∂
"{tickleSrc}"tclMac.h ∂
"{tickleSrc}"volumes.h ∂
"{tickleSrc}"xproc.h ∂
"{tcl}"tcl.h ∂
"{tcl}"tclExtend.h
Echo "# `Date -t` ----- Compiling Tickle Headers..."
C -d MAKEDUMP -d TCLAPPL {CFLAGS} "{tickleSrc}"tickle.h -o "{tickleObj}"tickle.h.o
SetENGContext ƒ
Set CONTEXTFLAGS "-d TCLENGINE -d USEDUMP"
engineHdr ƒ SetENGContext "{tickleObj}"EngineHdrDump
"{tickleObj}"EngineHdrDump ƒ ∂
"{tickleSrc}"tickle.h ∂
"{tickleSrc}"defines.h ∂
"{tickleSrc}"version.h ∂
"{tickleSrc}"tclMac.h ∂
"{tickleSrc}"volumes.h ∂
"{tickleSrc}"xproc.h ∂
"{tcl}"tcl.h ∂
"{tcl}"tclExtend.h
Echo "# `Date -t` ----- Compiling Engine Headers..."
C -d MAKEDUMP -d TCLENGINE {CFLAGS} "{tickleSrc}"tickle.h -o "{tickleObj}"tickle.h.o
#
# {tickle}tickle causes the tickle application resources
# and code to be bundled together to complete the application.
#
"{tickle}"tickle ƒ ∂
"{tickleSrc}"tickle.r ∂
"{tickleSrc}"tickle.rsrc ∂
"{tickleAObj}"tickle.code
Echo "# `Date -t` ----- Rezing tickle..."
Rez -c "TEMP" -t 'APPL' ∂
-s "{tickleAObj}" ∂
-o "{tickle}"tickle ∂
"{tickleSrc}"tickle.r
SetFile -c '$Tcl' -a B "{tickle}"tickle
#
# {tickle}tickle causes the tickle application resources
# and code to be bundled together to complete the application.
#
"{tickle}"tclEngine ƒ ∂
"{tickleSrc}"tclEngine.r ∂
"{tickleSrc}"tclEngine.rsrc ∂
"{tickleEObj}"tclEngine.code
Echo "# `Date -t` ----- Rezing tclEngine..."
Rez -c "TEMP" -t 'APPL' ∂
-s "{tickleEObj}" ∂
-o "{tickle}"tclEngine ∂
"{tickleSrc}"tclEngine.r
SetFile -c '!Tcl' -a B "{tickle}"tclEngine
#
# tickle.code all of the code for the tickle application to be
# compiled and linked together. Then the resources need to be added.
#
"{tickleAObj}"tickle.code ƒ {COBJ} {AOBJ} {LIBS}
Echo "# `Date -t` ----- Linking tickle.code..."
Link -c "MPS " -t "CODE" ∂
-o "{tickleAObj}"tickle.code ∂
{LDFlags} ∂
{COBJ} ∂
{AOBJ} ∂
"{tickleLib}"libAPP.o ∂
"{tickleLib}"libCMN.o ∂
"{tickleLib}"libTGE.o ∂
{LIBS} ∂
|| ( Echo "##### ### ERROR ### #####" ; exit )
#
# tickle.code all of the code for the tickle application to be
# compiled and linked together. Then the resources need to be added.
#
"{tickleEObj}"tclEngine.code ƒ {COBJ} {EOBJ} {LIBS}
Echo "# `Date -t` ----- Linking tclEngine.code..."
Link -c "MPS " -t "CODE" ∂
-o "{tickleEObj}"tclEngine.code ∂
{LDFlags} ∂
{COBJ} ∂
{EOBJ} ∂
"{tickleLib}"libCMN.o ∂
"{tickleLib}"libENG.o ∂
{LIBS} ∂
|| ( Echo "##### ### ERROR ### #####" ; exit )
#
# Since global variable changes require recomiling tickle.c...
#
"{tickleAObj}"tickle.c.o ƒ "{tickleSrc}"tickle.c "{tickleSrc}"tickle.h "{tickleSrc}"version.h
#
# Since global variable changes require recomiling tickle.c...
#
"{tickleEObj}"tickle.c.o ƒ "{tickleSrc}"tickle.c "{tickleSrc}"tickle.h "{tickleSrc}"version.h
#
# Since global variable changes require recomiling tickle.c...
#
"{tickleAObj}"info.c.o ƒ "{tickleSrc}"info.c "{tickleSrc}"version.h
#
# Since global variable changes require recomiling tickle.c...
#
"{tickleEObj}"info.c.o ƒ "{tickleSrc}"info.c "{tickleSrc}"version.h
###
### TCL Related Make Rules
###
TclShell ƒ "{tcl}"tclTool
TclShellApp ƒ "{tcl}"tclShell
TclHeader ƒ "{tcl}"tcl.h
TclLibrary ƒ "{tcl}"libtcl.o
TclXHeader ƒ "{tcl}"tclExtend.h
TclXLibrary ƒ "{tcl}"libtclX.o
TclClean ƒ
Echo "# `Date -t` ----- Removing all tcl objects..."
{DELETE} -y {TCL_OBJS} || Echo "# `Date -t` ----- No Tcl Objects To Remove."
{DELETE} -y {TCL_X_OBJS} || Echo "# `Date -t` ----- No TclX Objects To Remove."
TclSuperClean ƒ
Echo "# `Date -t` ----- Removing all tcl binaries..."
{DELETE} -y "{tcl}"tclTool || Echo "# `Date -t` ----- No Tcl Shell To Remove."
{DELETE} -y "{tcl}"tcl.h "{tcl}"tclExtend.h
|| Echo "# `Date -t` ----- No Tcl Headers To Remove."
{DELETE} -y "{tcl}"libtcl.o "{tcl}"libtclX.o
|| Echo "# `Date -t` ----- No Tcl Libraries To Remove."
"{tcl}"tclTool ƒ ∂
"{tcl}"libtcl.o ∂
"{tcl}"libtclX.o ∂
"{tclObj}"tclMac.c.o ∂
"{tclObj}"tclMacCWD.c.o ∂
"{tclObj}"tclMPWShell.c.o ∂
"{tclObj}"tclMain.c.o
Echo "# `Date -t` ----- Linking "{tcl}"tcl..."
Link -c "MPS " -t "MPST" ∂
{LDFlags} ∂
-o "{tcl}"tclTool ∂
"{tclObj}"tclMain.c.o ∂
"{tclObj}"tclMac.c.o ∂
"{tclObj}"tclMacCWD.c.o ∂
"{tclObj}"tclMPWShell.c.o ∂
"{tcl}"libtcl.o ∂
"{tcl}"libtclX.o ∂
{SHELL_LIBS} ∂
|| ( Echo "##### ### ERROR ### #####" )
"{tcl}"tclShell ƒ ∂
"{tclObj}"tclShell.code
Echo "# `Date -t` ----- Rezing tclShell..."
Rez -c 'siow' -t 'APPL' ∂
-s "{tclObj}" ∂
-o "{tcl}"tclShell ∂
"{tickleSrc}"tclShell.r
"{tclObj}"tclShell.code ƒ ∂
"{tcl}"libtcl.o ∂
"{tcl}"libtclX.o ∂
"{tclObj}"tclMac.c.o ∂
"{tclObj}"tclMacCWD.c.o ∂
"{tclObj}"tclMPWShell.c.o ∂
"{tclObj}"tclMain.c.o
Echo "# `Date -t` ----- Linking "{tcl}"tclShell.code..."
Link -c "MPS " -t "MPST" ∂
{LDFlags} ∂
-o "{tclObj}"tclShell.code ∂
"{tclObj}"tclMain.c.o ∂
"{tclObj}"tclMac.c.o ∂
"{tclObj}"tclMacCWD.c.o ∂
"{tclObj}"tclMPWShell.c.o ∂
"{tcl}"libtcl.o ∂
"{tcl}"libtclX.o ∂
"{Libraries}"SIOW.o ∂
{SHELL_LIBS} ∂
|| ( Echo "##### ### ERROR ### #####" )
"{tcl}"tcl.h ƒ "{tclSrc}"tcl.h
Echo "# `Date -t` ----- Copy "{tclSrc}"tcl.h to "{tcl}"tcl.h..."
Duplicate -y ""{tclSrc}"tcl.h" "{tcl}"
"{tcl}"libtcl.o ƒ "{tclObj}"libtcl.o
Echo "# `Date -t` ----- Copy "{tclObj}"libtcl.o to "{tcl}"libtcl.o..."
Duplicate -y "{tclObj}"libtcl.o "{tcl}"
"{tclObj}"libtcl.o ƒ {TCL_OBJS}
Echo "# `Date -t` ----- Building "{tclObj}"libtcl.o..."
Lib -o "{tclObj}"libtcl.o {TCL_OBJS}
"{tcl}"tclExtend.h ƒ "{tclXSrc}"tclExtend.h
Echo "# `Date -t` ----- Copy "{tclXSrc}"tclExtend.h to "{tcl}"tclExtend.h..."
Duplicate -y ""{tclXSrc}"tclExtend.h" "{tcl}"
"{tcl}"libtclX.o ƒ "{tclXObj}"libtclX.o
Echo "# `Date -t` ----- Copy "{tclXObj}"libtcl.o to "{tcl}"libtclX.o..."
Duplicate -y "{tclXObj}"libtclX.o "{tcl}"
"{tclXObj}"libtclX.o ƒ {TCL_X_OBJS}
Echo "# `Date -t` ----- Building "{tclXObj}"libtclX.o..."
Lib -o "{tclXObj}"libtclX.o {TCL_X_OBJS}
xtcl_echo ƒ "{tickleExt}"XTCL_echo
"{tickleExt}"XTCL_echo ƒ ∂
"{tickleCObj}"XTCL_echo.c.o
Echo "# `Date -t` ----- Linking {tickleExt}XTCL_echo..."
Link -t "XTCL" -c "MPS " ∂
-rt "XTCL=2020" ∂
-sg "echo" ∂
-m XTCLEntry ∂
-o "{tickleExt}"XTCL_echo ∂
"{tickleCObj}"XTCL_echo.c.o ∂
"{CLibraries}"StdCLib.o ∂
"{Libraries}"Interface.o
xtcl_setfile ƒ "{tickleExt}"XTCL_setfile
"{tickleExt}"XTCL_setfile ƒ ∂
"{tickleCObj}"XTCL_setfile.c.o
Echo "# `Date -t` ----- Linking {tickleExt}XTCL_setfile..."
Link -t "XTCL" -c "MPS " -w ∂
-rt "XTCL=2025" ∂
-sg "setfile" ∂
-m XTCLEntry ∂
-o "{tickleExt}"XTCL_setfile ∂
"{tickleCObj}"XTCL_setfile.c.o ∂
"{CLibraries}"sprintf_drvr.o ∂
"{CLibraries}"StdCLib.o ∂
"{Libraries}"RunTime.o ∂
"{Libraries}"Interface.o
xtcl_getfile ƒ "{tickleExt}"XTCL_getfile
"{tickleExt}"XTCL_getfile ƒ ∂
"{tickleCObj}"XTCL_getfile.c.o
Echo "# `Date -t` ----- Linking {tickleExt}XTCL_getfile..."
Link -t "XTCL" -c "MPS " -w ∂
-rt "XTCL=2030" ∂
-sg "getfile" ∂
-m XTCLEntry ∂
-o "{tickleExt}"XTCL_getfile ∂
"{tickleCObj}"XTCL_getfile.c.o ∂
"{CLibraries}"sprintf_drvr.o ∂
"{CLibraries}"StdCLib.o ∂
"{Libraries}"RunTime.o ∂
"{Libraries}"Interface.o
XTCL_callback ƒ "{tickleExt}"XTCL_callback
"{tickleExt}"XTCL_callback ƒ ∂
"{tickleCObj}"XTCL_callback.c.o
Echo "# `Date -t` ----- Linking {tickleExt}XTCL_callback..."
Link -t "XTCL" -c "MPS " ∂
-rt "XTCL=2069" ∂
-sg "callback" ∂
-m XTCLEntry ∂
-o "{tickleExt}"XTCL_callback ∂
"{tickleCObj}"XTCL_callback.c.o ∂
"{CLibraries}"StdCLib.o ∂
"{Libraries}"Interface.o
PASCAL_callback ƒ "{tickleExt}"PASCAL_callback
"{tickleExt}"PASCAL_callback ƒ ∂
"{tickleCObj}"XTCL_callback.p.o ∂
"{tickleExt}"XTCLGlue.o
Echo "# `Date -t` ----- Linking {tickleExt}PASCAL_callback..."
Link -t "XTCL" -c "MPS " ∂
-rt "XTCL=2069" ∂
-sg "callback" ∂
-m XTCLEntry ∂
-o "{tickleExt}"PASCAL_callback ∂
"{tickleExt}"XTCLGlue.o ∂
"{tickleCObj}"XTCL_callback.p.o ∂
"{Libraries}"Interface.o
PXTCL_callback ƒ "{tickleExt}"PXTCL_callback
"{tickleExt}"PXTCL_callback ƒ ∂
"{tickleCObj}"XTCL_Pascal_callback.c.o ∂
"{tickleExt}"XTCLGlue.o
Echo "# `Date -t` ----- Linking {tickleExt}PXTCL_callback..."
Link -t "XTCL" -c "MPS " ∂
-rt "XTCL=2069" ∂
-sg "callback" ∂
-m XTCLEntry ∂
-o "{tickleExt}"PXTCL_callback ∂
"{tickleExt}"XTCLGlue.o ∂
"{tickleCObj}"XTCL_Pascal_callback.c.o ∂
"{CLibraries}"StdCLib.o ∂
"{Libraries}"Interface.o
Glue ƒ "{tickleExt}"XTCLGlue.o
"{tickleExt}"XTCLGlue.o ƒ ∂
"{tickleCObj}"pascal_glue.c.o ∂
"{tickleCObj}"xcmd.a.o
Echo "# `Date -t` ----- Library {tickleExt}XTCLGlue.o..."
Lib -o "{tickleExt}"XTCLGlue.o ∂
"{tickleCObj}"pascal_glue.c.o ∂
"{tickleCObj}"xcmd.a.o
PROC_TEXTalis ƒ "{tickleExt}"PROC_TEXTalis
"{tickleExt}"PROC_TEXTalis ƒ ∂
"{tickleCObj}"PROC_TEXTalis.c.o
Echo "# `Date -t` ----- Linking {tickleExt}PROC_TEXTalis..."
Link -t "PROC" -c "MPS " -w ∂
-rt "PROC=2025" ∂
-sg "CSPTTEXTalis" ∂
-m PROCENTRY ∂
-o "{tickleExt}"PROC_TEXTalis ∂
"{tickleCObj}"PROC_TEXTalis.c.o ∂
"{CLibraries}"dprintf_drvr.o ∂
"{CLibraries}"StdCLib.o ∂
"{Libraries}"RunTime.o ∂
"{Libraries}"Interface.o
PROC_AEVTtcl1eval ƒ "{tickleExt}"PROC_AEVTtcl1eval
"{tickleExt}"PROC_AEVTtcl1eval ƒ ∂
"{tickleCObj}"PROC_AEVTtcl1eval.c.o
Echo "# `Date -t` ----- Linking {tickleExt}PROC_AEVTtcl1eval..."
Link -t "PROC" -c "MPS " -w ∂
-rt "PROC=2030" ∂
-sg "AEVTtcl1eval" ∂
-m PROCENTRY ∂
-o "{tickleExt}"PROC_AEVTtcl1eval ∂
"{tickleCObj}"PROC_AEVTtcl1eval.c.o ∂
"{CLibraries}"dprintf_drvr.o ∂
"{CLibraries}"StdCLib.o ∂
"{Libraries}"RunTime.o ∂
"{Libraries}"Interface.o
#
# Set up object and source directory dependency
#
"{tickleCObj}" ƒ "{tickleSrc}"
"{tickleAObj}" ƒ "{tickleSrc}"
"{tickleEObj}" ƒ "{tickleSrc}"
"{tclObj}" ƒ "{tclSrc}"
"{tclObj}" ƒ "{tickleSrc}"
"{tclXObj}" ƒ "{tclXSrc}"
#
# This command is what is used to compile all C source code.
#
.c.o ƒ .c
Echo "# `Date -t` ----- Compiling {default}.c..."
C "{depDir}{default}.c" ∂
{CFlags} {CONTEXTFLAGS} ∂
-o "{targDir}{default}.c.o" ∂
|| ( Echo "##### ### ERROR ### #####" )
#
# This command is what is used to compile all Asm source code.
#
.a.o ƒ .a
Echo "# `Date -t` ----- Assembling {default}.a..."
Asm "{depDir}{default}.a" ∂
-o "{targDir}{default}.a.o" ∂
|| ( Echo "##### ### ERROR ### #####" )