1999-03-27 15:39:46 +00:00
|
|
|
|
# $Id: Makefile.mpw,v 1.1.2.4 1999/03/27 15:39:45 ben Exp $
|
1999-02-19 15:28:27 +00:00
|
|
|
|
# This is the Makefile for building PuTTY for the Mac OS.
|
|
|
|
|
# Users of non-Mac systems will see some pretty strange characters around.
|
|
|
|
|
|
1999-03-13 16:51:46 +00:00
|
|
|
|
MAKEFILE = Makefile.mpw
|
1999-03-14 20:07:04 +00:00
|
|
|
|
<EFBFBD>MondoBuild<EFBFBD> = # Make blank to avoid rebuilds when makefile is modified
|
1999-02-19 15:28:27 +00:00
|
|
|
|
Includes =
|
1999-03-14 20:07:04 +00:00
|
|
|
|
Sym<EFBFBD>68K =
|
1999-02-19 15:28:27 +00:00
|
|
|
|
ObjDir<EFBFBD>68K =
|
1999-03-27 15:39:46 +00:00
|
|
|
|
Sym<EFBFBD>PPC =
|
|
|
|
|
ObjDir<EFBFBD>PPC =
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
1999-03-07 23:15:56 +00:00
|
|
|
|
COptions = {Includes} {Sym<EFBFBD>68K} -proto strict -opt all
|
1999-03-27 15:39:46 +00:00
|
|
|
|
PPCCOptions = {Includes} {Sym<EFBFBD>PPC} -opt size
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
Objects<EFBFBD>68K = <20>
|
|
|
|
|
"{ObjDir<69>68K}mac.c.o" <20>
|
1999-02-28 02:38:41 +00:00
|
|
|
|
"{ObjDir<69>68K}maccfg.c.o" <20>
|
1999-02-21 18:09:41 +00:00
|
|
|
|
"{ObjDir<69>68K}macterm.c.o" <20>
|
1999-02-19 15:28:27 +00:00
|
|
|
|
"{ObjDir<69>68K}misc.c.o" <20>
|
1999-02-19 21:44:14 +00:00
|
|
|
|
# "{ObjDir<69>68K}ssh.c.o" <20>
|
|
|
|
|
# "{ObjDir<69>68K}sshcrc.c.o" <20>
|
|
|
|
|
# "{ObjDir<69>68K}sshdes.c.o" <20>
|
|
|
|
|
# "{ObjDir<69>68K}sshmd5.c.o" <20>
|
|
|
|
|
# "{ObjDir<69>68K}sshrand.c.o" <20>
|
|
|
|
|
# "{ObjDir<69>68K}sshrsa.c.o" <20>
|
|
|
|
|
# "{ObjDir<69>68K}sshsha.c.o" <20>
|
|
|
|
|
# "{ObjDir<69>68K}telnet.c.o" <20>
|
1999-03-07 23:15:56 +00:00
|
|
|
|
"{ObjDir<69>68K}terminal.c.o" <20>
|
|
|
|
|
"{ObjDir<69>68K}testback.c.o"
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
1999-03-27 15:39:46 +00:00
|
|
|
|
Objects<EFBFBD>PPC = <20>
|
|
|
|
|
"{ObjDir<69>PPC}mac.c.x" <20>
|
|
|
|
|
"{ObjDir<69>PPC}maccfg.c.x" <20>
|
|
|
|
|
"{ObjDir<69>PPC}macterm.c.x" <20>
|
|
|
|
|
"{ObjDir<69>PPC}misc.c.x" <20>
|
|
|
|
|
# "{ObjDir<69>PPC}ssh.c.x" <20>
|
|
|
|
|
# "{ObjDir<69>PPC}sshcrc.c.x" <20>
|
|
|
|
|
# "{ObjDir<69>PPC}sshdes.c.x" <20>
|
|
|
|
|
# "{ObjDir<69>PPC}sshmd5.c.x" <20>
|
|
|
|
|
# "{ObjDir<69>PPC}sshrand.c.x" <20>
|
|
|
|
|
# "{ObjDir<69>PPC}sshrsa.c.x" <20>
|
|
|
|
|
# "{ObjDir<69>PPC}sshsha.c.x" <20>
|
|
|
|
|
# "{ObjDir<69>PPC}telnet.c.x" <20>
|
|
|
|
|
"{ObjDir<69>PPC}terminal.c.x" <20>
|
|
|
|
|
"{ObjDir<69>PPC}testback.c.x"
|
|
|
|
|
|
|
|
|
|
|
1999-03-14 20:07:04 +00:00
|
|
|
|
Libs<EFBFBD>68K = "{CLibraries}StdCLib.o" <20>
|
1999-02-19 15:28:27 +00:00
|
|
|
|
"{Libraries}MacRuntime.o" <20>
|
|
|
|
|
"{Libraries}IntEnv.o" <20>
|
|
|
|
|
"{Libraries}Interface.o"
|
|
|
|
|
|
1999-03-27 15:39:46 +00:00
|
|
|
|
Libs<EFBFBD>PPC = "{SharedLibraries}InterfaceLib" <20>
|
|
|
|
|
"{SharedLibraries}StdCLib" <20>
|
|
|
|
|
"{SharedLibraries}MathLib" <20>
|
|
|
|
|
"{PPCLibraries}StdCRuntime.o" <20>
|
|
|
|
|
"{PPCLibraries}PPCCRuntime.o" <20>
|
|
|
|
|
"{PPCLibraries}PPCToolLibs.o"
|
|
|
|
|
|
|
|
|
|
PuTTY.ppc <EFBFBD><EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} {Objects<EFBFBD>PPC}
|
|
|
|
|
PPCLink <20>
|
|
|
|
|
-o {Targ} {Sym<EFBFBD>PPC} <20>
|
|
|
|
|
{Objects<EFBFBD>PPC} <20>
|
|
|
|
|
-t 'APPL' <20>
|
|
|
|
|
-c 'pTTY' <20>
|
|
|
|
|
{Libs<EFBFBD>PPC}
|
|
|
|
|
|
|
|
|
|
|
1999-03-14 20:07:04 +00:00
|
|
|
|
PuTTY <EFBFBD><EFBFBD> {Objects<EFBFBD>68K} {Libs<EFBFBD>68K}
|
|
|
|
|
IF (`exists {Targ}.NJ`)
|
|
|
|
|
ILink <20>
|
1999-03-16 20:27:31 +00:00
|
|
|
|
-compact <20>
|
1999-03-14 20:07:04 +00:00
|
|
|
|
-o {Targ} {Sym<EFBFBD>68K} <20>
|
|
|
|
|
-t 'APPL' <20>
|
|
|
|
|
-c 'pTTY' <20>
|
|
|
|
|
-newerdeps {NewerDeps}
|
|
|
|
|
ELSE
|
|
|
|
|
ILink <20>
|
1999-03-16 20:27:31 +00:00
|
|
|
|
-compact <20>
|
1999-03-14 20:07:04 +00:00
|
|
|
|
-o {Targ} {Sym<EFBFBD>68K} <20>
|
|
|
|
|
-t 'APPL' <20>
|
|
|
|
|
-c 'pTTY' <20>
|
|
|
|
|
{Objects<EFBFBD>68K} <20>
|
|
|
|
|
{Libs<EFBFBD>68K}
|
|
|
|
|
END
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
1999-02-21 10:29:13 +00:00
|
|
|
|
PuTTY <EFBFBD><EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} mac_res.r macresid.h
|
|
|
|
|
Rez mac_res.r -o {Targ} {Includes} -append
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
|
1999-02-21 18:09:41 +00:00
|
|
|
|
"{ObjDir<69>68K}mac.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} mac.c putty.h mac.h macresid.h
|
1999-02-19 15:28:27 +00:00
|
|
|
|
{C} mac.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}mac.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} mac.c putty.h mac.h macresid.h
|
|
|
|
|
{PPCC} mac.c -o {Targ} {PPCCOptions}
|
|
|
|
|
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
1999-02-28 02:38:41 +00:00
|
|
|
|
"{ObjDir<69>68K}maccfg.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} maccfg.c putty.h mac.h macresid.h
|
|
|
|
|
{C} maccfg.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}maccfg.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} maccfg.c putty.h mac.h macresid.h
|
|
|
|
|
{PPCC} maccfg.c -o {Targ} {PPCCoptions}
|
1999-02-28 02:38:41 +00:00
|
|
|
|
|
1999-02-21 18:09:41 +00:00
|
|
|
|
"{ObjDir<69>68K}macterm.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} macterm.c mac.h putty.h
|
|
|
|
|
{C} macterm.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}macterm.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} macterm.c mac.h putty.h
|
|
|
|
|
{PPCC} macterm.c -o {Targ} {PPCCoptions}
|
1999-02-21 18:09:41 +00:00
|
|
|
|
|
1999-02-20 22:10:34 +00:00
|
|
|
|
"{ObjDir<69>68K}misc.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} misc.c putty.h
|
1999-02-19 15:28:27 +00:00
|
|
|
|
{C} misc.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}misc.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} misc.c putty.h
|
|
|
|
|
{PPCC} misc.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
"{ObjDir<69>68K}ssh.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} ssh.c
|
|
|
|
|
{C} ssh.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}ssh.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} ssh.c
|
|
|
|
|
{PPCC} ssh.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
"{ObjDir<69>68K}sshcrc.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshcrc.c
|
|
|
|
|
{C} sshcrc.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}sshcrc.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshcrc.c
|
|
|
|
|
{PPCC} sshcrc.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
"{ObjDir<69>68K}sshdes.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshdes.c
|
|
|
|
|
{C} sshdes.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}sshdes.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshdes.c
|
|
|
|
|
{PPCC} sshdes.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
"{ObjDir<69>68K}sshmd5.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshmd5.c
|
|
|
|
|
{C} sshmd5.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}sshmd5.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshmd5.c
|
|
|
|
|
{PPCC} sshmd5.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
"{ObjDir<69>68K}sshrand.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshrand.c
|
|
|
|
|
{C} sshrand.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}sshrand.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshrand.c
|
|
|
|
|
{PPCC} sshrand.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
"{ObjDir<69>68K}sshrsa.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshrsa.c
|
|
|
|
|
{C} sshrsa.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}sshrsa.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshrsa.c
|
|
|
|
|
{PPCC} sshrsa.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
"{ObjDir<69>68K}sshsha.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshsha.c
|
|
|
|
|
{C} sshsha.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}sshsha.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} sshsha.c
|
|
|
|
|
{PPCC} sshsha.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
|
|
|
|
"{ObjDir<69>68K}telnet.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} telnet.c
|
|
|
|
|
{C} telnet.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}telnet.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} telnet.c
|
|
|
|
|
{PPCC} telnet.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
1999-02-20 22:10:34 +00:00
|
|
|
|
"{ObjDir<69>68K}terminal.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} terminal.c putty.h
|
1999-02-19 15:28:27 +00:00
|
|
|
|
{C} terminal.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}terminal.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} terminal.c putty.h
|
|
|
|
|
{PPCC} terminal.c -o {Targ} {PPCCoptions}
|
1999-02-19 15:28:27 +00:00
|
|
|
|
|
1999-03-07 23:15:56 +00:00
|
|
|
|
"{ObjDir<69>68K}testback.c.o" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} testback.c putty.h
|
|
|
|
|
{C} testback.c -o {Targ} {COptions}
|
1999-03-27 15:39:46 +00:00
|
|
|
|
"{ObjDir<69>PPC}testback.c.x" <EFBFBD> {<EFBFBD>MondoBuild<EFBFBD>} testback.c putty.h
|
|
|
|
|
{PPCC} testback.c -o {Targ} {PPCCoptions}
|
1999-03-07 23:15:56 +00:00
|
|
|
|
|