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 d256c6c5eb Tweaked build procedure.
[originally from svn r103]
1999-03-14 20:07:04 +00:00

96 lines
2.5 KiB
Makefile

# $Id: Makefile.mpw,v 1.1.2.2 1999/03/14 20:07:04 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 =
COptions = {Includes} {Sym¥68K} -proto strict -opt all
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"
Libs¥68K = "{CLibraries}StdCLib.o"
"{Libraries}MacRuntime.o"
"{Libraries}IntEnv.o"
"{Libraries}Interface.o"
PuTTY ÄÄ {Objects¥68K} {Libs¥68K}
IF (`exists {Targ}.NJ`)
ILink
-o {Targ} {Sym¥68K}
-t 'APPL'
-c 'pTTY'
-newerdeps {NewerDeps}
ELSE
ILink
-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¥68K}maccfg.c.o" Ä {¥MondoBuild¥} maccfg.c putty.h mac.h macresid.h
{C} maccfg.c -o {Targ} {COptions}
"{ObjDir¥68K}macterm.c.o" Ä {¥MondoBuild¥} macterm.c mac.h putty.h
{C} macterm.c -o {Targ} {COptions}
"{ObjDir¥68K}misc.c.o" Ä {¥MondoBuild¥} misc.c putty.h
{C} misc.c -o {Targ} {COptions}
"{ObjDir¥68K}ssh.c.o" Ä {¥MondoBuild¥} ssh.c
{C} ssh.c -o {Targ} {COptions}
"{ObjDir¥68K}sshcrc.c.o" Ä {¥MondoBuild¥} sshcrc.c
{C} sshcrc.c -o {Targ} {COptions}
"{ObjDir¥68K}sshdes.c.o" Ä {¥MondoBuild¥} sshdes.c
{C} sshdes.c -o {Targ} {COptions}
"{ObjDir¥68K}sshmd5.c.o" Ä {¥MondoBuild¥} sshmd5.c
{C} sshmd5.c -o {Targ} {COptions}
"{ObjDir¥68K}sshrand.c.o" Ä {¥MondoBuild¥} sshrand.c
{C} sshrand.c -o {Targ} {COptions}
"{ObjDir¥68K}sshrsa.c.o" Ä {¥MondoBuild¥} sshrsa.c
{C} sshrsa.c -o {Targ} {COptions}
"{ObjDir¥68K}sshsha.c.o" Ä {¥MondoBuild¥} sshsha.c
{C} sshsha.c -o {Targ} {COptions}
"{ObjDir¥68K}telnet.c.o" Ä {¥MondoBuild¥} telnet.c
{C} telnet.c -o {Targ} {COptions}
"{ObjDir¥68K}terminal.c.o" Ä {¥MondoBuild¥} terminal.c putty.h
{C} terminal.c -o {Targ} {COptions}
"{ObjDir¥68K}testback.c.o" Ä {¥MondoBuild¥} testback.c putty.h
{C} testback.c -o {Targ} {COptions}