From c2645dc4003b1391aba9b387a79a66cff1e63d3e Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 22 Oct 2002 23:16:30 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r189, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=190 --- externals/grill/py/py.mpw | 91 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 externals/grill/py/py.mpw (limited to 'externals/grill/py/py.mpw') diff --git a/externals/grill/py/py.mpw b/externals/grill/py/py.mpw new file mode 100644 index 00000000..54c507a0 --- /dev/null +++ b/externals/grill/py/py.mpw @@ -0,0 +1,91 @@ +# py - python script object for PD and MaxMSP +# Copyright (c) 2002 Thomas Grill (xovo@gmx.net) +# +# Makefile for Apple MPW-PR +# +# usage: make -f py.mpw +# +# --------------------------------------------- + +MAKEFILE = py.mpw +€MondoBuild€ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified + +Name = py + +ObjDir = :MPW: +MaxSDK = HD Daten:Prog Stuff:Max/MSP SDK:SDK Examples +flext = ::flext: +Python = HD Daten:Prog Stuff:Packs:Python-2.2 +PythonIncludes = {Python}:Include +PythonMacIncludes = {Python}:Mac:Include +PythonCore = HD MacOS:Applications (Mac OS 9):dev:Python 2.2:PythonCore + + + +Includes = -i :,"{flext}","{MaxSDK}:Max Includes","{MaxSDK}:MSP Includes","{GUSI}include","{PythonIncludes}","{PythonMacIncludes}" +### MPW Shell - Command "Includes" was not found. + +Defines = -d MAXMSP -d USE_GUSI2 + +Sym-PPC = -sym off +Flags = -bool on -enum int -includes unix -opt speed,unroll,unswitch + + +PPCCPlusOptions = {Includes} {Sym-PPC} {Defines} {Flags} + + +### Source Files ### + +SrcFiles = main.cpp +Headers = + + +### Object Files ### + +Obj-PPC =  + "{ObjDir}main.cpp.x" + +LibFiles-Ext =  + "{flext}MPW:flext.o"  + "{MaxSDK}:Max Includes:MaxLib"  + "{MaxSDK}:MSP Includes:MaxAudioLib"  + "{PythonCore}" + +### Libraries ### + +LibFiles-PPC =  + "{SharedLibraries}StdCLib"  + "{SharedLibraries}MathLib"  + "{PPCLibraries}StdCRuntime.o"  + "{PPCLibraries}PPCCRuntime.o"  + "{PPCLibraries}MrCPlusLib.o"  + + +### Default Rules ### + +{ObjDir} Ÿ : + +.cpp.x Ÿ .cpp {€MondoBuild€} {Headers} + {PPCCPlus} {depDir}{default}.cpp -o {targDir}{default}.cpp.x {PPCCPlusOptions} + + +### Build Rules ### + +all Ÿ Folder {€MondoBuild€} {ObjDir}{Name} + +Folder ŸŸ + if !`Exists {ObjDir}` ; NewFolder {ObjDir} ; end + +{ObjDir}{Name} Ÿ {Obj-PPC} + PPCLink  + -o {Targ}  + {deps}  + {LibFiles-Ext}  + {LibFiles-PPC}  + {Sym-PPC}  + -mf -d  + -t 'iLaF'  + -c 'max2'  + -xm s  + -export main  + -main main -- cgit v1.2.1