aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/mac/pd
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2007-01-20 14:26:02 +0000
committerThomas Grill <xovo@users.sourceforge.net>2007-01-20 14:26:02 +0000
commitfa5a047a01effcc99b3390804f6c408a73b9ecf8 (patch)
treee81c05cb122440561a6e08e01bcdac266badd51f /externals/grill/flext/buildsys/mac/pd
parent9303c7e113a5527d58b814c7bb11db5dbdfba5a4 (diff)
PD: possibility to create DSP objects without main DSP inlet (use FLEXT_DSP0_NEW or similar)
fixing typo support for multiple archs under OSX small fix for ppc arch architecture-specific compiler flags for UB under OSX fixed severe Altivec bug changed eol-style corrections to config build templates added xcode 2.4 project fixed atom sorting (now also respect symbol content) no stripping of local symbols some fixes, mostly OS X updated build system for Max with MinGW better default values fixed bug in AtomList copying svn path=/trunk/; revision=7368
Diffstat (limited to 'externals/grill/flext/buildsys/mac/pd')
-rw-r--r--externals/grill/flext/buildsys/mac/pd/config-gcc.def26
-rw-r--r--externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc4
2 files changed, 21 insertions, 9 deletions
diff --git a/externals/grill/flext/buildsys/mac/pd/config-gcc.def b/externals/grill/flext/buildsys/mac/pd/config-gcc.def
index 925fdd9a..038fe1c1 100644
--- a/externals/grill/flext/buildsys/mac/pd/config-gcc.def
+++ b/externals/grill/flext/buildsys/mac/pd/config-gcc.def
@@ -24,13 +24,25 @@ INSTPATH=$(PDPATH)/extra
###############################################################
+# user defined compiler flags
+UFLAGS += -ffast-math
+
# user defined optimization flags
-# (check if they match your system!)
-UFLAGS=-faltivec -ffast-math
+OFLAGS += -Os -ftree-vectorize
-# user defined compiler flags
-# (check if they match your system!)
-OFLAGS=-O3
-# optimizations for G4
-OFLAGS+=-mcpu=G4
+# user defined debugging flags
+DFLAGS +=
+
+# architecture-specific flags (optional)
+UFLAGS_ppc += -maltivec -faltivec
+OFLAGS_ppc += -mtune=G4
+DFLAGS_ppc +=
+
+UFLAGS_i386 += -mmmx -msse -msse2 -msse3
+OFLAGS_i386 += -mtune=prescott
+DFLAGS_i386 +=
+
+# cross-compilation (optional)
+#ARCH=i386 ppc
+#OSXSDK=/Developer/SDKs/MacOSX10.4u.sdk
diff --git a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc
index 2e4f6995..a1712728 100644
--- a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc
@@ -1,7 +1,7 @@
EXT=pd_darwin
-#LDFLAGS += -bundle -bundle_loader $(PDBIN)
-LDFLAGS += -dynamiclib -undefined dynamic_lookup
+LDFLAGS += -bundle -bundle_loader $(PDBIN)
+#LDFLAGS += -dynamiclib -undefined dynamic_lookup
TARGET=$(TARGETPATH)/$(TARGETNAME)
INSTTARGET=$(TARGET)