aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext')
-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
7 files changed, 19 insertions, 1 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