# This file is part of icobundle # Copyright (C) 2003-7 Toby Thain, toby@telegraphics.com.au # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # MPW Makefile BUNDLEDIR = :dist:ICOBundle.app: APPNAME = ICOBundle EXEC_CARBON = {BUNDLEDIR}Contents:MacOS:{APPNAME} EXEC_CLASSIC = {BUNDLEDIR}Contents:MacOSClassic:{APPNAME} EXEC_68K = :dist:{APPNAME}(68K) CREATORSIG = ICOB icobundle ÄÄ {EXEC_CARBON} {EXEC_CLASSIC} {EXEC_68K} #echo -n "APPL{CREATORSIG}" > {BUNDLEDIR}Contents:PkgInfo setfile -a B {BUNDLEDIR} files -x brtc {EXEC_CARBON} {EXEC_CLASSIC} {EXEC_68K} com = ::common:tt: COPT = -proto strict -i {com} -i ::icoformat CLASSIC_OBJ = icobundle-mac.cl.x bundle.cl.x ¶ ::icoformat:ico_io.cl.x ¶ {com}choosefile_nav.cl.x {com}file_io.cl.x {com}str.cl.x ¶ {com}ae.cl.x {com}qd.cl.x {com}misc-mac.cl.x CARBON_OBJ = icobundle-mac.ca.x bundle.ca.x ¶ ::icoformat:ico_io.ca.x ¶ {com}choosefile_nav.ca.x {com}file_io.ca.x {com}str.ca.x ¶ {com}ae.ca.x {com}qd.ca.x {com}misc-mac.ca.x 68K_OBJ = icobundle-mac.c.o bundle.c.o ¶ ::icoformat:ico_io.c.o ¶ {com}choosefile_sf.c.o {com}file_io.c.o {com}str.c.o ¶ {com}ae.c.o {com}qd.c.o {com}misc-mac.c.o .ca.x Ä .c mrc {depdir}{default}.c -o {targ} {COPT} -w 2,35 -d TARGET_CARBON .cl.x Ä .c mrc {depdir}{default}.c -o {targ} {COPT} -w 2,35 .c.o Ä .c sc {depdir}{default}.c -o {targ} {COPT} -w 2,35 -opt all {EXEC_CARBON} ÄÄ {CARBON_OBJ} PPCLink -m main -d -o {TARG} -c {CREATORSIG} ¶ {CARBON_OBJ} ¶ "{PPCLibraries}CarbonStdCLib.o" ¶ "{PPCLibraries}StdCRuntime.o" ¶ "{PPCLibraries}PPCCRuntime.o" ¶ "{SharedLibraries}CarbonLib" ¶ "{SharedLibraries}StdCLib" {EXEC_CLASSIC} ÄÄ {CLASSIC_OBJ} PPCLink -o {TARG} -c {CREATORSIG} ¶ {CLASSIC_OBJ} ¶ "{PPCLibraries}CarbonAccessors.o" ¶ "{PPCLibraries}StdCRuntime.o" ¶ "{PPCLibraries}PPCCRuntime.o" ¶ "{PPCLibraries}PPCToolLibs.o" ¶ "{SharedLibraries}InterfaceLib" ¶ "{SharedLibraries}StdCLib" ¶ "{SharedLibraries}MathLib" ¶ "{SharedLibraries}NavigationLib" ¶ "{SharedLibraries}QuickTimeLib" {EXEC_68K} ÄÄ {68K_OBJ} Link -o {TARG} -d -c {CREATORSIG} ¶ {68K_OBJ} ¶ #"{Libraries}MathLib.o" ¶ #"{CLibraries}Complex.o" ¶ "{CLibraries}StdCLib.o" ¶ "{Libraries}MacRuntime.o" ¶ "{Libraries}IntEnv.o" ¶ #"{Libraries}ToolLibs.o" ¶ "{Libraries}Interface.o" {EXEC_CARBON} ÄÄ icobundle.r version.h {BUNDLEDIR}Contents:Info.plist rez -a -o {TARG} icobundle.r -d PLATFORM=¶"Carbon¶" -d TARGET_CARBON {EXEC_CLASSIC} ÄÄ icobundle.r version.h rez -a -o {TARG} icobundle.r -d PLATFORM=¶"Classic¶" {EXEC_68K} ÄÄ icobundle.r version.h rez -a -o {TARG} icobundle.r -d PLATFORM=¶"68K¶"