aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-06-19 02:36:59 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-06-19 02:36:59 +0000
commitd3715261b8ff4793117296590190ebb3f2324f36 (patch)
tree4daaae7636390fe9c558ff66f1501b97e84af4a2
parent1d296c40615533f41472fbc5d552f0f9ebd5c2b1 (diff)
""
svn path=/trunk/; revision=720
-rw-r--r--externals/grill/flext/config-pd-darwin.txt5
-rw-r--r--externals/grill/flext/flext.cwbin789029 -> 789029 bytes
-rw-r--r--externals/grill/flext/makefile.pd-darwin8
-rwxr-xr-xexternals/grill/flext/source/flprefix.h6
-rw-r--r--externals/grill/flext/source/flsupport.h1
-rwxr-xr-xexternals/grill/flext/tutorial/maxmsp/ex-bind1.patbin0 -> 1509 bytes
-rwxr-xr-xexternals/grill/flext/tutorial/maxmsp/ex-buffer1.patbin0 -> 1364 bytes
-rwxr-xr-xexternals/grill/xsample/makefile.pd-darwin6
8 files changed, 22 insertions, 4 deletions
diff --git a/externals/grill/flext/config-pd-darwin.txt b/externals/grill/flext/config-pd-darwin.txt
index bf207a73..a50a2f28 100644
--- a/externals/grill/flext/config-pd-darwin.txt
+++ b/externals/grill/flext/config-pd-darwin.txt
@@ -26,3 +26,8 @@ INSTDIR=/usr/local/pd/flext
# additional compiler flags
# (check if they fit for your system!)
UFLAGS=-DFLEXT_USE_SIMD -malign-power -maltivec
+
+# define to use old library naming for backwards compatibility
+# ("flext.a" instead of new "libflext.a" etc.)
+V4_NAMING=1
+
diff --git a/externals/grill/flext/flext.cw b/externals/grill/flext/flext.cw
index 544a5198..333da537 100644
--- a/externals/grill/flext/flext.cw
+++ b/externals/grill/flext/flext.cw
Binary files differ
diff --git a/externals/grill/flext/makefile.pd-darwin b/externals/grill/flext/makefile.pd-darwin
index c97f96db..c84c3163 100644
--- a/externals/grill/flext/makefile.pd-darwin
+++ b/externals/grill/flext/makefile.pd-darwin
@@ -27,6 +27,7 @@ LIBS=gcc
# ----------------------------------------------
NAME=flext
+
SRCDIR=source
# all the source files from the package
@@ -48,10 +49,17 @@ endif
CFLAGS+=-framework Carbon -framework veclib -Fveclib -FCarbon
MAKEFILE=makefile.pd-darwin
+ifdef V4_NAMING
TARGET=$(TARGDIR)/lib$(NAME).a
TARGET_D=$(TARGDIR)/lib$(NAME)_d.a
TARGET_T=$(TARGDIR)/lib$(NAME)_t.a
TARGET_TD=$(TARGDIR)/lib$(NAME)_td.a
+else
+TARGET=$(TARGDIR)/$(NAME).a
+TARGET_D=$(TARGDIR)/$(NAME)_d.a
+TARGET_T=$(TARGDIR)/$(NAME)_t.a
+TARGET_TD=$(TARGDIR)/$(NAME)_td.a
+endif
TARGET_S=$(TARGDIR)/lib$(NAME).dylib
TARGET_SD=$(TARGDIR)/lib$(NAME)_d.dylib
diff --git a/externals/grill/flext/source/flprefix.h b/externals/grill/flext/source/flprefix.h
index 87f976a7..390f51ab 100755
--- a/externals/grill/flext/source/flprefix.h
+++ b/externals/grill/flext/source/flprefix.h
@@ -298,6 +298,12 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#endif
// ----- set threading model -----
+// shared builds are always threaded (although this not be so....)
+#ifdef FLEXT_SHARED
+ #undef FLEXT_THREADS
+ #define FLEXT_THREADS
+#endif
+
#ifdef FLEXT_THREADS
#undef FLEXT_THREADS
#if FLEXT_OS == FLEXT_OS_MAC && FLEXT_SYS == FLEXT_SYS_MAX
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index 98fbe441..6762c9c2 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -986,7 +986,6 @@ protected:
#else
#define FLEXT_SETUPFUNC SetupSingle
#endif
-
static void FLEXT_SETUPFUNC();
static bool chktilde(const char *objname);
diff --git a/externals/grill/flext/tutorial/maxmsp/ex-bind1.pat b/externals/grill/flext/tutorial/maxmsp/ex-bind1.pat
new file mode 100755
index 00000000..96421f2d
--- /dev/null
+++ b/externals/grill/flext/tutorial/maxmsp/ex-bind1.pat
Binary files differ
diff --git a/externals/grill/flext/tutorial/maxmsp/ex-buffer1.pat b/externals/grill/flext/tutorial/maxmsp/ex-buffer1.pat
new file mode 100755
index 00000000..979774ac
--- /dev/null
+++ b/externals/grill/flext/tutorial/maxmsp/ex-buffer1.pat
Binary files differ
diff --git a/externals/grill/xsample/makefile.pd-darwin b/externals/grill/xsample/makefile.pd-darwin
index e6714efe..e0f49793 100755
--- a/externals/grill/xsample/makefile.pd-darwin
+++ b/externals/grill/xsample/makefile.pd-darwin
@@ -13,14 +13,14 @@ CONFIG=config-pd-darwin.txt
include ${CONFIG}
-FLEXTLIB=flext
+FLEXTLIB=$(FLEXTPATH)/libflext.a
# compiler stuff
INCLUDES=$(PDINC)
FLAGS=-DFLEXT_SYS=2
CFLAGS=${UFLAGS} -dynamic -O6 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -funroll-loops -fmove-all-movables -frerun-loop-opt -fno-rtti -fno-exceptions
-LIBS=m gcc $(FLEXTLIB)
-LDFLAGS=-bundle -bundle_loader $(PDBIN)
+LIBS=m gcc
+LDFLAGS=$(FLEXTLIB) -bundle -bundle_loader $(PDBIN)
FRAMEWORKS=Carbon
# ----------------------------------------------