aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/mac
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2007-03-13 23:41:23 +0000
committerThomas Grill <xovo@users.sourceforge.net>2007-03-13 23:41:23 +0000
commit942e21c0517370cb8163562d9b5b9990d6e84863 (patch)
treeefa7e19061e86b62fdbafabd13c4f827580909d2 /externals/grill/flext/buildsys/mac
parent3bc26233a8df24bd6d15c031d1a6cdd0f6f23535 (diff)
fix build system for STK and SndObj support (currently unix only)
fixed SndObjs include files changed eol-style no stripping of local symbols small changes to flext build system update docs svn path=/trunk/; revision=7483
Diffstat (limited to 'externals/grill/flext/buildsys/mac')
-rw-r--r--externals/grill/flext/buildsys/mac/gnumake-gcc.inc18
-rw-r--r--externals/grill/flext/buildsys/mac/max/config-gcc.def28
-rw-r--r--externals/grill/flext/buildsys/mac/pd/config-gcc.def26
3 files changed, 69 insertions, 3 deletions
diff --git a/externals/grill/flext/buildsys/mac/gnumake-gcc.inc b/externals/grill/flext/buildsys/mac/gnumake-gcc.inc
index 7572e455..41eac3fd 100644
--- a/externals/grill/flext/buildsys/mac/gnumake-gcc.inc
+++ b/externals/grill/flext/buildsys/mac/gnumake-gcc.inc
@@ -48,6 +48,24 @@ endif
##############################################
+ifdef STK_INC
+INCPATH += -I$(STK_INC)
+endif
+ifdef STK_LIB
+LIBS += $(STK_LIB)
+endif
+
+##############################################
+
+ifdef SNDOBJ_INC
+INCPATH += -I$(SNDOBJ_INC)
+endif
+ifdef SNDOBJ_LIB
+LIBS += $(SNDOBJ_LIB)
+endif
+
+##############################################
+
LDFLAGS += $(patsubst %,-arch %,$(ARCH))
ifdef OSXSDK
diff --git a/externals/grill/flext/buildsys/mac/max/config-gcc.def b/externals/grill/flext/buildsys/mac/max/config-gcc.def
index 5f9a1904..cec5b624 100644
--- a/externals/grill/flext/buildsys/mac/max/config-gcc.def
+++ b/externals/grill/flext/buildsys/mac/max/config-gcc.def
@@ -1,6 +1,6 @@
# where are the Max/MSP SDK header files?
# you should have the latest version!
-MAXSDKPATH=/Applications/MaxMSP\ 4.5/MaxMSP-SDK/c74support
+MAXSDKPATH=/Applications/MaxMSP\ 4.6/MaxMSP-SDK/c74support
###############################################################
@@ -23,7 +23,31 @@ INSTPATH=/Library/Application\ Support/Cycling\ \'74/externals/flext
INITPATH=/Library/Application\ Support/Cycling\ \'74/init
# where should the help files be installed?
-HELPPATH=/Applications/MaxMSP\ 4.5/max-help/flext
+HELPPATH=/Applications/MaxMSP\ 4.6/max-help/flext
+
+###############################################################
+
+# STK (synthesis tool kit) support
+# http://ccrma.stanford.edu/software/stk
+
+# where to find the STK header files (e.g. stk.h)
+STK_INC=/usr/local/include/stk
+
+# where to find the STK library (normally libstk.a)
+# (comment out STK_LIB if you don't use STK)
+#STK_LIB=/usr/local/lib/libstk.a
+
+###############################################################
+
+# SndObj support
+# http://music.nuim.ie//musictec/SndObj
+
+# where to find the SndObj header files (e.g. sndobj.h)
+SNDOBJ_INC=/usr/local/include/sndobj
+
+# where to find the SndObj library (normally libsndobj.a)
+# (comment out STK_LIB if you don't use SndObj)
+#SNDOBJ_LIB=/usr/local/lib/libsndobj.a
###############################################################
diff --git a/externals/grill/flext/buildsys/mac/pd/config-gcc.def b/externals/grill/flext/buildsys/mac/pd/config-gcc.def
index 038fe1c1..a724b2e4 100644
--- a/externals/grill/flext/buildsys/mac/pd/config-gcc.def
+++ b/externals/grill/flext/buildsys/mac/pd/config-gcc.def
@@ -1,6 +1,6 @@
# where is the PD installation including source code?
# (this should point to the main folder, which has a "src" subfolder)
-PDPATH=/Applications/Pd-0.38-3.app/Contents/Resources
+PDPATH=/Applications/Pd-0.40-2.app/Contents/Resources
# where is the PD executable?
PDBIN=$(PDPATH)/bin/pd
@@ -24,6 +24,30 @@ INSTPATH=$(PDPATH)/extra
###############################################################
+# STK (synthesis tool kit) support
+# http://ccrma.stanford.edu/software/stk
+
+# where to find the STK header files (e.g. stk.h)
+STK_INC=/usr/local/include/stk
+
+# where to find the STK library (normally libstk.a)
+# (comment out STK_LIB if you don't use STK)
+#STK_LIB=/usr/local/lib/libstk.a
+
+###############################################################
+
+# SndObj support
+# http://music.nuim.ie//musictec/SndObj
+
+# where to find the SndObj header files (e.g. sndobj.h)
+SNDOBJ_INC=/usr/local/include/sndobj
+
+# where to find the SndObj library (normally libsndobj.a)
+# (comment out STK_LIB if you don't use SndObj)
+#SNDOBJ_LIB=/usr/local/lib/libsndobj.a
+
+###############################################################
+
# user defined compiler flags
UFLAGS += -ffast-math