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/xsample/source/xsample.mpw | 129 +++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 externals/grill/xsample/source/xsample.mpw (limited to 'externals/grill/xsample/source/xsample.mpw') diff --git a/externals/grill/xsample/source/xsample.mpw b/externals/grill/xsample/source/xsample.mpw new file mode 100644 index 00000000..9e6b625e --- /dev/null +++ b/externals/grill/xsample/source/xsample.mpw @@ -0,0 +1,129 @@ +# xsample - extended sample objects for Max/MSP and pd (pure data) +# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net) +# +# Makefile for Apple MPW-PR +# +# usage: make -f xsample.mpw +# +# --------------------------------------------- + +MAKEFILE = xsample.mpw +€MondoBuild€ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified + +ObjDir = ::MPW: +MaxSDK = HD Daten:Prog Stuff:Max/MSP SDK:SDK Examples +flext = :::flext: +Includes = -i :,"{flext}","{MaxSDK}:Max Includes","{MaxSDK}:MSP Includes" +Defines = -d MAXMSP + +Sym-PPC = -sym off +Flags = -bool on -enum int -includes unix -opt speed,unroll,unswitch +WarnOff = -w 35 + +PPCCPlusOptions = {Includes} {Sym-PPC} {Defines} {Flags} {WarnOff} + + +### Source Files ### + +SrcFiles = main.cpp inter.cpp groove.cpp play.cpp record.cpp +Headers = main.h + +### Object Files ### + +Obj-groove =  + "{ObjDir}main.cpp.x"  + "{ObjDir}inter.cpp.x"  + "{ObjDir}groove.cpp.x" + +Obj-play =  + "{ObjDir}main.cpp.x"  + "{ObjDir}inter.cpp.x"  + "{ObjDir}play.cpp.x" + +Obj-record =  + "{ObjDir}main.cpp.x"  + "{ObjDir}inter.cpp.x"  + "{ObjDir}record.cpp.x" + +Obj =  + "{ObjDir}main.cpp.x"  + "{ObjDir}record.cpp.x"  + "{ObjDir}play.cpp.x"  + "{ObjDir}inter.cpp.x"  + "{ObjDir}groove.cpp.x" + + +### Libraries ### + +LibFiles-Ext =  + "{flext}MPW:flext.o"  + "{MaxSDK}:Max Includes:MaxLib"  + "{MaxSDK}:MSP Includes:MaxAudioLib" + +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 {ObjDir}xsample +single Ÿ Folder {ObjDir}xgroove~ {ObjDir}xplay~ {ObjDir}xrecord~ + +Folder Ÿ + if !`Exists {ObjDir}` ; NewFolder {ObjDir} ; end + +{ObjDir}xgroove~ ŸŸ {Obj-groove} {LibFiles-Ext} + PPCLink  + -o {Targ}  + {deps}  + {LibFiles-PPC}  + {Sym-PPC}  + -mf -d  + -t 'iLaF' -c 'max2'  + -xm s  + -export main -main main + +{ObjDir}xplay~ ŸŸ {Obj-play} {LibFiles-Ext} + PPCLink  + -o {Targ}  + {deps}  + {LibFiles-PPC}  + {Sym-PPC}  + -mf -d  + -t 'iLaF' -c 'max2'  + -xm s  + -export main -main main + +{ObjDir}xrecord~ ŸŸ {Obj-record} {LibFiles-Ext} + PPCLink  + -o {Targ}  + {deps}  + {LibFiles-PPC}  + {Sym-PPC}  + -mf -d  + -t 'iLaF' -c 'max2'  + -xm s  + -export main -main main + +{ObjDir}xsample ŸŸ {Obj} {LibFiles-Ext} + PPCLink  + -o {Targ}  + {deps}  + {LibFiles-PPC}  + {Sym-PPC}  + -mf -d  + -t 'iLaF' -c 'max2'  + -xm s  + -export main -main main -- cgit v1.2.1