# This file is part of radialdistort, a filter plugin for Adobe Illustrator # Copyright (C) 1996-2005 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 # where the Illustrator API header files are located AI7 = '::Illustrator70.SDK:AIPluginAPI:' AI10 = '::Adobe Illustrator 10 SDK:IllustratorAPI:' LIBS_CLASSIC = ¶ "{SharedLibraries}InterfaceLib" ¶ "{SharedLibraries}StdCLib" ¶ "{SharedLibraries}MathLib" ¶ "{PPCLibraries}StdCRuntime.o" ¶ "{PPCLibraries}PPCCRuntime.o" ¶ "{PPCLibraries}PPCToolLibs.o" ¶ "{PPCLibraries}"CarbonAccessors.o LIBS_CARBON = "{SharedLibraries}CarbonLib" ¶ "{SharedLibraries}StdCLib" ¶ "{PPCLibraries}PPCCRuntime.o" ## uncomment these lines if building for pre-v10: #EXEC = "radial-ai7-fat" #AI_API = {AI7}'ADM Headers:',{AI7}'Adobe Illustrator Headers:',{AI7}'C++ Wrapper Classes:',{AI7}'General Headers:',{AI7}'Legacy Headers:',{AI7}'PICA SP Headers:',{AI7}'Undocumented Headers:' #ALIGN = -align mac68k #PPCLIBS = {LIBS_CLASSIC} #REZOPTS = -d BUILD_68K #PLUGIN68K = plugin-68k.rsrc ## uncomment these lines if building for v10: ## note, you must have installed the Carbon SDK headers EXEC = "radial-ai10" AI_API = {AI10}ADM:,{AI10}ADM:Legacy:,{AI10}General:,{AI10}Illustrator:,{AI10}Legacy:v7:,{AI10}PICA_SP: ALIGN = -align power PPCLIBS = -d {LIBS_CARBON} CARBONOPTS = -d TARGET_CARBON PLUGIN68K = radial Ä {EXEC} {PLUGIN68K} oppc = radial.x ::common:adobeplugin:aifiltershell.x ::common:adobeplugin:dbg_mac.x ::common:tt:sprintf_tiny.x o68k = radial.o ::common:adobeplugin:aifiltershell.o ::common:adobeplugin:dbg_mac.o ::common:tt:sprintf_tiny.o copt = -d MAC_ENV -typecheck relaxed -w 2,17,29,35 {ALIGN} ¶ -i :,::common:tt:,::common:adobeplugin:,{AI_API} {CARBONOPTS} FILETYPE = -t 'ARPI' -c 'ART5' .x Ä .c mrc {depdir}{default}.c -o {targ} -d MACPPC_ENV {copt} .o Ä .c sc -b {depdir}{default}.c -o {targ} -d MAC68K_ENV -mc68020 -mc68881 {copt} {EXEC} ÄÄ {oppc} PPCLink -o {Targ} {FILETYPE} -m main {oppc} {PPCLIBS} plugin-68k.rsrc ÄÄ {o68k} Link -o {TARG} -t '????' -sg {EXEC} -rt 'ARPI'=16000 -m MAIN ¶ {o68k} ¶ "{Libraries}MathLib881.o" ¶ #"{CLibraries}Complex.o" ¶ "{CLibraries}StdCLib.o" ¶ "{Libraries}MacRuntime.o" ¶ #"{Libraries}IntEnv.o" ¶ "{Libraries}ToolLibs.o" ¶ "{Libraries}Interface.o" {EXEC} ÄÄ ::common:adobeplugin:PiPL-fat.r {PLUGIN68K} Rez ::common:adobeplugin:PiPL-fat.r -o {Targ} {FILETYPE} -a -s : -d SystemSevenOrLater=1 {REZOPTS}