1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 18:07:59 +00:00
putty-source/Makefile.mpw
Ben Harris 04aceed7bf General cleanup because MrC is rather pickier than SC. Not that the PPC build
actually links, you understand, but it does most of the rest of the things it
should.

[originally from svn r130]
1999-03-27 15:39:46 +00:00

163 lines
4.7 KiB
Makefile

# $Id: Makefile.mpw,v 1.1.2.4 1999/03/27 15:39:45 ben Exp $
# This is the Makefile for building PuTTY for the Mac OS.
# Users of non-Mac systems will see some pretty strange characters around.
MAKEFILE = Makefile.mpw
¥MondoBuild¥ = # Make blank to avoid rebuilds when makefile is modified
Includes =
Sym¥68K =
ObjDir¥68K =
Sym¥PPC =
ObjDir¥PPC =
COptions = {Includes} {Sym¥68K} -proto strict -opt all
PPCCOptions = {Includes} {Sym¥PPC} -opt size
Objects¥68K =
"{ObjDir¥68K}mac.c.o"
"{ObjDir¥68K}maccfg.c.o"
"{ObjDir¥68K}macterm.c.o"
"{ObjDir¥68K}misc.c.o"
# "{ObjDir¥68K}ssh.c.o" ¶
# "{ObjDir¥68K}sshcrc.c.o" ¶
# "{ObjDir¥68K}sshdes.c.o" ¶
# "{ObjDir¥68K}sshmd5.c.o" ¶
# "{ObjDir¥68K}sshrand.c.o" ¶
# "{ObjDir¥68K}sshrsa.c.o" ¶
# "{ObjDir¥68K}sshsha.c.o" ¶
# "{ObjDir¥68K}telnet.c.o" ¶
"{ObjDir¥68K}terminal.c.o"
"{ObjDir¥68K}testback.c.o"
Objects¥PPC =
"{ObjDir¥PPC}mac.c.x"
"{ObjDir¥PPC}maccfg.c.x"
"{ObjDir¥PPC}macterm.c.x"
"{ObjDir¥PPC}misc.c.x"
# "{ObjDir¥PPC}ssh.c.x" ¶
# "{ObjDir¥PPC}sshcrc.c.x" ¶
# "{ObjDir¥PPC}sshdes.c.x" ¶
# "{ObjDir¥PPC}sshmd5.c.x" ¶
# "{ObjDir¥PPC}sshrand.c.x" ¶
# "{ObjDir¥PPC}sshrsa.c.x" ¶
# "{ObjDir¥PPC}sshsha.c.x" ¶
# "{ObjDir¥PPC}telnet.c.x" ¶
"{ObjDir¥PPC}terminal.c.x"
"{ObjDir¥PPC}testback.c.x"
Libs¥68K = "{CLibraries}StdCLib.o"
"{Libraries}MacRuntime.o"
"{Libraries}IntEnv.o"
"{Libraries}Interface.o"
Libs¥PPC = "{SharedLibraries}InterfaceLib"
"{SharedLibraries}StdCLib"
"{SharedLibraries}MathLib"
"{PPCLibraries}StdCRuntime.o"
"{PPCLibraries}PPCCRuntime.o"
"{PPCLibraries}PPCToolLibs.o"
PuTTY.ppc ÄÄ {¥MondoBuild¥} {Objects¥PPC}
PPCLink
-o {Targ} {Sym¥PPC}
{Objects¥PPC}
-t 'APPL'
-c 'pTTY'
{Libs¥PPC}
PuTTY ÄÄ {Objects¥68K} {Libs¥68K}
IF (`exists {Targ}.NJ`)
ILink
-compact
-o {Targ} {Sym¥68K}
-t 'APPL'
-c 'pTTY'
-newerdeps {NewerDeps}
ELSE
ILink
-compact
-o {Targ} {Sym¥68K}
-t 'APPL'
-c 'pTTY'
{Objects¥68K}
{Libs¥68K}
END
PuTTY ÄÄ {¥MondoBuild¥} mac_res.r macresid.h
Rez mac_res.r -o {Targ} {Includes} -append
"{ObjDir¥68K}mac.c.o" Ä {¥MondoBuild¥} mac.c putty.h mac.h macresid.h
{C} mac.c -o {Targ} {COptions}
"{ObjDir¥PPC}mac.c.x" Ä {¥MondoBuild¥} mac.c putty.h mac.h macresid.h
{PPCC} mac.c -o {Targ} {PPCCOptions}
"{ObjDir¥68K}maccfg.c.o" Ä {¥MondoBuild¥} maccfg.c putty.h mac.h macresid.h
{C} maccfg.c -o {Targ} {COptions}
"{ObjDir¥PPC}maccfg.c.x" Ä {¥MondoBuild¥} maccfg.c putty.h mac.h macresid.h
{PPCC} maccfg.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}macterm.c.o" Ä {¥MondoBuild¥} macterm.c mac.h putty.h
{C} macterm.c -o {Targ} {COptions}
"{ObjDir¥PPC}macterm.c.x" Ä {¥MondoBuild¥} macterm.c mac.h putty.h
{PPCC} macterm.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}misc.c.o" Ä {¥MondoBuild¥} misc.c putty.h
{C} misc.c -o {Targ} {COptions}
"{ObjDir¥PPC}misc.c.x" Ä {¥MondoBuild¥} misc.c putty.h
{PPCC} misc.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}ssh.c.o" Ä {¥MondoBuild¥} ssh.c
{C} ssh.c -o {Targ} {COptions}
"{ObjDir¥PPC}ssh.c.x" Ä {¥MondoBuild¥} ssh.c
{PPCC} ssh.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}sshcrc.c.o" Ä {¥MondoBuild¥} sshcrc.c
{C} sshcrc.c -o {Targ} {COptions}
"{ObjDir¥PPC}sshcrc.c.x" Ä {¥MondoBuild¥} sshcrc.c
{PPCC} sshcrc.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}sshdes.c.o" Ä {¥MondoBuild¥} sshdes.c
{C} sshdes.c -o {Targ} {COptions}
"{ObjDir¥PPC}sshdes.c.x" Ä {¥MondoBuild¥} sshdes.c
{PPCC} sshdes.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}sshmd5.c.o" Ä {¥MondoBuild¥} sshmd5.c
{C} sshmd5.c -o {Targ} {COptions}
"{ObjDir¥PPC}sshmd5.c.x" Ä {¥MondoBuild¥} sshmd5.c
{PPCC} sshmd5.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}sshrand.c.o" Ä {¥MondoBuild¥} sshrand.c
{C} sshrand.c -o {Targ} {COptions}
"{ObjDir¥PPC}sshrand.c.x" Ä {¥MondoBuild¥} sshrand.c
{PPCC} sshrand.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}sshrsa.c.o" Ä {¥MondoBuild¥} sshrsa.c
{C} sshrsa.c -o {Targ} {COptions}
"{ObjDir¥PPC}sshrsa.c.x" Ä {¥MondoBuild¥} sshrsa.c
{PPCC} sshrsa.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}sshsha.c.o" Ä {¥MondoBuild¥} sshsha.c
{C} sshsha.c -o {Targ} {COptions}
"{ObjDir¥PPC}sshsha.c.x" Ä {¥MondoBuild¥} sshsha.c
{PPCC} sshsha.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}telnet.c.o" Ä {¥MondoBuild¥} telnet.c
{C} telnet.c -o {Targ} {COptions}
"{ObjDir¥PPC}telnet.c.x" Ä {¥MondoBuild¥} telnet.c
{PPCC} telnet.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}terminal.c.o" Ä {¥MondoBuild¥} terminal.c putty.h
{C} terminal.c -o {Targ} {COptions}
"{ObjDir¥PPC}terminal.c.x" Ä {¥MondoBuild¥} terminal.c putty.h
{PPCC} terminal.c -o {Targ} {PPCCoptions}
"{ObjDir¥68K}testback.c.o" Ä {¥MondoBuild¥} testback.c putty.h
{C} testback.c -o {Targ} {COptions}
"{ObjDir¥PPC}testback.c.x" Ä {¥MondoBuild¥} testback.c putty.h
{PPCC} testback.c -o {Targ} {PPCCoptions}