1 # $Id: Makefile.mpw,v 1.1.2.5 1999/03/28 15:23:37 ben Exp $
2 # This is the Makefile for building PuTTY for the Mac OS.
3 # Users of non-Mac systems will see some pretty strange characters around.
5 MAKEFILE = Makefile.mpw
6 ¥MondoBuild¥ = # Make blank to avoid rebuilds when makefile is modified
11 COptions = {Includes} {Sym¥68K} -proto strict -opt all
12 # disable "unused parameter" warnings
13 PPCCOptions = {Includes} {Sym¥PPC} -w 35
15 # short names for targets
53 Libs¥68K = "{CLibraries}StdCLib.o" ¶
54 "{Libraries}MacRuntime.o" ¶
55 "{Libraries}IntEnv.o" ¶
56 "{Libraries}Interface.o"
58 Libs¥PPC = "{SharedLibraries}InterfaceLib" ¶
59 "{SharedLibraries}StdCLib" ¶
60 "{SharedLibraries}MathLib" ¶
61 "{SharedLibraries}AppearanceLib" ¶
62 "{PPCLibraries}StdCRuntime.o" ¶
63 "{PPCLibraries}PPCCRuntime.o"
65 PuTTY.ppc ÄÄ {¥MondoBuild¥} {Objects¥PPC}
74 PuTTY ÄÄ {Objects¥68K} {Libs¥68K}
75 IF (`exists {Targ}.NJ`)
80 -newerdeps {NewerDeps}
89 PuTTY ÄÄ {¥MondoBuild¥} mac_res.r macresid.h
90 Rez mac_res.r -o {Targ} {Includes} -append
92 PuTTY.ppc ÄÄ {¥MondoBuild¥} mac_res.r macresid.h
93 Rez mac_res.r -o {Targ} {Includes} -append
95 PuTTY.fat Ä PuTTY PuTTY.ppc
96 Duplicate -y PuTTY PuTTY.fat
97 MergeFragment PuTTY.ppc PuTTY.fat
100 {C} {default}.c -o {Targ} {COptions}
102 # The odd stuff here seems to stop afpd getting confused.
105 setfile -t XCOF {Targ}
106 {PPCC} {default}.c -o {Targ} {PPCCOptions}
108 mac.c.o mac.c.x Ä putty.h mac.h macresid.h
109 maccfg.c.o maccfg.c.x Ä putty.h mac.h macresid.h
110 macterm.c.o macterm.c.x Ä putty.h mac.h
111 misc.c.o misc.c.x Ä putty.h
112 ssh.c.o ssh.c.x Ä putty.h ssh.h
113 sshcrc.c.o sshcrc.c.x Ä
114 sshdes.c.o sshdes.c.x Ä ssh.h
115 sshmd5.c.o sshmd5.c.x Ä ssh.h
116 sshrand.c.o sshrand.c.x Ä ssh.h
117 sshrsa.c.o sshrsa.c.x Ä ssh.h
118 sshsha.c.o sshsha.c.x Ä ssh.h
119 telnet.c.o telnet.c.x Ä putty.h
120 terminal.c.o terminal.c.x Ä putty.h
121 testback.c.o testback.c.x Ä putty.h