# This file is part of pathlength, a Filter plugin for Adobe Illustrator # Copyright (C) 2005-9 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 EXEC = pathtotext EXEC7 = pathtotext-ai7 EXEC10 = pathtotext-ai10 FILETYPE = -t 'ARPI' -c 'ART5' REZFILES = version.r ::common:adobeplugin:PiPL-illustrator-fat.r OBJ_CLASSIC = ::common:adobeplugin:aipluginmain.cl.x ::common:tt:dbg_mac.cl.x ¶ main.cl.x ::common:tt:choosefile_nav.cl.x ::common:tt:str.cl.x OBJ_CARBON = ::common:adobeplugin:aipluginmain.ca.x ::common:tt:dbg_mac.ca.x ¶ main.ca.x ::common:tt:choosefile_nav.ca.x ::common:tt:str.ca.x main.cl.x ÄÄ common.h version.h main.ca.x ÄÄ common.h version.h main.68k.o ÄÄ common.h version.h # where the Illustrator API header files are located AI7API = {AI7}'ADM Headers:',{AI7}'Adobe Illustrator Headers:',{AI7}'C++ Wrapper Classes:',{AI7}'General Headers:',{AI7}'Legacy Headers:',{AI7}'PICA SP Headers:',{AI7}'Undocumented Headers:' AI7 = '::Illustrator70.SDK:AIPluginAPI:' AI10 = '::Adobe Illustrator 10 SDK:IllustratorAPI:' AI10API = {AI10}ADM:,{AI10}ADM:Legacy:,{AI10}General:,{AI10}Illustrator:,{AI10}Legacy:v7:,{AI10}PICA_SP: {EXEC} Ä {EXEC7} {EXEC10} files -x brtc {EXEC7} {EXEC10} COPT = -d ISFILTER -d MAC_ENV ¶ -proto strict -i :,::common:tt:,::common:adobeplugin: -w 17,2,35 .cl.x Ä .c mrc {depdir}{default}.c -o {targ} {copt} -i {AI7API} -align mac68k .ca.x Ä .c mrc {depdir}{default}.c -o {targ} {copt} -i {AI10API} -align power -d TARGET_CARBON {EXEC7} ÄÄ {OBJ_CLASSIC} PPCLink -o {Targ} {FILETYPE} -m main {OBJ_CLASSIC} ¶ "{SharedLibraries}InterfaceLib" ¶ "{SharedLibraries}StdCLib" ¶ "{SharedLibraries}MathLib" ¶ "{SharedLibraries}NavigationLib" ¶ "{PPCLibraries}StdCRuntime.o" ¶ "{PPCLibraries}PPCCRuntime.o" ¶ "{PPCLibraries}PPCToolLibs.o" ¶ "{PPCLibraries}"CarbonAccessors.o {EXEC10} ÄÄ {OBJ_CARBON} PPCLink -o {Targ} {FILETYPE} -m main {OBJ_CARBON} -d ¶ "{SharedLibraries}CarbonLib" ¶ "{SharedLibraries}StdCLib" ¶ "{PPCLibraries}PPCCRuntime.o" {EXEC7} ÄÄ {REZFILES} version.h Rez -o {Targ} {FILETYPE} -a -s : -d SystemSevenOrLater=1 {REZFILES} #-d BUILD_68K {EXEC10} ÄÄ {REZFILES} version.h Rez -o {Targ} {FILETYPE} -a -s : -d SystemSevenOrLater=1 {REZFILES}