From f8422c0b33b88472789df8cb8ee6ba545bde97a3 Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 29 Dec 2002 15:44:15 +0000 Subject: [PATCH] Substantial overhaul of Mac build system. We now have working PowerPC builds, and optimisation (for size) enabled. git-svn-id: svn://svn.tartarus.org/sgt/putty@2378 cda61777-01e9-0310-a592-d414129be87e --- mac/README.mac | 10 ++++++---- mkfiles.pl | 41 +++++++++++++++++++++++++++++------------ 2 files changed, 35 insertions(+), 16 deletions(-) diff --git a/mac/README.mac b/mac/README.mac index 0868a6f6..f7d67dde 100644 --- a/mac/README.mac +++ b/mac/README.mac @@ -1,4 +1,4 @@ -$Id: README.mac,v 1.3 2002/12/13 00:50:53 ben Exp $ +$Id: README.mac,v 1.4 2002/12/29 15:44:15 ben Exp $ Information about PuTTY for the Mac OS -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= @@ -25,9 +25,11 @@ Compiling it: Encoding Converter SDK into "Interfaces&Libraries:Libraries:Libraries". The "mkputty.mpw" script does most of the work, but currently needs - you to run "Rez -append -o PuTTY mac_res.r" to get the - resources compiled in. The Makefile currently only generates a - Classic 68K application. Other architectures will come later. + you to run "Rez -append -o PuTTY.68k mac_res.r", and the same for + PuTTY.ppc to get the resources compiled in. + + The current Makefile producess a Classic 68K build of PuTTY called + "PuTTY.68k" and a non-Carbon PowerPC build called "PuTTY.ppc". Runtime requirements: diff --git a/mkfiles.pl b/mkfiles.pl index 240b1352..b1f6530b 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -588,11 +588,14 @@ END print $_; print <{obj}, join " ", @{$d->{deps}}), undef, "\xb6"), "\n"; print "\t{C} ", $d->{deps}->[0], " -o {Targ} {COptions_68K}\n\n"; } -foreach $d (&deps("X.c.x", undef, "::", ":")) { +foreach $d (&deps("X.ppc.o", undef, "::", ":")) { print &splitline(sprintf("%s \xc4 %s", $d->{obj}, join " ", @{$d->{deps}}), undef, "\xb6"), "\n"; # The odd stuff here seems to stop afpd getting confused. -- 2.11.0