aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/dyn
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-12-28 03:58:11 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-12-28 03:58:11 +0000
commit8e5699c83d2a5f5d649a950e94662257a9b8a979 (patch)
treec8e7ea651530369b6316554db26eaf774b5fb7e9 /externals/grill/dyn
parente4a4f538375af2404ec0f3201fa2ac79e7a17c23 (diff)
""
svn path=/trunk/; revision=1236
Diffstat (limited to 'externals/grill/dyn')
-rw-r--r--externals/grill/dyn/config-pd-darwin.txt14
-rw-r--r--externals/grill/dyn/makefile.pd-darwin5
-rw-r--r--externals/grill/dyn/makefile.pd-linux1
3 files changed, 11 insertions, 9 deletions
diff --git a/externals/grill/dyn/config-pd-darwin.txt b/externals/grill/dyn/config-pd-darwin.txt
index cce81447..d993e9e4 100644
--- a/externals/grill/dyn/config-pd-darwin.txt
+++ b/externals/grill/dyn/config-pd-darwin.txt
@@ -6,27 +6,27 @@
#
# your c++ compiler (define only if not g++)
-# CXX=
+# CXX=gcc-3.3
# where are the PD header files?
# leave it blank if it is a system directory (like /usr/local/include),
# since gcc 3.2 complains about it
-PDPATH=/usr/local/pd/src
+PDPATH=/usr/src/pd-0.37-0/src
# where is the PD executable?
-PD=/usr/local/pd/bin/pd
+PD=/usr/local/bin/pd
# where do the flext libraries reside?
-FLEXTPATH=/usr/local/pd/flext
+FLEXTPATH=/usr/local/lib/pd/flext
# where should flext libraries be built?
TARGDIR=./pd-darwin
-# where should pool be installed?
+# where should dyn be installed?
# (leave blank to omit installation)
-INSTPATH=/usr/local/pd/extra
+INSTPATH=/usr/local/lib/pd/extra
# additional compiler flags
# (check if they fit for your system!)
-# UFLAGS=-maltivec
+UFLAGS=-maltivec -faltivec
diff --git a/externals/grill/dyn/makefile.pd-darwin b/externals/grill/dyn/makefile.pd-darwin
index 5af65eaa..2fc40958 100644
--- a/externals/grill/dyn/makefile.pd-darwin
+++ b/externals/grill/dyn/makefile.pd-darwin
@@ -22,9 +22,10 @@ FLEXTLIB=$(FLEXTPATH)/flext.a
INCLUDES=$(PDPATH)
LIBPATH=
FLAGS=-DFLEXT_SYS=2 ${U_FLAGS}
-CFLAGS=-O6 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -fno-exceptions -fno-rtti
+CFLAGS=-O6 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -fno-rtti
#CFLAGS=-g
LIBS=m
+FRAMEWORKS=vecLib
LDFLAGS=-bundle -bundle_loader $(PD)
@@ -52,7 +53,7 @@ $(TARGDIR)/%.o : $(DIR)/%.cpp
$(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) $(FLEXTLIB)
- $(CXX) $(LDFLAGS) $^ $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@
+ $(CXX) $(LDFLAGS) $^ $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) $(patsubst %,-framework %,$(FRAMEWORKS)) -o $@
chmod 755 $@
$(INSTPATH):
diff --git a/externals/grill/dyn/makefile.pd-linux b/externals/grill/dyn/makefile.pd-linux
index 3e858f1b..9d401053 100644
--- a/externals/grill/dyn/makefile.pd-linux
+++ b/externals/grill/dyn/makefile.pd-linux
@@ -22,6 +22,7 @@ INCLUDES=$(PDPATH)
LIBPATH=
FLAGS=-DFLEXT_SYS=2
CFLAGS=-O2 $(UFLAGS)
+LDFLAGS=$(UFLAGS) # needed by icc
LIBS=stdc++