aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-05 05:04:55 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-05 05:04:55 +0000
commitb1d0383c31cc936710fb9099f6d9e86e7eeae569 (patch)
tree6b885467b10f0a29d58893a031ea10251369f37a /externals
parent011a5b60d4992b2325219865ee7ffca9741a1155 (diff)
made default configurations generic
two more flext tutorials fixes for Max headers cleanups updated build system updated tutorials revised the documentation updated for OSX upgraded version number svn path=/trunk/; revision=2465
Diffstat (limited to 'externals')
-rw-r--r--externals/grill/flext/AUTHORS2
-rw-r--r--externals/grill/flext/INSTALL5
-rw-r--r--externals/grill/flext/NEWS1
-rw-r--r--externals/grill/flext/build.bat90
-rw-r--r--externals/grill/flext/build.sh19
-rw-r--r--externals/grill/flext/build.txt171
-rw-r--r--externals/grill/flext/buildsys/bmake-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/bmake-flext.inc6
-rw-r--r--externals/grill/flext/buildsys/bmake-sub.mak34
-rw-r--r--externals/grill/flext/buildsys/bmake.inc114
-rw-r--r--externals/grill/flext/buildsys/bmake.mak14
-rw-r--r--externals/grill/flext/buildsys/build-cygwin.sh2
-rw-r--r--externals/grill/flext/buildsys/build-gcc.sh2
-rw-r--r--externals/grill/flext/buildsys/gnumake-sub.mak34
-rw-r--r--externals/grill/flext/buildsys/gnumake.inc4
-rw-r--r--externals/grill/flext/buildsys/gnumake.mak14
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc83
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc103
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc.inc5
-rw-r--r--externals/grill/flext/buildsys/lnx/pd/config-gcc.def4
-rw-r--r--externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-flext.inc12
-rw-r--r--externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc140
-rw-r--r--externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc154
-rw-r--r--externals/grill/flext/buildsys/mac/max/config-gcc.def12
-rw-r--r--externals/grill/flext/buildsys/mac/pd/config-gcc.def6
-rw-r--r--externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/mac/pd/gnumake-gcc-flext.inc10
-rw-r--r--externals/grill/flext/buildsys/mac/pd/gnumake-gcc.inc2
-rw-r--r--externals/grill/flext/buildsys/nmake-sub.mak34
-rw-r--r--externals/grill/flext/buildsys/nmake.inc4
-rw-r--r--externals/grill/flext/buildsys/nmake.mak14
-rw-r--r--externals/grill/flext/buildsys/readme.txt176
-rw-r--r--externals/grill/flext/buildsys/targets-ext.inc49
-rw-r--r--externals/grill/flext/buildsys/targets-flext.inc47
-rw-r--r--externals/grill/flext/buildsys/targets.inc100
-rw-r--r--externals/grill/flext/buildsys/win/bmake-bcc-ext.inc107
-rw-r--r--externals/grill/flext/buildsys/win/bmake-bcc-flext.inc154
-rw-r--r--externals/grill/flext/buildsys/win/bmake-bcc.inc83
-rw-r--r--externals/grill/flext/buildsys/win/gnumake-cygwin-ext.inc83
-rw-r--r--externals/grill/flext/buildsys/win/gnumake-cygwin-flext.inc103
-rw-r--r--externals/grill/flext/buildsys/win/gnumake-cygwin.inc9
-rw-r--r--externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc93
-rw-r--r--externals/grill/flext/buildsys/win/gnumake-mingw-flext.inc112
-rw-r--r--externals/grill/flext/buildsys/win/gnumake-mingw.inc9
-rw-r--r--externals/grill/flext/buildsys/win/max/config-mingw.def19
-rw-r--r--externals/grill/flext/buildsys/win/max/config-msvc.def17
-rw-r--r--externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc12
-rw-r--r--externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc10
-rw-r--r--externals/grill/flext/buildsys/win/nmake-msvc-ext.inc89
-rw-r--r--externals/grill/flext/buildsys/win/nmake-msvc-flext.inc131
-rw-r--r--externals/grill/flext/buildsys/win/nmake-msvc.inc13
-rw-r--r--externals/grill/flext/buildsys/win/pd/bmake-bcc-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/win/pd/bmake-bcc-flext.inc10
-rw-r--r--externals/grill/flext/buildsys/win/pd/config-bcc.def7
-rw-r--r--externals/grill/flext/buildsys/win/pd/config-cygwin.def8
-rw-r--r--externals/grill/flext/buildsys/win/pd/config-mingw.def12
-rw-r--r--externals/grill/flext/buildsys/win/pd/config-msvc.def10
-rw-r--r--externals/grill/flext/buildsys/win/pd/gnumake-cygwin-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/win/pd/gnumake-cygwin-flext.inc10
-rw-r--r--externals/grill/flext/buildsys/win/pd/gnumake-cygwin.inc2
-rw-r--r--externals/grill/flext/buildsys/win/pd/gnumake-mingw-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/win/pd/gnumake-mingw-flext.inc10
-rw-r--r--externals/grill/flext/buildsys/win/pd/nmake-msvc-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/win/pd/nmake-msvc-flext.inc10
-rw-r--r--externals/grill/flext/changes.txt10
-rwxr-xr-xexternals/grill/flext/configure.ac2
-rw-r--r--externals/grill/flext/flext.doxy6
-rw-r--r--externals/grill/flext/license.txt34
-rw-r--r--externals/grill/flext/package.txt68
-rw-r--r--externals/grill/flext/readme.txt167
-rw-r--r--externals/grill/flext/source/flext.h6
-rw-r--r--externals/grill/flext/source/flstdc.h2
-rw-r--r--externals/grill/flext/tutorial/adv1/adv1.dsp96
-rwxr-xr-xexternals/grill/flext/tutorial/adv1/adv1.mcp (renamed from externals/grill/flext/tutorial/adv1/adv1.cw)bin146697 -> 146697 bytes
-rw-r--r--externals/grill/flext/tutorial/adv1/package.txt2
-rw-r--r--externals/grill/flext/tutorial/adv2/adv2.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/adv2/adv2.mcp (renamed from externals/grill/flext/tutorial/adv2/adv2.cw)bin148873 -> 148873 bytes
-rw-r--r--externals/grill/flext/tutorial/adv2/package.txt2
-rw-r--r--externals/grill/flext/tutorial/adv3/adv3.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/adv3/adv3.mcp (renamed from externals/grill/flext/tutorial/adv3/adv3.cw)bin148873 -> 148873 bytes
-rw-r--r--externals/grill/flext/tutorial/adv3/package.txt2
-rw-r--r--externals/grill/flext/tutorial/attr1/attr1.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/attr1/attr1.mcp (renamed from externals/grill/flext/tutorial/attr1/attr1.cw)bin147321 -> 147321 bytes
-rw-r--r--externals/grill/flext/tutorial/attr1/package.txt2
-rw-r--r--externals/grill/flext/tutorial/attr2/attr2.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/attr2/attr2.mcp (renamed from externals/grill/flext/tutorial/attr2/attr2.cw)bin148873 -> 148873 bytes
-rw-r--r--externals/grill/flext/tutorial/attr2/package.txt2
-rw-r--r--externals/grill/flext/tutorial/attr3/attr3.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/attr3/attr3.mcp (renamed from externals/grill/flext/tutorial/attr3/attr3.cw)bin148873 -> 148873 bytes
-rw-r--r--externals/grill/flext/tutorial/attr3/package.txt2
-rwxr-xr-xexternals/grill/flext/tutorial/bind1/bind1.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/bind1/bind1.mcp (renamed from externals/grill/flext/tutorial/bind1/bind1.cw)bin148873 -> 148873 bytes
-rw-r--r--externals/grill/flext/tutorial/bind1/package.txt2
-rwxr-xr-xexternals/grill/flext/tutorial/buffer1/buffer1.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/buffer1/buffer1.mcp (renamed from externals/grill/flext/tutorial/buffer1/buffer1.cw)bin147321 -> 147321 bytes
-rw-r--r--externals/grill/flext/tutorial/buffer1/package.txt2
-rw-r--r--externals/grill/flext/tutorial/build-pd-bcc.bat73
-rw-r--r--externals/grill/flext/tutorial/build-pd-cygwin.sh3
-rw-r--r--externals/grill/flext/tutorial/build-pd-darwin.sh10
-rw-r--r--externals/grill/flext/tutorial/build-pd-linux.sh11
-rw-r--r--externals/grill/flext/tutorial/build-pd-msvc.bat3
-rw-r--r--externals/grill/flext/tutorial/build.bat34
-rw-r--r--externals/grill/flext/tutorial/build.sh28
-rw-r--r--externals/grill/flext/tutorial/config-pd-bcc.txt21
-rw-r--r--externals/grill/flext/tutorial/config-pd-cygwin.txt28
-rw-r--r--externals/grill/flext/tutorial/config-pd-darwin.txt37
-rw-r--r--externals/grill/flext/tutorial/config-pd-linux.txt37
-rw-r--r--externals/grill/flext/tutorial/config-pd-msvc.txt26
-rw-r--r--externals/grill/flext/tutorial/lib1/lib1.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/lib1/lib1.mcp (renamed from externals/grill/flext/tutorial/lib1/lib1.cw)bin148873 -> 148873 bytes
-rw-r--r--externals/grill/flext/tutorial/lib1/package.txt2
-rw-r--r--externals/grill/flext/tutorial/make-sub.pd-msvc63
-rw-r--r--externals/grill/flext/tutorial/makefile.pd-bcc77
-rw-r--r--externals/grill/flext/tutorial/makefile.pd-cygwin71
-rw-r--r--externals/grill/flext/tutorial/makefile.pd-darwin79
-rw-r--r--externals/grill/flext/tutorial/makefile.pd-linux81
-rw-r--r--externals/grill/flext/tutorial/makefile.pd-msvc51
-rw-r--r--externals/grill/flext/tutorial/readme.txt2
-rw-r--r--externals/grill/flext/tutorial/signal1/package.txt2
-rw-r--r--externals/grill/flext/tutorial/signal1/signal1.dsp95
-rw-r--r--externals/grill/flext/tutorial/signal1/signal1.mcp (renamed from externals/grill/flext/tutorial/signal1/signal1.cw)bin101183 -> 101183 bytes
-rw-r--r--externals/grill/flext/tutorial/signal2/package.txt2
-rw-r--r--externals/grill/flext/tutorial/signal2/signal2.dsp95
-rw-r--r--externals/grill/flext/tutorial/signal2/signal2.mcp (renamed from externals/grill/flext/tutorial/signal2/signal2.cw)bin101183 -> 101183 bytes
-rw-r--r--externals/grill/flext/tutorial/simple1/package.txt2
-rw-r--r--externals/grill/flext/tutorial/simple1/simple1.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/simple1/simple1.mcp (renamed from externals/grill/flext/tutorial/simple1/simple1.cw)bin147321 -> 147321 bytes
-rw-r--r--externals/grill/flext/tutorial/simple2/package.txt2
-rw-r--r--externals/grill/flext/tutorial/simple2/simple2.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/simple2/simple2.mcp (renamed from externals/grill/flext/tutorial/simple2/simple2.cw)bin101183 -> 101183 bytes
-rw-r--r--externals/grill/flext/tutorial/simple3/package.txt2
-rw-r--r--externals/grill/flext/tutorial/simple3/simple3.dsp95
-rw-r--r--externals/grill/flext/tutorial/simple3/simple3.mcp (renamed from externals/grill/flext/tutorial/simple3/simple3.cw)bin101183 -> 101183 bytes
-rw-r--r--externals/grill/flext/tutorial/sndobj1/package.txt2
-rw-r--r--externals/grill/flext/tutorial/sndobj1/sndobj1.dsp95
-rw-r--r--externals/grill/flext/tutorial/sndobj1/sndobj1.mcp (renamed from externals/grill/flext/tutorial/sndobj1/sndobj1.cw)bin101183 -> 101183 bytes
-rw-r--r--externals/grill/flext/tutorial/stk1/package.txt2
-rw-r--r--externals/grill/flext/tutorial/stk1/stk1.dsp95
-rw-r--r--externals/grill/flext/tutorial/stk2/package.txt2
-rw-r--r--externals/grill/flext/tutorial/stk2/stk2.dsp95
-rw-r--r--externals/grill/flext/tutorial/thread1/package.txt3
-rw-r--r--externals/grill/flext/tutorial/thread1/thread1.dsp104
-rw-r--r--externals/grill/flext/tutorial/thread1/thread1.mcp (renamed from externals/grill/flext/tutorial/thread1/thread1.cw)bin149552 -> 149552 bytes
-rw-r--r--externals/grill/flext/tutorial/thread2/package.txt3
-rw-r--r--externals/grill/flext/tutorial/thread2/thread2.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/thread2/thread2.mcp (renamed from externals/grill/flext/tutorial/thread2/thread2.cw)bin148836 -> 148836 bytes
-rw-r--r--externals/grill/flext/tutorial/timer1/package.txt2
-rwxr-xr-xexternals/grill/flext/tutorial/timer1/timer1.dsp95
-rwxr-xr-xexternals/grill/flext/tutorial/timer1/timer1.mcp (renamed from externals/grill/flext/tutorial/timer1/timer1.cw)bin207765 -> 207765 bytes
-rw-r--r--externals/grill/flext/tutorial/tutorial.dsw353
153 files changed, 1753 insertions, 4190 deletions
diff --git a/externals/grill/flext/AUTHORS b/externals/grill/flext/AUTHORS
index 677d3b0e..9a5b6f9e 100644
--- a/externals/grill/flext/AUTHORS
+++ b/externals/grill/flext/AUTHORS
@@ -1 +1 @@
-Thomas Grill \ No newline at end of file
+Thomas Grill (gr@grrrr.org)
diff --git a/externals/grill/flext/INSTALL b/externals/grill/flext/INSTALL
index b42a17ac..ee61342f 100644
--- a/externals/grill/flext/INSTALL
+++ b/externals/grill/flext/INSTALL
@@ -1,3 +1,8 @@
+These are instructions for the autoconf building system.
+For the native flext build system, please see the build.txt document.
+
+-----------------------------------------------------------------------
+
Basic Installation
==================
diff --git a/externals/grill/flext/NEWS b/externals/grill/flext/NEWS
index e69de29b..74b4ae7f 100644
--- a/externals/grill/flext/NEWS
+++ b/externals/grill/flext/NEWS
@@ -0,0 +1 @@
+see changes.txt
diff --git a/externals/grill/flext/build.bat b/externals/grill/flext/build.bat
index a0670621..d2fd2fc0 100644
--- a/externals/grill/flext/build.bat
+++ b/externals/grill/flext/build.bat
@@ -1,40 +1,58 @@
-@set flext=%~dp0
-
-@rem Arguments:
-@rem %1 - platform (win/lnx/mac)
-@rem %2 - system (pd/max)
-@rem %3 - compiler (msvc/gcc/mingw/cygwin/bcc/icc)
-@rem %4 - target (build/clean/install)
-
-@set platform=%1
-@set rtsys=%2
-@set compiler=%3
-@set target=%4
-
-@rem --- The subbatch knowns which make utility to use ---
-@set subbatch=%flext%buildsys\build-%compiler%.bat
-
-@if "%platform%"=="" goto syntax
-@if "%rtsys%"=="" goto syntax
-@if "%compiler%"=="" goto syntax
-
-@if not exist %subbatch% goto syntax
-
-@call %subpatch% %subbatch% %platform% %rtsys% %target% %5 %6 %7 %8 %9
-
-@goto end
-
-@rem -----------------------------------------
+@echo off
+
+rem
+rem flext - C++ layer for Max/MSP and pd (pure data) externals
+rem
+rem Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
+rem For information on usage and redistribution, and for a DISCLAIMER OF ALL
+rem WARRANTIES, see the file, "license.txt," in this distribution.
+rem
+rem more information on http://grrrr.org/ext
+rem ------------------------------------------------------------------------
+rem
+rem To build flext or flext-based externals simply run this script.
+rem Running it without arguments will print some help to the console.
+rem
+rem ------------------------------------------------------------------------
+
+set flext=%~dp0
+
+rem Arguments:
+rem %1 - platform (win/lnx/mac)
+rem %2 - system (pd/max)
+rem %3 - compiler (msvc/gcc/mingw/cygwin/bcc/icc)
+rem %4 - target (build/clean/install)
+
+set platform=%1
+set rtsys=%2
+set compiler=%3
+set target=%4
+
+rem --- The subbatch knowns which make utility to use ---
+set subbatch=%flext%buildsys\build-%compiler%.bat
+
+if "%platform%"=="" goto syntax
+if "%rtsys%"=="" goto syntax
+if "%compiler%"=="" goto syntax
+
+if not exist %subbatch% goto syntax
+
+call %subpatch% %subbatch% %platform% %rtsys% %target% %5 %6 %7 %8 %9
+
+goto end
+
+rem -----------------------------------------
:syntax
-@echo .
-@echo SYNTAX: build [platform] [system] [compiler] {target}
-@echo platform ... win / lnx / mac
-@echo system ... pd / max
-@echo compiler ... msvc / gcc / mingw / cygwin / bcc / icc
-@echo target ... all (default) / clean / install
-@echo .
-@echo Please make sure that your make program and compiler can be accessed with the
-@echo system path and that all relevant environment variables are properly set.
+echo .
+echo SYNTAX: build [platform] [system] [compiler] {target}
+echo platform ... win / lnx / mac
+echo system ... pd / max
+echo compiler ... msvc / gcc / mingw / cygwin / bcc / icc
+echo target ... all (default) / clean / install
+echo .
+echo Please make sure that your make program and compiler can be accessed with the
+echo system path and that all relevant environment variables are properly set.
+echo .
:end
diff --git a/externals/grill/flext/build.sh b/externals/grill/flext/build.sh
index c6d8d675..b60d7902 100644
--- a/externals/grill/flext/build.sh
+++ b/externals/grill/flext/build.sh
@@ -1,3 +1,19 @@
+#! /bin/bash
+
+# flext - C++ layer for Max/MSP and pd (pure data) externals
+#
+# Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
+# For information on usage and redistribution, and for a DISCLAIMER OF ALL
+# WARRANTIES, see the file, "license.txt," in this distribution.
+#
+# more information on http://grrrr.org/ext
+# ------------------------------------------------------------------------
+#
+# To build flext or flext-based externals simply run this script.
+# Running it without arguments will print some help to the console.
+#
+# ------------------------------------------------------------------------
+
flext=${0%/*}/
if [ "$flext" = "$0"/ ]; then flext=./ ; fi
@@ -18,7 +34,7 @@ subbatch=${flext}buildsys/build-${compiler}.sh
if
[ -n "$platform" -a -n "$rtsys" -a -n "$compiler" -a -f $subbatch ]
then
- sh $subbatch $platform $rtsys $target $5 $6 $7 $8 $9
+ bash $subbatch $platform $rtsys $target $5 $6 $7 $8 $9
else
echo
echo SYNTAX: build.sh [platform] [system] [compiler] {target}
@@ -29,5 +45,6 @@ else
echo
echo Please make sure that your make program and compiler can be accessed with the
echo system path and that all relevant environment variables are properly set.
+ echo
fi
diff --git a/externals/grill/flext/build.txt b/externals/grill/flext/build.txt
new file mode 100644
index 00000000..9cce87af
--- /dev/null
+++ b/externals/grill/flext/build.txt
@@ -0,0 +1,171 @@
+flext - C++ layer for Max/MSP and pd (pure data) externals
+
+Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
+For information on usage and redistribution, and for a DISCLAIMER OF ALL
+WARRANTIES, see the file, "license.txt," in this distribution.
+
+----------------------------------------------------------------------------
+
+This document consists of the following parts:
+
+1) Using the flext build system
+1.1) Building flext
+1.2) Building externals
+
+2) Using autoconf
+
+3) Other ways to compile flext and flext-based externals
+
+----------------------------------------------------------------------------
+
+1) Using the flext build system
+===============================
+
+flext provides a universal build system which supports
+
+- various operating systems
+ Windows (win)
+ Linux (lnx)
+ MacOSX (mac)
+- various real-time systems
+ Pure Data (pd)
+ Max/MSP (max)
+- various make programs
+ GNU make (gnumake)
+ Microsoft nmake (nmake)
+ Borland make (bmake)
+- various compilers
+ Microsoft Visual C/C++ 6.0 or .NET 2002/2003 (msvc)
+ GNU gcc 2.95 and above (gcc,cygwin,mingw)
+ Borland bcc32 (bcc)
+
+Useful combinations of the above are
+
+win pd msvc, using nmake
+win pd cygwin, using gnumake
+win pd mingw, using gnumake
+win max msvc, using nmake
+win pd bcc, using bmake
+mac pd gcc, using gnumake
+mac max gcc, using gnumake - Mach-O externals only (Max 4.5 upwards)
+
+
+There are two central scripts in the flext folder which invoke the building process:
+- build.sh for bash shells (Linux, MacOSX, cygwin)
+- build.bat for the Windows command prompt
+
+A project needs to provide some information in order to be built properly.
+By default, this resides in a file called package.txt
+
+
+Please note, that the build system is shell-oriented, which means, that you'll have
+to launch a command prompt (cmd.exe under Windows) and probably also set some
+environment variables for your development system (e.g. run vcvars32.bat for Microsoft Visual Studio)
+
+By invoking one of the build scripts (e.g. with "bash build.sh" under unix,
+or just "build" unter Windows) you'll get some lines of help.
+Operating System, real-time system and compiler need to be provided as arguments.
+
+
+See buildsys/readme.txt for developer-centered information.
+
+
+1.1) Building flext
+===================
+
+Flext can build itself using the build system.
+From the flext main directory, run the build script
+
+e.g. under Windows
+ build win pd msvc
+or under unix with
+ bash build.sh lnx pd gcc
+
+When you run it for the first time, one or more configuration files will be created
+from templates - you will get a message on the console.
+You should edit the files to adapt it to your system.
+
+Then install flext with (under Windows)
+ build win pd msvc install
+or (under unix)
+ bash build.sh lnx pd gcc install
+
+
+1.2) Building externals
+=======================
+
+The flext build system can be used to compile flext-based externals or also
+native PD and Max/MSP externals, provided there is a package.txt file in the project folder.
+
+In the shell, change to the project folder.
+Then, simply run the flext build script,
+
+e.g. under Windows
+ ..\flext\build win pd msvc
+Then install your newly built external with
+ ..\flext\build win pd msvc install
+
+or under unix with
+ bash ../flext/build.sh lnx pd gcc
+Then install your external with
+ bash ../flext/build.sh lnx pd gcc install
+
+
+----------------------------------------------------------------------------
+
+2) Using autoconf
+=================
+
+Thanks to Tim Blechmann, flext can also be built using autoconf.
+This only works under unix shells.
+
+When starting from a fresh cvs-based copy of flext first run
+./bootstrap.sh
+
+then you can run
+./configure --help
+to get a page of options.
+
+You need to pass the path to the PD source files to the ./configure script, e.g. with
+./configure --with-sysdir=/usr/local/src/pd/src
+
+Then build flext with
+make
+and install it with
+su -c "make install"
+
+----------------------------------------------------------------------------
+
+3) Other ways to compile flext and flext-based externals
+========================================================
+
+- Windows - Microsoft Visual Studio projects (.vcproj files)
+
+Please have a look at the projects delivered with flext and flext-based externals.
+
+
+- MacOSX - Apple Xcode projects (.xcode bundles)
+
+Please have a look at the projects delivered with flext and flext-based externals.
+
+
+- MacOSX - Metrowerks Codewarrior (.mcp files)
+
+You should have the following "Source Trees" (CW preferences, not project specific!) defined:
+"OS X Volume" - Pointing to your OSX boot drive
+"flext" - Pointing to the flext main directory
+"Cycling74 OSX" - Pointing to the SDK for Max/MSP - the path should end with /c74support
+
+With your project using flext use the prefix file "flcwmax-x.h" or,
+alternatively "flcwmax-x-thr.h" for threading support.
+
+
+- MacOS9 - Metrowerks Codewarrior (.mcp files)
+
+You should have the following "Source Trees" (CW preferences, not project specific!) defined:
+"flext" - Pointing to the flext main directory
+"Cycling74" - Pointing to the Cycling 74 SDK
+"MP SDK" - Pointing to the Multiprocessing SDK (for threading support)
+
+With your project using flext use the prefix file "flcwmax.h" or,
+alternatively "flcwmax-thr.h" for threading support.
diff --git a/externals/grill/flext/buildsys/bmake-ext.inc b/externals/grill/flext/buildsys/bmake-ext.inc
index d959aaca..1455c83e 100644
--- a/externals/grill/flext/buildsys/bmake-ext.inc
+++ b/externals/grill/flext/buildsys/bmake-ext.inc
@@ -1 +1 @@
-OUTNAME=$(NAME)
+OUTNAME=$(NAME)
diff --git a/externals/grill/flext/buildsys/bmake-flext.inc b/externals/grill/flext/buildsys/bmake-flext.inc
index 8d3f177c..2e7faf0c 100644
--- a/externals/grill/flext/buildsys/bmake-flext.inc
+++ b/externals/grill/flext/buildsys/bmake-flext.inc
@@ -1,3 +1,3 @@
-DEFS=$(DEFS) /DFLEXT_EXPORTS
-
-OUTNAME=$(FLEXTNAME)
+DEFS=$(DEFS) /DFLEXT_EXPORTS
+
+OUTNAME=$(FLEXTNAME)
diff --git a/externals/grill/flext/buildsys/bmake-sub.mak b/externals/grill/flext/buildsys/bmake-sub.mak
index 29028377..7b0c7b7a 100644
--- a/externals/grill/flext/buildsys/bmake-sub.mak
+++ b/externals/grill/flext/buildsys/bmake-sub.mak
@@ -18,44 +18,22 @@
!endif
##############################
-
-!ifndef TARGETMODE
-!ifdef DEBUG
-TARGETMODE=debug
-!else
-TARGETMODE=release
-!endif
-!endif
-
-!ifndef TARGETTYPE
-!ifdef SHARED
-TARGETTYPE=shared
-!else
-!ifdef THREADED
-TARGETTYPE=multi
-!else
-TARGETTYPE=single
-!endif
-!endif
-!endif
-
-##############################
# flext-specific make stuff
-!include $(BUILDPATH)bmake-$(BUILDCLASS).inc
-
!include $(BUILDPATH)bmake.inc
+!include $(BUILDPATH)bmake-$(BUILDCLASS).inc
+
##############################
# platform-specific make stuff
-!include $(BUILDPATH)$(PLATFORM)\$(RTSYS)\bmake-$(COMPILER)-$(BUILDCLASS).inc
-
!include $(BUILDPATH)$(PLATFORM)\$(RTSYS)\bmake-$(COMPILER).inc
+!include $(BUILDPATH)$(PLATFORM)\$(RTSYS)\bmake-$(COMPILER)-$(BUILDCLASS).inc
+
##############################
# general make stuff
-!include $(BUILDPATH)$(PLATFORM)\bmake-$(COMPILER)-$(BUILDCLASS).inc
-
!include $(BUILDPATH)$(PLATFORM)\bmake-$(COMPILER).inc
+
+!include $(BUILDPATH)$(PLATFORM)\bmake-$(COMPILER)-$(BUILDCLASS).inc
diff --git a/externals/grill/flext/buildsys/bmake.inc b/externals/grill/flext/buildsys/bmake.inc
index 6495c2de..bdd99818 100644
--- a/externals/grill/flext/buildsys/bmake.inc
+++ b/externals/grill/flext/buildsys/bmake.inc
@@ -1,55 +1,59 @@
-##############################################
-# flext defines
-##############################################
-
-!ifdef SHARED
-# --- shared ---
-DEFS=$(DEFS) /DFLEXT_SHARED
-
-!else
-!ifdef THREADED
-# --- static multi-threaded ---
-DEFS=$(DEFS) /DFLEXT_THREADS
-
-!else
-# --- static single-threaded ---
-
-!endif
-!endif
-
-##############################################
-# name of flext library
-##############################################
-
-!ifdef SHARED
-
-!ifdef DEBUG
-FLEXTNAME=flext-$(RTSYS)_d
-!else
-FLEXTNAME=flext-$(RTSYS)
-!endif
-
-!else
-
-!ifdef THREADED
-!ifdef DEBUG
-FLEXTNAME=flext-$(RTSYS)_td
-!else
-FLEXTNAME=flext-$(RTSYS)_t
-!endif
-!else
-!ifdef DEBUG
-FLEXTNAME=flext-$(RTSYS)_sd
-!else
-FLEXTNAME=flext-$(RTSYS)_s
-!endif
-!endif
-
-!endif # SHARED
-
-##############################################
-# product name and folder
-##############################################
-
-OUTNAME=$(NAME)
-OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
+##############################################
+# flext defines
+##############################################
+
+!ifdef SHARED
+# --- shared ---
+DEFS=$(DEFS) /DFLEXT_SHARED
+
+!else
+!ifdef THREADED
+# --- static multi-threaded ---
+DEFS=$(DEFS) /DFLEXT_THREADS
+
+!else
+# --- static single-threaded ---
+
+!endif
+!endif
+
+##############################################
+# name of flext library
+##############################################
+
+!ifdef SHARED
+
+!ifdef DEBUG
+FLEXTNAME=flext-$(RTSYS)_d
+!else
+FLEXTNAME=flext-$(RTSYS)
+!endif
+
+!else
+
+!ifdef THREADED
+!ifdef DEBUG
+FLEXTNAME=flext-$(RTSYS)_td
+!else
+FLEXTNAME=flext-$(RTSYS)_t
+!endif
+!else
+!ifdef DEBUG
+FLEXTNAME=flext-$(RTSYS)_sd
+!else
+FLEXTNAME=flext-$(RTSYS)_s
+!endif
+!endif
+
+!endif # SHARED
+
+##############################################
+# product name and folder
+##############################################
+
+!ifndef SRCDIR
+SRCDIR=.
+!endif
+
+OUTNAME=$(NAME)
+OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
diff --git a/externals/grill/flext/buildsys/bmake.mak b/externals/grill/flext/buildsys/bmake.mak
index 1fb937ce..b3a29d03 100644
--- a/externals/grill/flext/buildsys/bmake.mak
+++ b/externals/grill/flext/buildsys/bmake.mak
@@ -12,7 +12,9 @@
PKGINFO=package.txt
!endif
+!if "$(PKGINFO)" != ""
!include $(PKGINFO)
+!endif
###############################################
# check variables
@@ -31,13 +33,13 @@ BUILDTYPE=single
##############################
-!ifndef TARGETMODE
-TARGETMODE=$(BUILDMODE)
-!endif
+#!ifndef TARGETMODE
+#TARGETMODE=$(BUILDMODE)
+#!endif
-!ifndef TARGETTYPE
-TARGETTYPE=$(BUILDTYPE)
-!endif
+#!ifndef TARGETTYPE
+#TARGETTYPE=$(BUILDTYPE)
+#!endif
###############################################
diff --git a/externals/grill/flext/buildsys/build-cygwin.sh b/externals/grill/flext/buildsys/build-cygwin.sh
index fa740016..606eaade 100644
--- a/externals/grill/flext/buildsys/build-cygwin.sh
+++ b/externals/grill/flext/buildsys/build-cygwin.sh
@@ -1,3 +1,5 @@
+#! /bin/bash
+
build=${0%/*}/
make -f ${build}gnumake.mak PLATFORM=$1 RTSYS=$2 COMPILER=cygwin BUILDPATH=${build} $3 $4 $5 $6 $7 $8 $9
diff --git a/externals/grill/flext/buildsys/build-gcc.sh b/externals/grill/flext/buildsys/build-gcc.sh
index 3fffd918..ab4b5570 100644
--- a/externals/grill/flext/buildsys/build-gcc.sh
+++ b/externals/grill/flext/buildsys/build-gcc.sh
@@ -1,3 +1,5 @@
+#! /bin/bash
+
build=${0%/*}/
make -f ${build}gnumake.mak PLATFORM=$1 RTSYS=$2 COMPILER=gcc BUILDPATH=${build} $3 $4 $5 $6 $7 $8 $9
diff --git a/externals/grill/flext/buildsys/gnumake-sub.mak b/externals/grill/flext/buildsys/gnumake-sub.mak
index 5e1dfc73..a7de50ce 100644
--- a/externals/grill/flext/buildsys/gnumake-sub.mak
+++ b/externals/grill/flext/buildsys/gnumake-sub.mak
@@ -18,44 +18,22 @@ ifdef USRMAKE
endif
##############################
-
-ifndef TARGETMODE
-ifdef DEBUG
- TARGETMODE=debug
-else
- TARGETMODE=release
-endif
-endif
-
-ifndef TARGETTYPE
-ifdef SHARED
- TARGETTYPE=shared
-else
-ifdef THREADED
- TARGETTYPE=multi
-else
- TARGETTYPE=single
-endif
-endif
-endif
-
-##############################
# flext-specific definitions
-include $(BUILDPATH)gnumake-$(BUILDCLASS).inc
-
include $(BUILDPATH)gnumake.inc
+include $(BUILDPATH)gnumake-$(BUILDCLASS).inc
+
##############################
# platform-specific make stuff
-include $(BUILDPATH)$(PLATFORM)/$(RTSYS)/gnumake-$(COMPILER)-$(BUILDCLASS).inc
-
include $(BUILDPATH)$(PLATFORM)/$(RTSYS)/gnumake-$(COMPILER).inc
+include $(BUILDPATH)$(PLATFORM)/$(RTSYS)/gnumake-$(COMPILER)-$(BUILDCLASS).inc
+
##############################
# general make stuff
-include $(BUILDPATH)$(PLATFORM)/gnumake-$(COMPILER)-$(BUILDCLASS).inc
-
include $(BUILDPATH)$(PLATFORM)/gnumake-$(COMPILER).inc
+
+include $(BUILDPATH)$(PLATFORM)/gnumake-$(COMPILER)-$(BUILDCLASS).inc
diff --git a/externals/grill/flext/buildsys/gnumake.inc b/externals/grill/flext/buildsys/gnumake.inc
index 2a333040..31553e17 100644
--- a/externals/grill/flext/buildsys/gnumake.inc
+++ b/externals/grill/flext/buildsys/gnumake.inc
@@ -51,4 +51,8 @@ endif # SHARED
# product name and folder
##############################################
+ifndef SRCDIR
+SRCDIR=.
+endif
+
OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
diff --git a/externals/grill/flext/buildsys/gnumake.mak b/externals/grill/flext/buildsys/gnumake.mak
index 4d201957..8ff71f97 100644
--- a/externals/grill/flext/buildsys/gnumake.mak
+++ b/externals/grill/flext/buildsys/gnumake.mak
@@ -12,7 +12,9 @@ ifndef PKGINFO
PKGINFO=package.txt
endif
+ifneq ($(PKGINFO),)
include $(PKGINFO)
+endif
###############################################
# check variables
@@ -31,13 +33,13 @@ endif
##############################
-ifndef TARGETMODE
- TARGETMODE=$(BUILDMODE)
-endif
+#ifndef TARGETMODE
+#TARGETMODE=$(BUILDMODE)
+#endif
-ifndef TARGETTYPE
- TARGETTYPE=$(BUILDTYPE)
-endif
+#ifndef TARGETTYPE
+#TARGETTYPE=$(BUILDTYPE)
+#endif
###############################################
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
index 5b58e659..e2c15730 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
@@ -1,41 +1,42 @@
-# build class specific settings
-
-INCPATH += -I$(FLEXTINC)
-LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
-LIBS += -l$(FLEXTNAME)
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
- touch $@
-
-$(TARGETPATH):
- mkdir -p $@
-
-$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGETPATH)/%.o : $(SRCDIR)/%.c
- $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGET):: $(TARGETPATH)
-
-$(TARGET):: $(COBJS) $(CPPOBJS)
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
- chmod 755 $@
-
-##############################################
-
-_clean_:
- rm $(COBJS) $(CPPOBJS) $(TARGET)
-
-##############################################
-
-$(INSTPATH):
- -mkdir -p $@
-
-_install_: $(INSTPATH)
- install $(TARGET) $(INSTPATH)
+# build class specific settings
+
+INCPATH += -I$(FLEXTINC)
+LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
+LIBS += -l$(FLEXTNAME)
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
+ touch $@
+
+$(TARGETPATH):
+ mkdir -p $@
+
+$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGETPATH)/%.o : $(SRCDIR)/%.c
+ $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGET):: $(TARGETPATH)
+
+$(TARGET):: $(COBJS) $(CPPOBJS)
+ $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ chmod 755 $@
+ strip --strip-unneeded $@
+
+##############################################
+
+_clean_:
+ rm $(COBJS) $(CPPOBJS) $(TARGET)
+
+##############################################
+
+$(INSTPATH):
+ -mkdir -p $@
+
+_install_: $(INSTPATH)
+ install $(TARGET) $(INSTPATH)
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc
index 9b22d67c..ec55d6b8 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc
@@ -1,51 +1,52 @@
-# build class specific settings
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
- touch $@
-
-$(TARGETPATH):
- -mkdir -p $@
-
-$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGETPATH)/%.o : $(SRCDIR)/%.c
- $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGET) :: $(TARGETPATH)
-
-$(TARGET) :: $(COBJS) $(CPPOBJS)
-ifdef SHARED
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
- chmod 755 $@
-else
- $(AR) rc $@ $(COBJS) $(CPPOBJS)
-endif
-
-##############################################
-
-_clean_:
- rm $(COBJS) $(CPPOBJS) $(TARGET)
-
-##############################################
-
-ifdef SHARED
-FLEXTLIBINST=$(FLEXTSHLIB)
-else
-FLEXTLIBINST=$(FLEXTLIB)
-endif
-
-$(FLEXTINC):
- -mkdir -p $@
-
-$(FLEXTLIBINST):
- -mkdir -p $@
-
-_install_: $(FLEXTINC) $(FLEXTLIBINST)
- install $(TARGET) $(FLEXTLIBINST)
- install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
+# build class specific settings
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
+ touch $@
+
+$(TARGETPATH):
+ -mkdir -p $@
+
+$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGETPATH)/%.o : $(SRCDIR)/%.c
+ $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGET) :: $(TARGETPATH)
+
+$(TARGET) :: $(COBJS) $(CPPOBJS)
+ifdef SHARED
+ $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ chmod 755 $@
+ strip --strip-unneeded $@
+else
+ $(AR) rc $@ $(COBJS) $(CPPOBJS)
+endif
+
+##############################################
+
+_clean_:
+ rm $(COBJS) $(CPPOBJS) $(TARGET)
+
+##############################################
+
+ifdef SHARED
+FLEXTLIBINST=$(FLEXTSHLIB)
+else
+FLEXTLIBINST=$(FLEXTLIB)
+endif
+
+$(FLEXTINC):
+ -mkdir -p $@
+
+$(FLEXTLIBINST):
+ -mkdir -p $@
+
+_install_: $(FLEXTINC) $(FLEXTLIBINST)
+ install $(TARGET) $(FLEXTLIBINST)
+ install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc
index f1eb6452..55022c36 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc
@@ -1,11 +1,12 @@
##############################################
-TARGETPATH=$(OUTPATH)/$(OUTSUB)
+OBJPATH=$(OUTPATH)/$(OUTSUB)
+TARGETPATH=$(OBJPATH)
TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
##############################################
-LDFLAGS += -shared -Wl,-x
+LDFLAGS += -shared
##############################################
diff --git a/externals/grill/flext/buildsys/lnx/pd/config-gcc.def b/externals/grill/flext/buildsys/lnx/pd/config-gcc.def
index a8f230a8..c58ab238 100644
--- a/externals/grill/flext/buildsys/lnx/pd/config-gcc.def
+++ b/externals/grill/flext/buildsys/lnx/pd/config-gcc.def
@@ -24,4 +24,6 @@ INSTPATH=/usr/local/lib/pd/extra
# user defined compiler flags
# (check if they match your system!)
-OFLAGS=-O2 -march=pentium4 -msse
+OFLAGS=-O2
+# optimizations for Pentium 4
+#OFLAGS+=-march=pentium4 -msse
diff --git a/externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-ext.inc
index 042ce60f..88feb249 100644
--- a/externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-ext.inc
@@ -1 +1 @@
-EXT=pd_linux
+EXT=pd_linux
diff --git a/externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-flext.inc b/externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-flext.inc
index b64ecc11..cecaa37a 100644
--- a/externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-flext.inc
+++ b/externals/grill/flext/buildsys/lnx/pd/gnumake-gcc-flext.inc
@@ -1,6 +1,6 @@
-ifdef SHARED
-EXT=so
-else
-EXT=a
-endif
-
+ifdef SHARED
+EXT=so
+else
+EXT=a
+endif
+
diff --git a/externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc
index 66a86234..b5873d50 100644
--- a/externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/mac/gnumake-gcc-ext.inc
@@ -1,70 +1,70 @@
-# build class specific settings
-
-INCPATH += -I$(FLEXTINC)
-LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
-LIBS += -l$(FLEXTNAME)
-
-# obviously header precompilation os still buggy with gcc 3.3
-
-ifdef PRECOMPILE
-#PRECOMSRC=$(SRCDIR)/$(PRECOMPILE)
-else
-#PRECOMSRC=$(FLEXTINC)/flext.h
-endif
-ifdef PRECOMSRC
-PRECOMDST=$(OBJPATH)/$(notdir $(PRECOMSRC)).gch
-PRECOMINC = -include $(OBJPATH)/$(notdir $(PRECOMSRC))
-endif
-
-##############################################
-
-CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
-CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
-COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
-CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
- touch $@
-
-# Attention: $@ doesn't work for paths with spaces....
-$(OBJPATH):
- -mkdir -p $(OBJPATH)
-
-# Attention: $@ doesn't work for paths with spaces....
-$(TARGETPATH):
- -mkdir -p $(TARGETPATH)
-
-$(PRECOMDST) : $(PRECOMSRC) $(patsubst %,$(SRCDIR)/%,$(HDRS))
- $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $(PRECOMSRC) -o $@
-
-$(OBJPATH)/%.opp : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(DEFS) $(PRECOMINC) $(INCPATH) $< -o $@
-
-$(OBJPATH)/%.o : $(SRCDIR)/%.c
- $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGET) :: $(OBJPATH) $(TARGETPATH)
-
-$(TARGET) :: $(PRECOMDST) $(COBJS) $(CPPOBJS)
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
- chmod 755 $@
-
-##############################################
-
-_clean_:
- -rm -r $(TARGETPATH)
- -rm -r $(OBJPATH)
-
-##############################################
-
-# Attention: $@ doesn't work for paths with spaces....
-$(INSTPATH):
- -mkdir -p $(INSTPATH)
-
-_install_:: $(INSTPATH)
- cp -R $(INSTTARGET) $(INSTPATH)
+# build class specific settings
+
+INCPATH += -I$(FLEXTINC)
+LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
+LIBS += -l$(FLEXTNAME)
+
+# obviously header precompilation os still buggy with gcc 3.3
+
+ifdef PRECOMPILE
+#PRECOMSRC=$(SRCDIR)/$(PRECOMPILE)
+else
+#PRECOMSRC=$(FLEXTINC)/flext.h
+endif
+ifdef PRECOMSRC
+PRECOMDST=$(OBJPATH)/$(notdir $(PRECOMSRC)).gch
+PRECOMINC = -include $(OBJPATH)/$(notdir $(PRECOMSRC))
+endif
+
+##############################################
+
+CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
+CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
+COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
+CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
+ touch $@
+
+# Attention: $@ doesn't work for paths with spaces....
+$(OBJPATH):
+ -mkdir -p $(OBJPATH)
+
+# Attention: $@ doesn't work for paths with spaces....
+$(TARGETPATH):
+ -mkdir -p $(TARGETPATH)
+
+$(PRECOMDST) : $(PRECOMSRC) $(patsubst %,$(SRCDIR)/%,$(HDRS))
+ $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $(PRECOMSRC) -o $@
+
+$(OBJPATH)/%.opp : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS) $(DEFS) $(PRECOMINC) $(INCPATH) $< -o $@
+
+$(OBJPATH)/%.o : $(SRCDIR)/%.c
+ $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGET) :: $(OBJPATH) $(TARGETPATH)
+
+$(TARGET) :: $(PRECOMDST) $(COBJS) $(CPPOBJS)
+ $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ chmod 755 $@
+
+##############################################
+
+_clean_:
+ -rm -r $(TARGETPATH)
+ -rm -r $(OBJPATH)
+
+##############################################
+
+# Attention: $@ doesn't work for paths with spaces....
+$(INSTPATH):
+ -mkdir -p $(INSTPATH)
+
+_install_:: $(INSTPATH)
+ cp -R $(INSTTARGET) $(INSTPATH)
diff --git a/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc b/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc
index b7c0ef8e..44b6f6fe 100644
--- a/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc
+++ b/externals/grill/flext/buildsys/mac/gnumake-gcc-flext.inc
@@ -1,77 +1,77 @@
-# build class specific settings
-
-ifdef SHARED
-#LDFLAGS += -dylib_install_name $(FLEXTSHLIB)/$(OUTNAME).$(EXT)
-endif
-
-##############################################
-
-CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
-CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
-COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
-CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
-
-# default target
-_build_: $(TARGET)
-
-$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
- touch $@
-
-$(OBJPATH):
- -mkdir -p $@
-
-$(TARGETPATH):
- -mkdir -p $@
-
-ifdef PRECOMPILE
-PRECOMSRC=$(SRCDIR)/$(PRECOMPILE)
-PRECOMDST=$(OBJPATH)/$(notdir $(PRECOMSRC)).gch
-PRECOMINC = -include $(OBJPATH)/$(notdir $(PRECOMSRC))
-endif
-
-$(PRECOMDST): $(PRECOMSRC) $(patsubst %,$(SRCDIR)/%,$(HDRS))
- $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $(PRECOMSRC) -o $@
-
-$(OBJPATH)/%.opp : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(DEFS) $(PRECOMINC) $(INCPATH) $< -o $@
-
-$(OBJPATH)/%.o : $(SRCDIR)/%.c
- $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGET) :: $(OBJPATH) $(TARGETPATH)
-
-$(TARGET) :: $(PRECOMDST) $(COBJS) $(CPPOBJS)
-ifdef SHARED
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
- chmod 755 $@
-else
- libtool -static -o $@ $(COBJS) $(CPPOBJS)
-endif
-
-##############################################
-
-_clean_:
- -rm -r $(TARGETPATH)
- -rm -r $(OBJPATH)
-
-##############################################
-
-ifdef SHARED
-FLEXTLIBINST=$(FLEXTSHLIB)
-else
-FLEXTLIBINST=$(FLEXTLIB)
-endif
-
-$(FLEXTINC):
- -mkdir -p $@
-
-$(FLEXTLIBINST):
- -mkdir -p $@
-
-_install_: $(FLEXTINC) $(FLEXTLIBINST)
- install $(TARGET) $(FLEXTLIBINST)
-ifndef SHARED
-# have to rerun ranlib at install dir ?!
- ranlib $(FLEXTLIBINST)/$(notdir $(TARGET))
-endif
- install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
+# build class specific settings
+
+ifdef SHARED
+#LDFLAGS += -dylib_install_name $(FLEXTSHLIB)/$(OUTNAME).$(EXT)
+endif
+
+##############################################
+
+CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
+CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
+COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
+CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
+
+# default target
+_build_: $(TARGET)
+
+$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
+ touch $@
+
+$(OBJPATH):
+ -mkdir -p $@
+
+$(TARGETPATH):
+ -mkdir -p $@
+
+ifdef PRECOMPILE
+PRECOMSRC=$(SRCDIR)/$(PRECOMPILE)
+PRECOMDST=$(OBJPATH)/$(notdir $(PRECOMSRC)).gch
+PRECOMINC = -include $(OBJPATH)/$(notdir $(PRECOMSRC))
+endif
+
+$(PRECOMDST): $(PRECOMSRC) $(patsubst %,$(SRCDIR)/%,$(HDRS))
+ $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $(PRECOMSRC) -o $@
+
+$(OBJPATH)/%.opp : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS) $(DEFS) $(PRECOMINC) $(INCPATH) $< -o $@
+
+$(OBJPATH)/%.o : $(SRCDIR)/%.c
+ $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGET) :: $(OBJPATH) $(TARGETPATH)
+
+$(TARGET) :: $(PRECOMDST) $(COBJS) $(CPPOBJS)
+ifdef SHARED
+ $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ chmod 755 $@
+else
+ libtool -static -o $@ $(COBJS) $(CPPOBJS)
+endif
+
+##############################################
+
+_clean_:
+ -rm -r $(TARGETPATH)
+ -rm -r $(OBJPATH)
+
+##############################################
+
+ifdef SHARED
+FLEXTLIBINST=$(FLEXTSHLIB)
+else
+FLEXTLIBINST=$(FLEXTLIB)
+endif
+
+$(FLEXTINC):
+ -mkdir -p $@
+
+$(FLEXTLIBINST):
+ -mkdir -p $@
+
+_install_: $(FLEXTINC) $(FLEXTLIBINST)
+ install $(TARGET) $(FLEXTLIBINST)
+ifndef SHARED
+# have to rerun ranlib at install dir ?!
+ ranlib $(FLEXTLIBINST)/$(notdir $(TARGET))
+endif
+ install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
diff --git a/externals/grill/flext/buildsys/mac/max/config-gcc.def b/externals/grill/flext/buildsys/mac/max/config-gcc.def
index de6c6632..7f85903a 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=/Volumes/Daten/Prog/MaxMSP-SDK/4.5\ headers/c74support
+MAXSDKPATH=/Applications/MaxMSP\ 4.5/MaxMSP-SDK/4.5\ headers/c74support
###############################################################
@@ -21,8 +21,16 @@ OUTPATH=max-darwin
# where should the external be installed?
INSTPATH=/Library/Application\ Support/Cycling\ \'74/externals/flext
+# where should the initialization files be installed?
+INITPATH=/Library/Application\ Support/Cycling\ \'74/init
+
+# where should the help files be installed?
+HELPPATH=/Applications/MaxMSP\ 4.5/max-help/flext
+
###############################################################
# user defined compiler flags
# (check if they match your system!)
-OFLAGS=-O2 -mcpu=G4 -malign-natural -maltivec -faltivec
+OFLAGS=-O2
+# optimizations for G4
+#OFLAGS += -mcpu=G4 -malign-natural -maltivec -faltivec
diff --git a/externals/grill/flext/buildsys/mac/pd/config-gcc.def b/externals/grill/flext/buildsys/mac/pd/config-gcc.def
index 85a9d8bd..19198e92 100644
--- a/externals/grill/flext/buildsys/mac/pd/config-gcc.def
+++ b/externals/grill/flext/buildsys/mac/pd/config-gcc.def
@@ -1,5 +1,5 @@
# where is the PD installation including source code?
-PDPATH=/Applications/audio/Pd-0.38-0test13.app/Contents/Resources
+PDPATH=/Applications/audio/Pd-0.38-0.app/Contents/Resources
# where is the PD executable?
PDBIN=$(PDPATH)/bin/pd
@@ -27,4 +27,6 @@ INSTPATH=$(PDPATH)/extra
# user defined compiler flags
# (check if they match your system!)
-OFLAGS=-O2 -mcpu=G4 -malign-natural -maltivec -faltivec
+OFLAGS=-O2
+# optimizations for G4
+#OFLAGS += -mcpu=G4 -malign-natural -maltivec -faltivec
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 90b71f03..39ab2964 100644
--- a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc
@@ -1,3 +1,3 @@
-EXT=pd_darwin
+EXT=pd_darwin
LDFLAGS += -bundle -bundle_loader $(PDBIN)
diff --git a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-flext.inc b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-flext.inc
index 7aa9b3b5..17d6540d 100644
--- a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-flext.inc
+++ b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-flext.inc
@@ -1,7 +1,7 @@
-ifdef SHARED
-EXT=dylib
-else
-EXT=a
-endif
+ifdef SHARED
+EXT=dylib
+else
+EXT=a
+endif
LDFLAGS += -dynamiclib -flat_namespace -undefined suppress
diff --git a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc.inc b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc.inc
index f00d0569..b57e87c2 100644
--- a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc.inc
+++ b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc.inc
@@ -8,3 +8,5 @@ LIBPATH += -L$(PDPATH)/bin
OBJPATH=$(OUTPATH)/$(OUTSUB)
TARGETPATH=$(OBJPATH)
TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
+INSTTARGET=$(TARGET)
+
diff --git a/externals/grill/flext/buildsys/nmake-sub.mak b/externals/grill/flext/buildsys/nmake-sub.mak
index 1a69cbab..854e72de 100644
--- a/externals/grill/flext/buildsys/nmake-sub.mak
+++ b/externals/grill/flext/buildsys/nmake-sub.mak
@@ -18,44 +18,22 @@
!endif
##############################
-
-!ifndef TARGETMODE
-!ifdef DEBUG
-TARGETMODE=debug
-!else
-TARGETMODE=release
-!endif
-!endif
-
-!ifndef TARGETTYPE
-!ifdef SHARED
-TARGETTYPE=shared
-!else
-!ifdef THREADED
-TARGETTYPE=multi
-!else
-TARGETTYPE=single
-!endif
-!endif
-!endif
-
-##############################
# flext-specific definitions
-!include $(BUILDPATH)nmake-$(BUILDCLASS).inc
-
!include $(BUILDPATH)nmake.inc
+!include $(BUILDPATH)nmake-$(BUILDCLASS).inc
+
##############################
# platform-specific make stuff
-!include $(BUILDPATH)$(PLATFORM)\$(RTSYS)\nmake-$(COMPILER)-$(BUILDCLASS).inc
-
!include $(BUILDPATH)$(PLATFORM)\$(RTSYS)\nmake-$(COMPILER).inc
+!include $(BUILDPATH)$(PLATFORM)\$(RTSYS)\nmake-$(COMPILER)-$(BUILDCLASS).inc
+
##############################
# general make stuff
-!include $(BUILDPATH)$(PLATFORM)\nmake-$(COMPILER)-$(BUILDCLASS).inc
-
!include $(BUILDPATH)$(PLATFORM)\nmake-$(COMPILER).inc
+
+!include $(BUILDPATH)$(PLATFORM)\nmake-$(COMPILER)-$(BUILDCLASS).inc
diff --git a/externals/grill/flext/buildsys/nmake.inc b/externals/grill/flext/buildsys/nmake.inc
index 71c4c096..3f275b8f 100644
--- a/externals/grill/flext/buildsys/nmake.inc
+++ b/externals/grill/flext/buildsys/nmake.inc
@@ -49,4 +49,8 @@ FLEXTNAME=flext-$(RTSYS)_s
# product name and folder
##############################################
+!ifndef SRCDIR
+SRCDIR=.
+!endif
+
OUTSUB=$(TARGETMODE)-$(TARGETTYPE)
diff --git a/externals/grill/flext/buildsys/nmake.mak b/externals/grill/flext/buildsys/nmake.mak
index 78bd0ec0..5772d5a9 100644
--- a/externals/grill/flext/buildsys/nmake.mak
+++ b/externals/grill/flext/buildsys/nmake.mak
@@ -12,7 +12,9 @@
PKGINFO=package.txt
!endif
+!if "$(PKGINFO)" != ""
!include $(PKGINFO)
+!endif
###############################################
# check variables
@@ -31,13 +33,13 @@ BUILDTYPE=single
##############################
-!ifndef TARGETMODE
-TARGETMODE=$(BUILDMODE)
-!endif
+#!ifndef TARGETMODE
+#TARGETMODE=$(BUILDMODE)
+#!endif
-!ifndef TARGETTYPE
-TARGETTYPE=$(BUILDTYPE)
-!endif
+#!ifndef TARGETTYPE
+#TARGETTYPE=$(BUILDTYPE)
+#!endif
###############################################
diff --git a/externals/grill/flext/buildsys/readme.txt b/externals/grill/flext/buildsys/readme.txt
new file mode 100644
index 00000000..f1a93363
--- /dev/null
+++ b/externals/grill/flext/buildsys/readme.txt
@@ -0,0 +1,176 @@
+flext - C++ layer for Max/MSP and pd (pure data) externals
+
+Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
+For information on usage and redistribution, and for a DISCLAIMER OF ALL
+WARRANTIES, see the file, "license.txt," in this distribution.
+
+----------------------------------------------------------------------------
+
+At the moment this is more like a sketchboard, but i'll promise to bring some
+order into it some fine day in the not too distant future.
+
+----------------------------------------------------------------------------
+
+Build scripts
+=============
+
+Depending on platform the build process is run with
+build.sh
+or
+build.bat
+
+
+Arguments: PLATFORM SYSTEM COMPILER {TARGET} {definitions}
+
+PLATFORM: win / lnx / mac
+SYSTEM: pd / max
+COMPILER: msvc / gcc / mingw / cygwin / bcc / icc
+
+TARGET: (default is all)
+ all, build - build package in default style
+ install - install package
+ clean - clean build products
+
+ config - test if configuration needs refreshing
+
+or
+ build-MODE-TYPE
+ install-MODE-TYPE
+ clean-MODE-TYPE
+
+with
+ MODE: default, all, release, debug
+ TYPE: default, all, single, multi, shared
+
+
+Additional definitions can be passed to the make program
+like
+ "PKGINFO=info.txt" (defines new filename for package information)
+or
+ "PKGINFO=" (package information will be skipped - only for config target)
+
+For more macro names, see below
+
+
+For each of the supported combinations of PLATFORM, SYSTEM and COMPILER
+a MAKE program has been chosen, normally the one that comes with the compiler.
+
+For gcc it is GNU make (gnumake)
+For msvc it is Microsoft make (nmake)
+For bcc it is Borland make (bmake)
+
+
+
+Package info (package.txt)
+==========================
+
+Package information contains vital information for the build process.
+Obligatory are only:
+
+NAME: resulting filename of the build product
+SRCS: list of source files
+
+
+Normally also used are:
+
+HDRS: used header files, which SRCS files are dependent upon
+SRCDIR: source folder (relative to project folder), default is .
+
+
+Other settings:
+
+PRECOMPILE: prefix header file (in SRCDIR) for all source files,
+ will be precompiled if supported by the compiler
+
+BUILDCLASS: can currently be flext or ext, default is ext.
+ flext will build the flext system
+ ext will build a flext-based external
+
+BUILDMODE: release or debug, default is release
+ if release, optimization flags will be used
+ if debug, debug information will be generated
+
+BUILDTYPE: single, multi or shared, default is single
+ if single, it will be linked against the single-threaded static flext library
+ if multi, it will be linked against the multi-threaded static flext library
+ if shared, it will be linked against the shared flext library
+
+BUILDDIR: relative folder with additional build settings
+
+
+
+Additional build settings (BUILDDIR)
+====================================
+
+If BUILDDIR is defined, all PLATFORM-SYSTEM-COMPILER combinations to support
+must are mirrored by the respective .def and .inc files in the BUILDDIR.
+
+
+config-PLATFORM.def files (e.g. config-lnx.def) :
+
+ These files can contain additional macro definitions, that are private
+ to the project.
+ The definitions should be strictly in the form SETTING=value, without any
+ make-specific macros etc.
+ The .def files work as templates that get copied to a user-editable
+ config.txt file when the build process is first started.
+
+
+MAKE-PLATFORM-COMPILER.inc files
+(e.g. gnumake-lnx-gcc.inc or nmake-win-msvc.inc):
+
+ These files (which are no considered to be edited by the user) can contain
+ specific modifications to compiler flags, include file paths etc.
+
+ For gnumake this would e.g. be
+ INCPATH += -I/usr/local/include/python2.3
+
+ for nmake or bmake e.g.
+ INCPATH = $(INCPATH) -I"c:\program files\Python2.3\include"
+
+
+Structure of build system
+=========================
+
+The build system has several levels of information, which are evaluated in the
+following order (see also buildsys/MAKE-sub.mak)
+
+Project level:
+- PKGINFO file (e.g. package.txt)
+- USRCONFIG file (e.g. config.txt)
+- USRMAKE file (e.g. build/gnumake-lnx-gcc.inc)
+
+General definitions (in buildsys):
+
+- MAKE.inc (e.g. buildsys/gnumake.inc)
+ contains evaluation of flext library name, build directory etc.
+- MAKE-BUILDCLASS.inc (e.g. buildsys/gnumake-ext.inc)
+ contains some more flag settings
+
+Real-time-system-dependent definitions (in buildsys/PLATFORM/SYSTEM):
+
+- MAKE-COMPILER.inc (e.g. buildsys/lnx/pd/gnumake-gcc.inc)
+ contains general real-time-system dependent info (e.g. paths, FLEXT_SYS setting)
+- MAKE-COMPILER-BUILDCLASS.inc (e.g. buildsys/lnx/pd/gnumake-gcc-ext.inc)
+ contains specific real-time-system dependent info (e.g. extension of binary)
+
+Platform-dependent definitions (in buildsys/PLATFORM):
+
+- MAKE-COMPILER.inc (e.g. buildsys/lnx/gnumake-gcc.inc)
+ contains general platform-specific flags
+- MAKE-COMPILER-BUILDCLASS.inc (e.g. buildsys/lnx/gnumake-gcc-ext.inc)
+ contains the actual make targets (_build_,_clean_ and _install_)
+
+
+Macro names
+===============
+
+PKGINFO - filename for package information (must reside in project folder)
+
+CFLAGS - compiler flags
+LDFLAGS - linker flags
+
+INCPATH - include file path (must come with e.g. -I )
+LIBPATH - library path (must come with e.g. -L )
+
+LIBS - libraries to link in (must come with e.g. -l )
diff --git a/externals/grill/flext/buildsys/targets-ext.inc b/externals/grill/flext/buildsys/targets-ext.inc
index e69de29b..afab3086 100644
--- a/externals/grill/flext/buildsys/targets-ext.inc
+++ b/externals/grill/flext/buildsys/targets-ext.inc
@@ -0,0 +1,49 @@
+build-default-default: build-$(BUILDMODE)-$(BUILDTYPE)
+
+build-all-default: build-all-$(BUILDTYPE)
+
+build-release-default: build-release-$(BUILDTYPE)
+
+build-debug-default: build-debug-$(BUILDTYPE)
+
+build-default-all: build-$(BUILDMODE)-all
+
+build-default-single: build-$(BUILDMODE)-single
+
+build-default-multi: build-$(BUILDMODE)-multi
+
+build-default-shared: build-$(BUILDMODE)-shared
+
+
+install-default-default: install-$(BUILDMODE)-$(BUILDTYPE)
+
+install-all-default: install-all-$(BUILDTYPE)
+
+install-release-default: install-release-$(BUILDTYPE)
+
+install-debug-default: install-debug-$(BUILDTYPE)
+
+install-default-all: install-$(BUILDMODE)-all
+
+install-default-single: install-$(BUILDMODE)-single
+
+install-default-multi: install-$(BUILDMODE)-multi
+
+install-default-shared: install-$(BUILDMODE)-shared
+
+
+clean-default-default: clean-$(BUILDMODE)-$(BUILDTYPE)
+
+clean-all-default: clean-all-$(BUILDTYPE)
+
+clean-release-default: clean-release-$(BUILDTYPE)
+
+clean-debug-default: clean-debug-$(BUILDTYPE)
+
+clean-default-all: clean-$(BUILDMODE)-all
+
+clean-default-single: clean-$(BUILDMODE)-single
+
+clean-default-multi: clean-$(BUILDMODE)-multi
+
+clean-default-shared: clean-$(BUILDMODE)-shared
diff --git a/externals/grill/flext/buildsys/targets-flext.inc b/externals/grill/flext/buildsys/targets-flext.inc
index 6cf8208d..e16f2b86 100644
--- a/externals/grill/flext/buildsys/targets-flext.inc
+++ b/externals/grill/flext/buildsys/targets-flext.inc
@@ -1,29 +1,50 @@
build-default-default: build-all-all
+build-all-default: build-all-all
+
+build-release-default: build-release-all
+
+build-debug-default: build-debug-all
+
+build-default-all: build-all-all
+
+build-default-single: build-all-single
+
+build-default-multi: build-all-multi
+
+build-default-shared: build-all-shared
+
+
install-default-default: install-all-all
-clean-default-default: clean-all-all
+install-all-default: install-all-all
+
+install-release-default: install-release-all
+
+install-debug-default: install-debug-all
-###################################################
+install-default-all: install-all-all
-build-all-all: build-release-all build-debug-all
+install-default-single: install-all-single
-build-release-all: build-release-single build-release-multi build-release-shared
+install-default-multi: install-all-multi
-build-debug-all: build-debug-single build-debug-multi build-debug-shared
+install-default-shared: install-all-shared
+
+
+clean-default-default: clean-all-all
-###################################################
+clean-all-default: clean-all-all
-install-all-all: install-release-all install-debug-all
+clean-release-default: clean-release-all
-install-release-all: install-release-single install-release-multi install-release-shared
+clean-debug-default: clean-debug-all
-install-debug-all: install-debug-single install-debug-multi install-debug-shared
+clean-default-all: clean-all-all
-###################################################
+clean-default-single: clean-all-single
-clean-all-all: clean-release-all clean-debug-all
+clean-default-multi: clean-all-multi
-clean-release-all: clean-release-single clean-release-multi clean-release-shared
+clean-default-shared: clean-all-shared
-clean-debug-all: clean-debug-single clean-debug-multi clean-debug-shared
diff --git a/externals/grill/flext/buildsys/targets.inc b/externals/grill/flext/buildsys/targets.inc
index 0372392c..86cd3add 100644
--- a/externals/grill/flext/buildsys/targets.inc
+++ b/externals/grill/flext/buildsys/targets.inc
@@ -6,71 +6,105 @@ install: install-default-default
###########################################################
-build-default-default: build-$(TARGETMODE)-$(TARGETTYPE)
+build-all-all: build-release-all build-debug-all
-install-default-default: install-$(TARGETMODE)-$(TARGETTYPE)
+build-release-all: build-release-single build-release-multi build-release-shared
-clean-default-default: clean-$(TARGETMODE)-$(TARGETTYPE)
+build-debug-all: build-debug-single build-debug-multi build-debug-shared
+
+build-all-single: build-release-single build-debug-single
+
+build-all-multi: build-release-multi build-debug-multi
+
+build-all-shared: build-release-shared build-debug-shared
+
+###################################################
+
+install-all-all: install-release-all install-debug-all
+
+install-release-all: install-release-single install-release-multi install-release-shared
+
+install-debug-all: install-debug-single install-debug-multi install-debug-shared
+
+install-all-single: install-release-single install-debug-single
+
+install-all-multi: install-release-multi install-debug-multi
+
+install-all-shared: install-release-shared install-debug-shared
+
+###################################################
+
+clean-all-all: clean-release-all clean-debug-all
+
+clean-release-all: clean-release-single clean-release-multi clean-release-shared
+
+clean-debug-all: clean-debug-single clean-debug-multi clean-debug-shared
+
+clean-all-single: clean-release-single clean-debug-single
+
+clean-all-multi: clean-release-multi clean-debug-multi
+
+clean-all-shared: clean-release-shared clean-debug-shared
###########################################################
build-release-single: config
- $(MAKE) $(OPTIONS) _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _build_
build-debug-single: config
- $(MAKE) $(OPTIONS) DEBUG=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _build_
build-release-multi: config
- $(MAKE) $(OPTIONS) THREADED=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_
build-debug-multi: config
- $(MAKE) $(OPTIONS) THREADED=1 DEBUG=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _build_
build-release-shared: config
- $(MAKE) $(OPTIONS) SHARED=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _build_
build-debug-shared: config
- $(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 _build_
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _build_
###########################################################
-install-release-single:
- $(MAKE) $(OPTIONS) _install_
+install-release-single: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _install_
-install-debug-single:
- $(MAKE) $(OPTIONS) DEBUG=1 _install_
+install-debug-single: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _install_
-install-release-multi:
- $(MAKE) $(OPTIONS) THREADED=1 _install_
+install-release-multi: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _install_
-install-debug-multi:
- $(MAKE) $(OPTIONS) THREADED=1 DEBUG=1 _install_
+install-debug-multi: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _install_
-install-release-shared:
- $(MAKE) $(OPTIONS) SHARED=1 _install_
+install-release-shared: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _install_
-install-debug-shared:
- $(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 _install_
+install-debug-shared: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _install_
###########################################################
-clean-release-single:
- $(MAKE) $(OPTIONS) _clean_
+clean-release-single: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=single _clean_
-clean-debug-single:
- $(MAKE) $(OPTIONS) DEBUG=1 _clean_
+clean-debug-single: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=single DEBUG=1 _clean_
-clean-release-multi:
- $(MAKE) $(OPTIONS) THREADED=1 _clean_
+clean-release-multi: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=multi THREADED=1 _clean_
-clean-debug-multi:
- $(MAKE) $(OPTIONS) THREADED=1 DEBUG=1 _clean_
+clean-debug-multi: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=multi THREADED=1 DEBUG=1 _clean_
-clean-release-shared:
- $(MAKE) $(OPTIONS) SHARED=1 _clean_
+clean-release-shared: config
+ $(MAKE) $(OPTIONS) TARGETMODE=release TARGETTYPE=shared SHARED=1 _clean_
-clean-debug-shared:
- $(MAKE) $(OPTIONS) SHARED=1 DEBUG=1 _clean_
+clean-debug-shared: config
+ $(MAKE) $(OPTIONS) TARGETMODE=debug TARGETTYPE=shared SHARED=1 DEBUG=1 _clean_
###########################################################
diff --git a/externals/grill/flext/buildsys/win/bmake-bcc-ext.inc b/externals/grill/flext/buildsys/win/bmake-bcc-ext.inc
index 3a61d1be..ff26dc12 100644
--- a/externals/grill/flext/buildsys/win/bmake-bcc-ext.inc
+++ b/externals/grill/flext/buildsys/win/bmake-bcc-ext.inc
@@ -1,54 +1,53 @@
-# build class specific settings
-
-INCPATH=$(INCPATH) -I$(FLEXTINC)
-LIBPATH=$(LIBPATH) -L$(FLEXTLIB)
-LIBS=$(LIBS) $(FLEXTNAME).lib
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-$(OUTPATH):
- if not exist $@ mkdir $@ > nul
-
-$(TARGETPATH): $(OUTPATH)
- if not exist $@ mkdir $@ > nul
-
-SETUPFUNCTION=$(NAME)_setup
-
-$(TARGETPATH)\$(NAME).def: $(TARGETPATH)
- @echo EXPORTS $(SETUPFUNCTION) = _$(SETUPFUNCTION) > $@
-# this next line fixes a strange problem with implib - lacking underscore?!
- @echo IMPORTS _rtext_retext=PD.rtext_retext >> $@
-
-$(TARGET) :: $(TARGETPATH)\$(NAME).def
-
-{$(SRCDIR)}.cpp{}.obj:
- bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(TARGETPATH) $<
-
-{$(SRCDIR)}.c{}.obj:
- bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(TARGETPATH) $<
-
-$(TARGET) :: $(TARGETPATH)
-
-$(TARGET) :: $(OBJS)
- @cd $(TARGETPATH)
- ilink32 $(LDFLAGS) $(LIBPATH) -L. $(OBJS) ,$(<F),,$(LIBS),$(NAME).def
- @cd ..\..
-
-##############################################
-# remove build
-
-_clean_:
- -del /q $(TARGET) > nul
- -cd $(TARGETPATH)
- -del /q $(OBJS) > nul
-
-##############################################
-
-$(INSTPATH):
- if not exist $@ mkdir $@ > nul
-
-_install_: $(INSTPATH)
- copy $(TARGET) $(INSTPATH) > nul
+# build class specific settings
+
+INCPATH=$(INCPATH) -I$(FLEXTINC)
+LIBPATH=$(LIBPATH) -L$(FLEXTLIB)
+LIBS=$(LIBS) $(FLEXTNAME).lib
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+$(OUTPATH):
+ if not exist $@ mkdir $@ > nul
+
+$(TARGETPATH): $(OUTPATH)
+ if not exist $@ mkdir $@ > nul
+
+SETUPFUNCTION=$(NAME)_setup
+
+$(TARGETPATH)\$(NAME).def: $(TARGETPATH)
+ @echo EXPORTS $(SETUPFUNCTION) = _$(SETUPFUNCTION) > $@
+# this next line fixes a strange problem with implib - lacking underscore?!
+ @echo IMPORTS _rtext_retext=PD.rtext_retext >> $@
+
+$(TARGET) :: $(TARGETPATH)\$(NAME).def
+
+{$(SRCDIR)}.cpp{}.obj:
+ bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(TARGETPATH) $<
+
+{$(SRCDIR)}.c{}.obj:
+ bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(TARGETPATH) $<
+
+$(TARGET) :: $(TARGETPATH)
+
+$(TARGET) :: $(OBJS)
+ @cd $(TARGETPATH)
+ ilink32 $(LDFLAGS) $(LIBPATH) -L. $(OBJS) ,$(<F),,$(LIBS),$(NAME).def
+ @cd ..\..
+
+##############################################
+# remove build
+
+_clean_:
+ -del /q $(TARGETPATH)\*.* > nul
+ -rmdir /q $(TARGETPATH) > nul
+
+##############################################
+
+$(INSTPATH):
+ if not exist $@ mkdir $@ > nul
+
+_install_: $(INSTPATH)
+ copy $(TARGET) $(INSTPATH) > nul
diff --git a/externals/grill/flext/buildsys/win/bmake-bcc-flext.inc b/externals/grill/flext/buildsys/win/bmake-bcc-flext.inc
index a0486cf6..8dfb224e 100644
--- a/externals/grill/flext/buildsys/win/bmake-bcc-flext.inc
+++ b/externals/grill/flext/buildsys/win/bmake-bcc-flext.inc
@@ -1,84 +1,70 @@
-# build class specific settings
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-$(OUTPATH):
- if not exist $@ mkdir $@ > nul
-
-$(TARGETPATH): $(OUTPATH)
- if not exist $@ mkdir $@ > nul
-
-{$(SRCDIR)}.cpp{}.obj:
- bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(TARGETPATH) $<
-
-{$(SRCDIR)}.c{}.obj:
- bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(TARGETPATH) $<
-
-
-$(TARGETPATH)\pd.lib : $(PDPATH)\bin\pd.dll
- implib -a $< $**
-
-$(TARGETPATH)\pthreadVC.lib : $(PDPATH)\bin\pthreadVC.dll
- implib -a $< $**
-
-PDTARGETS=$(TARGETPATH)\pd.lib $(TARGETPATH)\pthreadVC.lib
-
-
-$(TARGET) :: $(TARGETPATH) $(PDTARGETS)
-
-$(TARGET) :: $(OBJS)
- @cd $(TARGETPATH)
-!ifdef SHARED
- ilink32 $(LDFLAGS) $(LIBPATH) -L. $(OBJS) ,$(<F),,$(LIBS)
- implib -a $(<B).lib $(<F)
-!else
- -del $(<F)
- tlib "$(<F)" +$(OBJS: = +)
-!endif
- @cd ..\..
-
-##############################################
-
-_clean_:
- -del /q $(TARGET) > nul
- -cd $(TARGETPATH)
- -del /q $(OBJS) > nul
-
-##############################################
-
-!ifdef SHARED
-FLEXTLIBINST=$(FLEXTSHLIB)
-!else
-FLEXTLIBINST=$(FLEXTLIB)
-!endif
-
-$(FLEXTINC):
- if not exist $@ mkdir $@ > nul
-
-!if "$(FLEXTINC)" != "$(FLEXTLIB)"
-$(FLEXTLIB):
- if not exist $@ mkdir $@ > nul
-
-_install_:: $(FLEXTLIB)
-!endif
-
-!if "$(FLEXTLIBINST)" != "$(FLEXTLIB)" && "$(FLEXTLIBINST)" != "$(FLEXTINC)"
-$(FLEXTLIBINST):
- if not exist $@ mkdir $@ > nul
-
-_install_:: $(FLEXTLIBINST)
-!endif
-
-_install_:: $(FLEXTINC)
- copy $(TARGET) $(FLEXTLIBINST) > nul
-!ifdef SHARED
-# copy import library
- copy $(TARGET:.dll=.lib) $(FLEXTLIB) > nul
-!endif
-# copy headers
- for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(FLEXTINC) > nul
-# copy import libraries
- for %%i in ($(PDTARGETS)) do @copy %%i $(FLEXTLIBINST) > nul
+# build class specific settings
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+$(OUTPATH):
+ if not exist $@ mkdir $@ > nul
+
+$(TARGETPATH): $(OUTPATH)
+ if not exist $@ mkdir $@ > nul
+
+{$(SRCDIR)}.cpp{}.obj:
+ bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(TARGETPATH) $<
+
+{$(SRCDIR)}.c{}.obj:
+ bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(TARGETPATH) $<
+
+
+$(TARGETPATH)\pd.lib : $(PDPATH)\bin\pd.dll
+ implib -a $< $**
+
+$(TARGETPATH)\pthreadVC.lib : $(PDPATH)\bin\pthreadVC.dll
+ implib -a $< $**
+
+PDTARGETS=$(TARGETPATH)\pd.lib $(TARGETPATH)\pthreadVC.lib
+
+
+$(TARGET) :: $(TARGETPATH) $(PDTARGETS)
+
+$(TARGET) :: $(OBJS)
+ @cd $(TARGETPATH)
+!ifdef SHARED
+ ilink32 $(LDFLAGS) $(LIBPATH) -L. $(OBJS) ,$(<F),,$(LIBS)
+ implib -a $(<B).lib $(<F)
+!else
+ -del $(<F)
+ tlib "$(<F)" +$(OBJS: = +)
+!endif
+ @cd ..\..
+
+##############################################
+
+_clean_:
+ -del /q $(TARGETPATH)\*.* > nul
+ -rmdir /q $(TARGETPATH) > nul
+
+##############################################
+
+!ifdef SHARED
+FLEXTLIBINST=$(FLEXTSHLIB)
+!else
+FLEXTLIBINST=$(FLEXTLIB)
+!endif
+
+_install_:
+ @if not exist $@ mkdir $(FLEXTINC) > nul
+ @if not exist $@ mkdir $(FLEXTLIB) > nul
+ @if not exist $@ mkdir $(FLEXTLIBINST) > nul
+
+ copy $(TARGET) $(FLEXTLIBINST) > nul
+!ifdef SHARED
+# copy import library
+ copy $(TARGET:.dll=.lib) $(FLEXTLIB) > nul
+!endif
+# copy headers
+ for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(FLEXTINC) > nul
+# copy import libraries
+ for %%i in ($(PDTARGETS)) do @copy %%i $(FLEXTLIB) > nul
diff --git a/externals/grill/flext/buildsys/win/bmake-bcc.inc b/externals/grill/flext/buildsys/win/bmake-bcc.inc
index dc9d6ae1..e852ea9a 100644
--- a/externals/grill/flext/buildsys/win/bmake-bcc.inc
+++ b/externals/grill/flext/buildsys/win/bmake-bcc.inc
@@ -1,41 +1,42 @@
-!ifdef BCCPATH
-INCPATH=$(INCPATH) -I$(BCCPATH)\include
-LIBPATH=$(LIBPATH) -L$(BCCPATH)\lib
-!endif
-
-##############################################
-
-TARGETPATH=$(OUTPATH)\$(OUTSUB)
-TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT)
-
-##############################################
-# use precompiled headers
-
-!ifndef PRECOMPILE
-CFLAGS=$(CFLAGS) -Hh=flext.h
-!else
-CFLAGS=$(CFLAGS) -Hh=$(PRECOMPILE)
-!endif
-# location of precompiled file
-CFLAGS=$(CFLAGS) -H=$(TARGETPATH)\precompiled.pch
-
-##############################################
-
-LIBS=$(LIBS) cw32.lib import32.lib C0D32.OBJ
-CFLAGS=$(CFLAGS) -tWD -tWM -w-8004 -w-8027 -w-8057
-LDFLAGS=$(LDFLAGS) /C /Tpd
-
-##############################################
-
-!ifdef DEBUG
-CFLAGS=$(CFLAGS) -v -D_DEBUG
-LDFLAGS=$(LDFLAGS) /v
-!else
-CFLAGS=$(CFLAGS) $(OFLAGS) -DNDEBUG
-!endif
-
-##############################################
-# convert both *.c and *.cpp
-
-OBJSTMP= $(SRCS:.c=.obj)
-OBJS= $(OBJSTMP:.objpp=.obj)
+!ifdef BCCPATH
+INCPATH=$(INCPATH) -I$(BCCPATH)\include
+LIBPATH=$(LIBPATH) -L$(BCCPATH)\lib
+!endif
+
+##############################################
+
+OBJPATH=$(OUTPATH)\$(OUTSUB)
+TARGETPATH=$(OBJPATH)
+TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT)
+
+##############################################
+# use precompiled headers
+
+!ifndef PRECOMPILE
+CFLAGS=$(CFLAGS) -Hh=flext.h
+!else
+CFLAGS=$(CFLAGS) -Hh=$(PRECOMPILE)
+!endif
+# location of precompiled file
+CFLAGS=$(CFLAGS) -H=$(OBJPATH)\precompiled.pch
+
+##############################################
+
+LIBS=$(LIBS) cw32.lib import32.lib C0D32.OBJ
+CFLAGS=$(CFLAGS) -tWD -tWM -w-8004 -w-8027 -w-8057
+LDFLAGS=$(LDFLAGS) /C /Tpd
+
+##############################################
+
+!ifdef DEBUG
+CFLAGS=$(CFLAGS) -v -D_DEBUG
+LDFLAGS=$(LDFLAGS) /v
+!else
+CFLAGS=$(CFLAGS) $(OFLAGS) -DNDEBUG
+!endif
+
+##############################################
+# convert both *.c and *.cpp
+
+OBJSTMP= $(SRCS:.c=.obj)
+OBJS= $(OBJSTMP:.objpp=.obj)
diff --git a/externals/grill/flext/buildsys/win/gnumake-cygwin-ext.inc b/externals/grill/flext/buildsys/win/gnumake-cygwin-ext.inc
index 95b3125d..91eff1ed 100644
--- a/externals/grill/flext/buildsys/win/gnumake-cygwin-ext.inc
+++ b/externals/grill/flext/buildsys/win/gnumake-cygwin-ext.inc
@@ -1,41 +1,42 @@
-# build class specific settings
-
-INCPATH += -I$(FLEXTINC)
-LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
-LIBS += -l$(FLEXTNAME)
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
- touch $@
-
-$(TARGETPATH):
- -mkdir -p $@
-
-$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGETPATH)/%.o : $(SRCDIR)/%.c
- $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGET) :: $(TARGETPATH)
-
-$(TARGET) :: $(COBJS) $(CPPOBJS)
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
- chmod 755 $@
-
-##############################################
-
-_clean_:
- rm $(COBJS) $(CPPOBJS) $(TARGET)
-
-##############################################
-
-$(INSTPATH):
- -mkdir -p $@
-
-_install_: $(INSTPATH)
- install $(TARGET) $(INSTPATH)
+# build class specific settings
+
+INCPATH += -I$(FLEXTINC)
+LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
+LIBS += -l$(FLEXTNAME)
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
+ touch $@
+
+$(TARGETPATH):
+ -mkdir -p $@
+
+$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGETPATH)/%.o : $(SRCDIR)/%.c
+ $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGET) :: $(TARGETPATH)
+
+$(TARGET) :: $(COBJS) $(CPPOBJS)
+ $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ strip --strip-unneeded $@
+ chmod 755 $@
+
+##############################################
+
+_clean_:
+ rm $(COBJS) $(CPPOBJS) $(TARGET)
+
+##############################################
+
+$(INSTPATH):
+ -mkdir -p $@
+
+_install_: $(INSTPATH)
+ install $(TARGET) $(INSTPATH)
diff --git a/externals/grill/flext/buildsys/win/gnumake-cygwin-flext.inc b/externals/grill/flext/buildsys/win/gnumake-cygwin-flext.inc
index 9b22d67c..ec55d6b8 100644
--- a/externals/grill/flext/buildsys/win/gnumake-cygwin-flext.inc
+++ b/externals/grill/flext/buildsys/win/gnumake-cygwin-flext.inc
@@ -1,51 +1,52 @@
-# build class specific settings
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
- touch $@
-
-$(TARGETPATH):
- -mkdir -p $@
-
-$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGETPATH)/%.o : $(SRCDIR)/%.c
- $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGET) :: $(TARGETPATH)
-
-$(TARGET) :: $(COBJS) $(CPPOBJS)
-ifdef SHARED
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
- chmod 755 $@
-else
- $(AR) rc $@ $(COBJS) $(CPPOBJS)
-endif
-
-##############################################
-
-_clean_:
- rm $(COBJS) $(CPPOBJS) $(TARGET)
-
-##############################################
-
-ifdef SHARED
-FLEXTLIBINST=$(FLEXTSHLIB)
-else
-FLEXTLIBINST=$(FLEXTLIB)
-endif
-
-$(FLEXTINC):
- -mkdir -p $@
-
-$(FLEXTLIBINST):
- -mkdir -p $@
-
-_install_: $(FLEXTINC) $(FLEXTLIBINST)
- install $(TARGET) $(FLEXTLIBINST)
- install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
+# build class specific settings
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
+ touch $@
+
+$(TARGETPATH):
+ -mkdir -p $@
+
+$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGETPATH)/%.o : $(SRCDIR)/%.c
+ $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGET) :: $(TARGETPATH)
+
+$(TARGET) :: $(COBJS) $(CPPOBJS)
+ifdef SHARED
+ $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ chmod 755 $@
+ strip --strip-unneeded $@
+else
+ $(AR) rc $@ $(COBJS) $(CPPOBJS)
+endif
+
+##############################################
+
+_clean_:
+ rm $(COBJS) $(CPPOBJS) $(TARGET)
+
+##############################################
+
+ifdef SHARED
+FLEXTLIBINST=$(FLEXTSHLIB)
+else
+FLEXTLIBINST=$(FLEXTLIB)
+endif
+
+$(FLEXTINC):
+ -mkdir -p $@
+
+$(FLEXTLIBINST):
+ -mkdir -p $@
+
+_install_: $(FLEXTINC) $(FLEXTLIBINST)
+ install $(TARGET) $(FLEXTLIBINST)
+ install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
diff --git a/externals/grill/flext/buildsys/win/gnumake-cygwin.inc b/externals/grill/flext/buildsys/win/gnumake-cygwin.inc
index 73425e5d..55022c36 100644
--- a/externals/grill/flext/buildsys/win/gnumake-cygwin.inc
+++ b/externals/grill/flext/buildsys/win/gnumake-cygwin.inc
@@ -1,11 +1,12 @@
##############################################
-TARGETPATH=$(OUTPATH)/$(OUTSUB)
+OBJPATH=$(OUTPATH)/$(OUTSUB)
+TARGETPATH=$(OBJPATH)
TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT)
##############################################
-LDFLAGS += -shared -Wl,-x
+LDFLAGS += -shared
##############################################
@@ -20,5 +21,5 @@ endif
CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
-COBJS=$(patsubst %.c,$(TARGETPATH)/%.o,$(filter %.c,$(SRCS)))
-CPPOBJS=$(patsubst %.cpp,$(TARGETPATH)/%.opp,$(filter %.cpp,$(SRCS)))
+COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
+CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc b/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc
index 6932ae5c..f8eea4ac 100644
--- a/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc
+++ b/externals/grill/flext/buildsys/win/gnumake-mingw-ext.inc
@@ -1,43 +1,50 @@
-# build class specific settings
-
-INCPATH += -I$(FLEXTINC)
-LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
-LIBS += -l$(FLEXTNAME)
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-#$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
-# touch $@
-
-$(OUTPATH):
- -mkdir $(subst /,\,$@)
-
-$(TARGETPATH): $(OUTPATH)
- -mkdir $(subst /,\,$@)
-
-$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGETPATH)/%.o : $(SRCDIR)/%.c
- $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGET) :: $(TARGETPATH)
-
-$(TARGET) :: $(COBJS) $(CPPOBJS)
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
-
-##############################################
-
-_clean_:
- -del $(subst /,\,$(COBJS) $(CPPOBJS) $(TARGET))
-
-##############################################
-
-$(INSTPATH):
- -mkdir $(subst /,\,$@)
-
-_install_: $(INSTPATH)
- copy $(subst /,\,$(TARGET) $(INSTPATH))
+# build class specific settings
+
+INCPATH += -I$(FLEXTINC)
+LIBPATH += -L$(FLEXTLIB) -L$(FLEXTSHLIB)
+
+ifdef SHARED
+LIBS += $(FLEXTSHLIB)/lib$(FLEXTNAME).dll
+else
+LIBS += -l$(FLEXTNAME)
+endif
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+#$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
+# touch $@
+
+$(OUTPATH):
+ -cmd /c "mkdir $(subst /,\,$@)"
+
+$(TARGETPATH): $(OUTPATH)
+ -cmd /c "mkdir $(subst /,\,$@)"
+
+$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGETPATH)/%.o : $(SRCDIR)/%.c
+ $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGET) :: $(TARGETPATH)
+
+$(TARGET) :: $(COBJS) $(CPPOBJS)
+ $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ -strip --strip-unneeded $@
+
+##############################################
+
+_clean_:
+ -cmd /c "del /q $(subst /,\,$(TARGETPATH)/*.*)" > nul
+ -cmd /c "rmdir /q $(subst /,\,$(TARGETPATH))" > nul
+
+##############################################
+
+$(INSTPATH):
+ -cmd /c "mkdir $(subst /,\,$@)"
+
+_install_: $(INSTPATH)
+ cmd /c "copy $(subst /,\,$(TARGET) $(INSTPATH))"
diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw-flext.inc b/externals/grill/flext/buildsys/win/gnumake-mingw-flext.inc
index 22a6bdfc..69b8afac 100644
--- a/externals/grill/flext/buildsys/win/gnumake-mingw-flext.inc
+++ b/externals/grill/flext/buildsys/win/gnumake-mingw-flext.inc
@@ -1,55 +1,57 @@
-# build class specific settings
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-#$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
-# touch $@
-
-$(OUTPATH):
- -mkdir $(subst /,\,$@)
-
-$(TARGETPATH): $(OUTPATH)
- -mkdir $(subst /,\,$@)
-
-$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGETPATH)/%.o : $(SRCDIR)/%.c
- $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
-
-$(TARGET) :: $(TARGETPATH)
-
-$(TARGET) :: $(COBJS) $(CPPOBJS)
-ifdef SHARED
- $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
-else
- $(AR) rc $@ $(COBJS) $(CPPOBJS)
-endif
-
-##############################################
-
-_clean_:
- -del $(subst /,\,$(COBJS) $(CPPOBJS) $(TARGET))
-
-##############################################
-
-ifdef SHARED
-FLEXTLIBINST=$(FLEXTSHLIB)
-else
-FLEXTLIBINST=$(FLEXTLIB)
-endif
-
-$(FLEXTINC):
- -mkdir $(subst /,\,$@)
-
-$(FLEXTLIBINST):
- -mkdir $(subst /,\,$@)
-
-_install_:: $(FLEXTINC) $(FLEXTLIBINST)
-
-_install_::
- copy $(subst /,\,$(TARGET) $(FLEXTLIBINST))
- -for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(subst /,\,$(FLEXTPATH)) > nul
+# build class specific settings
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+#$(CSRCS) $(CPPSRCS): $(patsubst %,$(SRCDIR)/%,$(HDRS))
+# touch $@
+
+$(OUTPATH):
+ -cmd /c "mkdir $(subst /,\,$@)"
+
+$(TARGETPATH): $(OUTPATH)
+ -cmd /c "mkdir $(subst /,\,$@)"
+
+$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
+ $(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGETPATH)/%.o : $(SRCDIR)/%.c
+ $(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
+
+$(TARGET) :: $(TARGETPATH)
+
+$(TARGET) :: $(COBJS) $(CPPOBJS)
+ifdef SHARED
+ $(CXX) $(LDFLAGS) $(LIBPATH) -o $@ $(COBJS) $(CPPOBJS) $(LIBS)
+ -strip --strip-unneeded $@
+else
+ $(AR) rc $@ $(COBJS) $(CPPOBJS)
+endif
+
+##############################################
+
+_clean_:
+ -cmd /c "del /q $(subst /,\,$(TARGETPATH)/*.*)" > nul
+ -cmd /c "rmdir /q $(subst /,\,$(TARGETPATH))" > nul
+
+##############################################
+
+ifdef SHARED
+FLEXTLIBINST=$(FLEXTSHLIB)
+else
+FLEXTLIBINST=$(FLEXTLIB)
+endif
+
+$(FLEXTINC):
+ -cmd /c "mkdir $(subst /,\,$@)"
+
+$(FLEXTLIBINST):
+ -cmd /c "mkdir $(subst /,\,$@)"
+
+_install_:: $(FLEXTINC) $(FLEXTLIBINST)
+
+_install_::
+ cmd /c "copy $(subst /,\,$(TARGET) $(FLEXTLIBINST))"
+ -cmd /c "for %i in ($(HDRS)) do @cmd /c copy $(SRCDIR)\%i $(subst /,\,$(FLEXTPATH))" > nul
diff --git a/externals/grill/flext/buildsys/win/gnumake-mingw.inc b/externals/grill/flext/buildsys/win/gnumake-mingw.inc
index 7a8aab9c..d32f93e6 100644
--- a/externals/grill/flext/buildsys/win/gnumake-mingw.inc
+++ b/externals/grill/flext/buildsys/win/gnumake-mingw.inc
@@ -1,11 +1,12 @@
##############################################
-TARGETPATH=$(OUTPATH)\$(OUTSUB)
+OBJPATH=$(OUTPATH)\$(OUTSUB)
+TARGETPATH=$(OBJPATH)
TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT)
##############################################
-LDFLAGS += -shared -Wl,-x
+LDFLAGS += -shared
##############################################
@@ -20,5 +21,5 @@ endif
CSRCS=$(patsubst %.c,$(SRCDIR)/%.c,$(filter %.c,$(SRCS)))
CPPSRCS=$(patsubst %.cpp,$(SRCDIR)/%.cpp,$(filter %.cpp,$(SRCS)))
-COBJS=$(patsubst %.c,$(TARGETPATH)/%.o,$(filter %.c,$(SRCS)))
-CPPOBJS=$(patsubst %.cpp,$(TARGETPATH)/%.opp,$(filter %.cpp,$(SRCS)))
+COBJS=$(patsubst %.c,$(OBJPATH)/%.o,$(filter %.c,$(SRCS)))
+CPPOBJS=$(patsubst %.cpp,$(OBJPATH)/%.opp,$(filter %.cpp,$(SRCS)))
diff --git a/externals/grill/flext/buildsys/win/max/config-mingw.def b/externals/grill/flext/buildsys/win/max/config-mingw.def
index d0ce64fa..2727fce6 100644
--- a/externals/grill/flext/buildsys/win/max/config-mingw.def
+++ b/externals/grill/flext/buildsys/win/max/config-mingw.def
@@ -1,10 +1,6 @@
# where are the Max/MSP SDK header files?
# you should have the latest version!
-MAXSDKPATH="c:/data/prog/audio/maxmspsdk_win/4.5 headers/c74support"
-
-# where is MS VC++?
-# (not necessary if the build is run with the compiler environment)
-# MSVCPATH=C:/Programme/Microsoft Visual Studio .NET 2003/Vc7
+MAXSDKPATH="%ProgramFiles%\MaxMSP 4.5/maxmspsdk_win/4.5 headers/c74support"
###############################################################
@@ -15,7 +11,8 @@ FLEXTINC="%CommonProgramFiles%/Cycling '74/flext"
FLEXTLIB=$(FLEXTINC)
# where do/should the flext shared libraries reside/be built?
-FLEXTSHLIB=$(FLEXTINC)
+# (a good place is the MaxMSP program folder)
+FLEXTSHLIB="%ProgramFiles%\MaxMSP 4.5"
###############################################################
@@ -26,8 +23,16 @@ OUTPATH=max-mingw
# where should the external be installed?
INSTPATH="%CommonProgramFiles%/Cycling '74/externals/flext"
+# where should the initialization files be installed?
+INITPATH="%CommonProgramFiles%/Cycling '74/init"
+
+# where should the help files be installed?
+HELPPATH="%ProgramFiles%/MaxMSP 4.5/max-help/flext"
+
###############################################################
# some user-definable flags
# (check if they match your system!)
-OFLAGS=-O2 -march=pentium4 -msse
+OFLAGS=-O2
+# optimizations for Pentium 4
+#OFLAGS += -march=pentium4 -msse
diff --git a/externals/grill/flext/buildsys/win/max/config-msvc.def b/externals/grill/flext/buildsys/win/max/config-msvc.def
index 1c849d32..f67b6b7f 100644
--- a/externals/grill/flext/buildsys/win/max/config-msvc.def
+++ b/externals/grill/flext/buildsys/win/max/config-msvc.def
@@ -1,10 +1,10 @@
# where are the Max/MSP SDK header files?
# you should have the latest version!
-MAXSDKPATH="c:\data\prog\audio\maxmspsdk_win\4.5 headers\c74support"
+MAXSDKPATH="%ProgramFiles%\MaxMSP 4.5\maxmspsdk_win\4.5 headers\c74support"
# where is MS VC++?
# (not necessary if the build is run with the compiler environment)
-# MSVCPATH=C:\Programme\Microsoft Visual Studio .NET 2003\Vc7
+# MSVCPATH="%ProgramFiles%\Microsoft Visual Studio .NET 2003\Vc7"
###############################################################
@@ -15,7 +15,8 @@ FLEXTINC="%CommonProgramFiles%\Cycling '74\flext"
FLEXTLIB=$(FLEXTINC)
# where do/should the flext shared libraries reside/be built?
-FLEXTSHLIB=$(FLEXTINC)
+# (a good place is the MaxMSP program folder)
+FLEXTSHLIB="%ProgramFiles%\MaxMSP 4.5"
###############################################################
@@ -26,11 +27,19 @@ OUTPATH=max-msvc
# where should the external be installed?
INSTPATH="%CommonProgramFiles%\Cycling '74\externals\flext"
+# where should the initialization files be installed?
+INITPATH="%CommonProgramFiles%\Cycling '74\init"
+
+# where should the help files be installed?
+HELPPATH="%ProgramFiles%\MaxMSP 4.5\max-help\flext"
+
###############################################################
# some user-definable flags
# (check if they match your system!)
-OFLAGS=/G6 /Ox /arch:SSE
+OFLAGS=/Ox
+# optimizations for Pentium 4
+#OFLAGS=$(OFLAGS) /G6 /arch:SSE
# uncomment to link against dynamic C runtime libraries
# (don't use this if you want to distribute the built product)
diff --git a/externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc b/externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc
index 5df7e2f2..04e59462 100644
--- a/externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc
+++ b/externals/grill/flext/buildsys/win/max/gnumake-mingw-ext.inc
@@ -1 +1 @@
-EXT=mxe
+EXT=mxe
diff --git a/externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc b/externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc
index da986e52..821d6fbc 100644
--- a/externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc
+++ b/externals/grill/flext/buildsys/win/max/gnumake-mingw-flext.inc
@@ -1,6 +1,6 @@
-ifdef SHARED
-EXT=dll
-else
-EXT=LIB
-endif
-
+ifdef SHARED
+EXT=dll
+else
+EXT=LIB
+endif
+
diff --git a/externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc b/externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc
index 5df7e2f2..04e59462 100644
--- a/externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc
+++ b/externals/grill/flext/buildsys/win/max/nmake-msvc-ext.inc
@@ -1 +1 @@
-EXT=mxe
+EXT=mxe
diff --git a/externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc b/externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc
index a080ae72..d30a7144 100644
--- a/externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc
+++ b/externals/grill/flext/buildsys/win/max/nmake-msvc-flext.inc
@@ -1,5 +1,5 @@
-!ifdef SHARED
-EXT=dll
-!else
-EXT=lib
-!endif
+!ifdef SHARED
+EXT=dll
+!else
+EXT=lib
+!endif
diff --git a/externals/grill/flext/buildsys/win/nmake-msvc-ext.inc b/externals/grill/flext/buildsys/win/nmake-msvc-ext.inc
index 252d5d2f..419c3276 100644
--- a/externals/grill/flext/buildsys/win/nmake-msvc-ext.inc
+++ b/externals/grill/flext/buildsys/win/nmake-msvc-ext.inc
@@ -1,45 +1,44 @@
-# build class specific settings
-
-INCPATH=$(INCPATH) /I$(FLEXTINC)
-LIBPATH=$(LIBPATH) /LIBPATH:$(FLEXTLIB)
-LIBS=$(LIBS) $(FLEXTNAME).lib
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-$(OUTPATH):
- if not exist $@ mkdir $@ > nul
-
-$(TARGETPATH): $(OUTPATH)
- if not exist $@ mkdir $@ > nul
-
-{$(SRCDIR)}.cpp{}.obj:
- cl /c $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(TARGETPATH)\$@
-
-{$(SRCDIR)}.c{}.obj:
- cl /c $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(TARGETPATH)\$@
-
-$(TARGET):: $(TARGETPATH)
-
-$(TARGET):: $(OBJS)
- @cd $(TARGETPATH)
- link /DLL $(LDFLAGS) $(LIBPATH) $(OBJS) $(LIBS) /out:$(@F)
- @cd ..\..
-
-##############################################
-# remove build
-
-_clean_:
- -del /q $(TARGET) > nul
- -cd $(TARGETPATH)
- -del /q $(OBJS) > nul
-
-##############################################
-
-$(INSTPATH):
- if not exist $@ mkdir $@ > nul
-
-_install_: $(INSTPATH)
- copy $(TARGET) $(INSTPATH) > nul
+# build class specific settings
+
+INCPATH=$(INCPATH) /I$(FLEXTINC)
+LIBPATH=$(LIBPATH) /LIBPATH:$(FLEXTLIB)
+LIBS=$(LIBS) $(FLEXTNAME).lib
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+$(OUTPATH):
+ if not exist $@ mkdir $@ > nul
+
+$(TARGETPATH): $(OUTPATH)
+ if not exist $@ mkdir $@ > nul
+
+{$(SRCDIR)}.cpp{}.obj:
+ cl /c $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(TARGETPATH)\$@
+
+{$(SRCDIR)}.c{}.obj:
+ cl /c $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(TARGETPATH)\$@
+
+$(TARGET):: $(TARGETPATH)
+
+$(TARGET):: $(OBJS)
+ @cd $(TARGETPATH)
+ link /DLL $(LDFLAGS) $(LIBPATH) $(OBJS) $(LIBS) /out:$(@F)
+ @cd ..\..
+
+##############################################
+# remove build
+
+_clean_:
+ -del /q $(TARGETPATH)\*.* > nul
+ -rmdir /q $(TARGETPATH) > nul
+
+##############################################
+
+$(INSTPATH):
+ if not exist $@ mkdir $@ > nul
+
+_install_: $(INSTPATH)
+ copy $(TARGET) $(INSTPATH) > nul
diff --git a/externals/grill/flext/buildsys/win/nmake-msvc-flext.inc b/externals/grill/flext/buildsys/win/nmake-msvc-flext.inc
index 6c64d682..389533de 100644
--- a/externals/grill/flext/buildsys/win/nmake-msvc-flext.inc
+++ b/externals/grill/flext/buildsys/win/nmake-msvc-flext.inc
@@ -1,66 +1,65 @@
-# build class specific settings
-
-##############################################
-
-# default target
-_build_: $(TARGET)
-
-$(OUTPATH):
- if not exist $@ mkdir $@ > nul
-
-$(TARGETPATH): $(OUTPATH)
- if not exist $@ mkdir $@ > nul
-
-{$(SRCDIR)}.cpp{}.obj:
- cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(TARGETPATH)\$@
-
-{$(SRCDIR)}.c{}.obj:
- cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(TARGETPATH)\$@
-
-
-$(TARGET):: $(TARGETPATH)
-
-$(TARGET):: $(OBJS)
- @cd $(TARGETPATH)
-!ifdef SHARED
- link /DLL $(LDFLAGS) $(LIBPATH) $(OBJS) $(LIBS) /out:$(@F)
-!else
- lib /OUT:$(@F) $(OBJS)
-!endif
- @cd ..\..
-
-##############################################
-
-# remove build
-_clean_:
- -del /q $(TARGET) > nul
- -cd $(TARGETPATH)
- -del /q $(OBJS) > nul
-
-##############################################
-
-!ifdef SHARED
-FLEXTLIBINST=$(FLEXTSHLIB)
-!else
-FLEXTLIBINST=$(FLEXTLIB)
-!endif
-
-$(FLEXTINC):
- if not exist $@ mkdir $@ > nul
-
-$(FLEXTLIB):
- if not exist $@ mkdir $@ > nul
-
-$(FLEXTLIBINST):
- if not exist $@ mkdir $@ > nul
-
-_install_:: $(FLEXTINC) $(FLEXTLIB) $(FLEXTLIBINST)
-
-_install_::
- copy $(TARGET) $(FLEXTLIBINST) > nul
-!ifdef SHARED
-# copy import library
- copy $(TARGET:.dll=.lib) $(FLEXTLIB) > nul
-!endif
-# copy headers
- for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(FLEXTINC) > nul
+# build class specific settings
+
+##############################################
+
+# default target
+_build_: $(TARGET)
+
+$(OUTPATH):
+ if not exist $@ mkdir $@ > nul
+
+$(TARGETPATH): $(OUTPATH)
+ if not exist $@ mkdir $@ > nul
+
+{$(SRCDIR)}.cpp{}.obj:
+ cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(TARGETPATH)\$@
+
+{$(SRCDIR)}.c{}.obj:
+ cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(TARGETPATH)\$@
+
+
+$(TARGET):: $(TARGETPATH)
+
+$(TARGET):: $(OBJS)
+ @cd $(TARGETPATH)
+!ifdef SHARED
+ link /DLL $(LDFLAGS) $(LIBPATH) $(OBJS) $(LIBS) /out:$(@F)
+!else
+ lib /OUT:$(@F) $(OBJS)
+!endif
+ @cd ..\..
+
+##############################################
+
+# remove build
+_clean_:
+ -del /q $(TARGETPATH)\*.* > nul
+ -rmdir /q $(TARGETPATH) > nul
+
+##############################################
+
+!ifdef SHARED
+FLEXTLIBINST=$(FLEXTSHLIB)
+!else
+FLEXTLIBINST=$(FLEXTLIB)
+!endif
+
+$(FLEXTINC):
+ if not exist $@ mkdir $@ > nul
+
+$(FLEXTLIB):
+ if not exist $@ mkdir $@ > nul
+
+$(FLEXTLIBINST):
+ if not exist $@ mkdir $@ > nul
+
+_install_:: $(FLEXTINC) $(FLEXTLIB) $(FLEXTLIBINST)
+
+_install_::
+ copy $(TARGET) $(FLEXTLIBINST) > nul
+!ifdef SHARED
+# copy import library
+ copy $(TARGET:.dll=.lib) $(FLEXTLIB) > nul
+!endif
+# copy headers
+ for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(FLEXTINC) > nul
diff --git a/externals/grill/flext/buildsys/win/nmake-msvc.inc b/externals/grill/flext/buildsys/win/nmake-msvc.inc
index fb74a7bf..b8a51425 100644
--- a/externals/grill/flext/buildsys/win/nmake-msvc.inc
+++ b/externals/grill/flext/buildsys/win/nmake-msvc.inc
@@ -5,24 +5,21 @@ LIBPATH=$(LIBPATH) /LIBPATH:$(MSVCPATH)\lib
##############################################
-TARGETPATH=$(OUTPATH)\$(OUTSUB)
+OBJPATH=$(OUTPATH)\$(OUTSUB)
+TARGETPATH=$(OBJPATH)
TARGET=$(TARGETPATH)\$(OUTNAME).$(EXT)
##############################################
# use precompiled headers (automatic mode)
-!ifndef PRECOMPILE
-CFLAGS=$(CFLAGS) /YXflext.h
-!else
-CFLAGS=$(CFLAGS) /YX$(PRECOMPILE)
+!ifdef PRECOMPILE
+CFLAGS=$(CFLAGS) /YX$(PRECOMPILE) /Fp$(OBJPATH)\precompiled.pch
!endif
-# location of precompiled file
-CFLAGS=$(CFLAGS) /Fp$(TARGETPATH)\precompiled.pch
##############################################
# create code for DLL
-CFLAGS=$(CFLAGS) /LD /GD
+CFLAGS=$(CFLAGS) /LD
# enable exception handling
CFLAGS=$(CFLAGS) /GX
diff --git a/externals/grill/flext/buildsys/win/pd/bmake-bcc-ext.inc b/externals/grill/flext/buildsys/win/pd/bmake-bcc-ext.inc
index b2234c5b..26bcf06e 100644
--- a/externals/grill/flext/buildsys/win/pd/bmake-bcc-ext.inc
+++ b/externals/grill/flext/buildsys/win/pd/bmake-bcc-ext.inc
@@ -1 +1 @@
-EXT=dll
+EXT=dll
diff --git a/externals/grill/flext/buildsys/win/pd/bmake-bcc-flext.inc b/externals/grill/flext/buildsys/win/pd/bmake-bcc-flext.inc
index a080ae72..d30a7144 100644
--- a/externals/grill/flext/buildsys/win/pd/bmake-bcc-flext.inc
+++ b/externals/grill/flext/buildsys/win/pd/bmake-bcc-flext.inc
@@ -1,5 +1,5 @@
-!ifdef SHARED
-EXT=dll
-!else
-EXT=lib
-!endif
+!ifdef SHARED
+EXT=dll
+!else
+EXT=lib
+!endif
diff --git a/externals/grill/flext/buildsys/win/pd/config-bcc.def b/externals/grill/flext/buildsys/win/pd/config-bcc.def
index 285e5b02..e473c6a7 100644
--- a/externals/grill/flext/buildsys/win/pd/config-bcc.def
+++ b/externals/grill/flext/buildsys/win/pd/config-bcc.def
@@ -1,8 +1,8 @@
# where is PD?
-PDPATH=c:\programme\audio\pd
+PDPATH="c:\program files\pd"
# where is BorlandC++?
-BCCPATH=C:\Programme\prog\bcc55
+BCCPATH="c:\program files\bcc55"
###############################################################
@@ -13,7 +13,7 @@ FLEXTINC=$(PDPATH)\flext
FLEXTLIB=$(FLEXTINC)
# where do/should the flext shared libraries reside/be built?
-FLEXTSHLIB=$(FLEXTINC)
+FLEXTSHLIB=$(PDPATH)\bin
###############################################################
@@ -28,4 +28,3 @@ INSTPATH=$(PDPATH)\extra
# user defined compiler flags
# (check if they match your system!)
OFLAGS=-6 -O2 -OS -ff -d
-
diff --git a/externals/grill/flext/buildsys/win/pd/config-cygwin.def b/externals/grill/flext/buildsys/win/pd/config-cygwin.def
index 11bca921..980ebc77 100644
--- a/externals/grill/flext/buildsys/win/pd/config-cygwin.def
+++ b/externals/grill/flext/buildsys/win/pd/config-cygwin.def
@@ -1,5 +1,5 @@
# where is PD?
-PDPATH=/cygdrive/c/programme/audio/pd
+PDPATH=/cygdrive/c/programme/pd
###############################################################
@@ -10,7 +10,7 @@ FLEXTINC=$(PDPATH)/flext
FLEXTLIB=$(FLEXTINC)
# where do/should the flext shared libraries reside/be built?
-FLEXTSHLIB=$(FLEXTINC)
+FLEXTSHLIB=$(PDPATH)/bin
###############################################################
@@ -24,4 +24,6 @@ INSTPATH=$(PDPATH)/extra
# user defined compiler flags
# (check if they match your system!)
-OFLAGS=-O2 -march=pentium4 -msse
+OFLAGS=-O2
+# optimizations for Pentium 4
+#OFLAGS += -march=pentium4 -msse
diff --git a/externals/grill/flext/buildsys/win/pd/config-mingw.def b/externals/grill/flext/buildsys/win/pd/config-mingw.def
index 7b720f58..9a65dfd9 100644
--- a/externals/grill/flext/buildsys/win/pd/config-mingw.def
+++ b/externals/grill/flext/buildsys/win/pd/config-mingw.def
@@ -1,16 +1,16 @@
# where is PD?
-PDPATH=c:/programme/audio/pd
+PDPATH="%ProgramFiles%\pd"
###############################################################
# where do/should the flext headers reside/be built?
-FLEXTINC=$(PDPATH)/flext
+FLEXTINC=$(PDPATH)\flext
# where do/should the flext static libraries reside/be built?
FLEXTLIB=$(FLEXTINC)
# where do/should the flext shared libraries reside/be built?
-FLEXTSHLIB=$(FLEXTINC)
+FLEXTSHLIB=$(PDPATH)\bin
###############################################################
@@ -18,10 +18,12 @@ FLEXTSHLIB=$(FLEXTINC)
OUTPATH=pd-mingw
# where should the external be installed?
-INSTPATH=$(PDPATH)/extra
+INSTPATH=$(PDPATH)\extra
###############################################################
# user defined compiler flags
# (check if they match your system!)
-OFLAGS=-O2 -march=pentium4 -msse
+OFLAGS=-O2
+# optimizations for Pentium 4
+#OFLAGS += -march=pentium4 -msse
diff --git a/externals/grill/flext/buildsys/win/pd/config-msvc.def b/externals/grill/flext/buildsys/win/pd/config-msvc.def
index a7171ff2..7d808765 100644
--- a/externals/grill/flext/buildsys/win/pd/config-msvc.def
+++ b/externals/grill/flext/buildsys/win/pd/config-msvc.def
@@ -1,9 +1,9 @@
# where is PD?
-PDPATH=c:\programme\audio\pd
+PDPATH="%ProgramFiles%\pd"
# where is MS VC++?
# (not necessary if the build is run with the compiler environment)
-# MSVCPATH=C:\Programme\Microsoft Visual Studio .NET 2003\Vc7
+# MSVCPATH="%ProgramFiles%\Microsoft Visual Studio .NET 2003\Vc7"
###############################################################
@@ -14,7 +14,7 @@ FLEXTINC=$(PDPATH)\flext
FLEXTLIB=$(FLEXTINC)
# where do/should the flext shared libraries reside/be built?
-FLEXTSHLIB=$(FLEXTINC)
+FLEXTSHLIB=$(PDPATH)\bin
###############################################################
@@ -29,7 +29,9 @@ INSTPATH=$(PDPATH)\extra
# user defined compiler flags
# (check if they match your system!)
-OFLAGS=/G6 /Ox /arch:SSE
+OFLAGS=/Ox
+# optimizations for Pentium 4
+#OFLAGS=$(OFLAGS) /G6 /arch:SSE
# uncomment to link against dynamic C runtime libraries
# (don't use this if you want to distribute the built product)
diff --git a/externals/grill/flext/buildsys/win/pd/gnumake-cygwin-ext.inc b/externals/grill/flext/buildsys/win/pd/gnumake-cygwin-ext.inc
index b2234c5b..26bcf06e 100644
--- a/externals/grill/flext/buildsys/win/pd/gnumake-cygwin-ext.inc
+++ b/externals/grill/flext/buildsys/win/pd/gnumake-cygwin-ext.inc
@@ -1 +1 @@
-EXT=dll
+EXT=dll
diff --git a/externals/grill/flext/buildsys/win/pd/gnumake-cygwin-flext.inc b/externals/grill/flext/buildsys/win/pd/gnumake-cygwin-flext.inc
index 5c8a7a83..e64eb6c5 100644
--- a/externals/grill/flext/buildsys/win/pd/gnumake-cygwin-flext.inc
+++ b/externals/grill/flext/buildsys/win/pd/gnumake-cygwin-flext.inc
@@ -1,5 +1,5 @@
-ifdef SHARED
-EXT=dll
-else
-EXT=a
-endif
+ifdef SHARED
+EXT=dll
+else
+EXT=a
+endif
diff --git a/externals/grill/flext/buildsys/win/pd/gnumake-cygwin.inc b/externals/grill/flext/buildsys/win/pd/gnumake-cygwin.inc
index 054526c0..017635ae 100644
--- a/externals/grill/flext/buildsys/win/pd/gnumake-cygwin.inc
+++ b/externals/grill/flext/buildsys/win/pd/gnumake-cygwin.inc
@@ -3,7 +3,7 @@ DEFS += -DFLEXT_SYS=2
INCPATH += -I$(PDPATH)/src
# trick PD in a way that only the cygwin pthread headers are used
-CFLAGS += -include /usr/include/pthread.h -DPTHREAD_H
+CFLAGS += -include /usr/include/sched.h -include /usr/include/pthread.h -DPTHREAD_H
LIBS += $(PDPATH)/bin/pd.dll
#LIBS += $(PDPATH)/bin/pthreadVC.dll
diff --git a/externals/grill/flext/buildsys/win/pd/gnumake-mingw-ext.inc b/externals/grill/flext/buildsys/win/pd/gnumake-mingw-ext.inc
index b2234c5b..26bcf06e 100644
--- a/externals/grill/flext/buildsys/win/pd/gnumake-mingw-ext.inc
+++ b/externals/grill/flext/buildsys/win/pd/gnumake-mingw-ext.inc
@@ -1 +1 @@
-EXT=dll
+EXT=dll
diff --git a/externals/grill/flext/buildsys/win/pd/gnumake-mingw-flext.inc b/externals/grill/flext/buildsys/win/pd/gnumake-mingw-flext.inc
index 5c8a7a83..e64eb6c5 100644
--- a/externals/grill/flext/buildsys/win/pd/gnumake-mingw-flext.inc
+++ b/externals/grill/flext/buildsys/win/pd/gnumake-mingw-flext.inc
@@ -1,5 +1,5 @@
-ifdef SHARED
-EXT=dll
-else
-EXT=a
-endif
+ifdef SHARED
+EXT=dll
+else
+EXT=a
+endif
diff --git a/externals/grill/flext/buildsys/win/pd/nmake-msvc-ext.inc b/externals/grill/flext/buildsys/win/pd/nmake-msvc-ext.inc
index b2234c5b..26bcf06e 100644
--- a/externals/grill/flext/buildsys/win/pd/nmake-msvc-ext.inc
+++ b/externals/grill/flext/buildsys/win/pd/nmake-msvc-ext.inc
@@ -1 +1 @@
-EXT=dll
+EXT=dll
diff --git a/externals/grill/flext/buildsys/win/pd/nmake-msvc-flext.inc b/externals/grill/flext/buildsys/win/pd/nmake-msvc-flext.inc
index a080ae72..d30a7144 100644
--- a/externals/grill/flext/buildsys/win/pd/nmake-msvc-flext.inc
+++ b/externals/grill/flext/buildsys/win/pd/nmake-msvc-flext.inc
@@ -1,5 +1,5 @@
-!ifdef SHARED
-EXT=dll
-!else
-EXT=lib
-!endif
+!ifdef SHARED
+EXT=dll
+!else
+EXT=lib
+!endif
diff --git a/externals/grill/flext/changes.txt b/externals/grill/flext/changes.txt
index 37fa5d91..e6f28711 100644
--- a/externals/grill/flext/changes.txt
+++ b/externals/grill/flext/changes.txt
@@ -13,7 +13,7 @@ Donations for further development of the package are highly appreciated.
Version history:
-0.4.8:
+0.5.0:
- fixes for 64 bit builds (size_t is integer type of pointer size)
- finally added a autoconf system (many many thanks to Tim Blechmann)
- more character escapes for attribute editor
@@ -321,16 +321,10 @@ Porting to new compilers/platforms:
TODO list:
-for 0.4.8:
-- SIMD for gcc
-- Max/MSP MachO support
-
-for 0.5.0:
- optimizations for object initialization and messaging
+- SIMD for gcc
bugs:
-- recreation of object with different argument line forgets about eventually present attributes
-
- can't use MFC libraries because of global new and delete overloadings
TEST:
diff --git a/externals/grill/flext/configure.ac b/externals/grill/flext/configure.ac
index e8e53e13..bd811b23 100755
--- a/externals/grill/flext/configure.ac
+++ b/externals/grill/flext/configure.ac
@@ -6,7 +6,7 @@ dnl
dnl flext API version (current:release:age)
API_VERSION=0:0:0
-AC_INIT([flext],[0.4.7],[gr@grrrr.org],[flext])
+AC_INIT([flext],[0.5.0],[gr@grrrr.org],[flext])
AM_INIT_AUTOMAKE(1.8)
diff --git a/externals/grill/flext/flext.doxy b/externals/grill/flext/flext.doxy
index f0ea6a92..031f95cf 100644
--- a/externals/grill/flext/flext.doxy
+++ b/externals/grill/flext/flext.doxy
@@ -4,8 +4,8 @@
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = flext
-PROJECT_NUMBER = "version 0.4.7"
-OUTPUT_DIRECTORY = c:/data/prog/max/flext/doc/
+PROJECT_NUMBER = "version 0.5.0"
+OUTPUT_DIRECTORY = c:/data/pdmax/flext/doc/
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = YES
BRIEF_MEMBER_DESC = YES
@@ -62,7 +62,7 @@ WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
-INPUT = F:/prog/max/flext/source/
+INPUT = c:/data/pdmax/flext/source/
FILE_PATTERNS =
RECURSIVE = NO
EXCLUDE =
diff --git a/externals/grill/flext/license.txt b/externals/grill/flext/license.txt
index 190802c2..9488294f 100644
--- a/externals/grill/flext/license.txt
+++ b/externals/grill/flext/license.txt
@@ -1,5 +1,5 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (C) 2001-2003 Thomas Grill
+Copyright (C) 2001-2005 Thomas Grill
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -16,34 +16,4 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
In the official flext distribution, the GNU General Public License is
-in the file gpl.txt
-
----------------------------------------------------------
-
- OTHER COPYRIGHT NOTICES
-
----------------------------------------------------------
-This package uses a lot of code from GEM by Mark Danks
-See the license text below:
-
---- GEM --------------------------------------
-GEM - Graphics Environment for Multimedia
-Copyright (C) 1997-2000 Mark Danks
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-In the official GEM distribution, the GNU General Public License is
-in the file GnuGPL.LICENSE
-
+in the file gpl.txt \ No newline at end of file
diff --git a/externals/grill/flext/package.txt b/externals/grill/flext/package.txt
index 826b085b..93ac0447 100644
--- a/externals/grill/flext/package.txt
+++ b/externals/grill/flext/package.txt
@@ -1,29 +1,45 @@
-NAME=flext
-
-BUILDCLASS=flext
-BUILDMODE=all
-BUILDTYPE=all
+#
+# flext - C++ layer for Max/MSP and pd (pure data) externals
+#
+# Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
+# For information on usage and redistribution, and for a DISCLAIMER OF ALL
+# WARRANTIES, see the file, "license.txt," in this distribution.
+#
+# more information on http://grrrr.org/ext
+# ------------------------------------------------------------------------
+#
+# This file contains information for the building process
+#
+# DO NOT EDIT!!
+#
+# ------------------------------------------------------------------------
+
+NAME=flext
+
+BUILDCLASS=flext
+BUILDMODE=all
+BUILDTYPE=all
SRCDIR=source
-PRECOMPILE=flext.h
-
-SRCS= \
- flbase.cpp flext.cpp flbuf.cpp fldsp.cpp fllib.cpp \
- flxlet.cpp flattr.cpp flattr_ed.cpp flsupport.cpp \
- flutil.cpp flatom.cpp flatom_pr.cpp flthr.cpp fltimer.cpp flsimd.cpp flout.cpp \
- flatom_app.cpp flatom_part.cpp flitem.cpp flmeth.cpp flmsg.cpp \
- flproxy.cpp flqueue.cpp flbind.cpp
-HDRS= \
- flprefix.h flstdc.h flbase.h flclass.h flext.h flsupport.h flmap.h fldsp.h flinternal.h \
- fldefs.h fldefs_hdr.h fldefs_setup.h \
- fldefs_methcb.h fldefs_meththr.h fldefs_methadd.h fldefs_methbind.h fldefs_methcall.h \
- fldefs_attrcb.h fldefs_attrvar.h fldefs_attradd.h
-
-
-SRCS_SNDOBJ=flsndobj.cpp
-HDRS_SNDOBJ=flsndobj.h
-
-SRCS_STK=flstk.cpp
-
-HDRS_STK=flstk.h
+PRECOMPILE=flext.h
+
+SRCS= \
+ flbase.cpp flext.cpp flbuf.cpp fldsp.cpp fllib.cpp \
+ flxlet.cpp flattr.cpp flattr_ed.cpp flsupport.cpp \
+ flutil.cpp flatom.cpp flatom_pr.cpp flthr.cpp fltimer.cpp flsimd.cpp flout.cpp \
+ flatom_app.cpp flatom_part.cpp flitem.cpp flmeth.cpp flmsg.cpp \
+ flproxy.cpp flqueue.cpp flbind.cpp
+HDRS= \
+ flprefix.h flstdc.h flbase.h flclass.h flext.h flsupport.h flmap.h fldsp.h flinternal.h \
+ fldefs.h fldefs_hdr.h fldefs_setup.h \
+ fldefs_methcb.h fldefs_meththr.h fldefs_methadd.h fldefs_methbind.h fldefs_methcall.h \
+ fldefs_attrcb.h fldefs_attrvar.h fldefs_attradd.h
+
+
+SRCS_SNDOBJ=flsndobj.cpp
+HDRS_SNDOBJ=flsndobj.h
+
+SRCS_STK=flstk.cpp
+
+HDRS_STK=flstk.h
diff --git a/externals/grill/flext/readme.txt b/externals/grill/flext/readme.txt
index 97c1f4b2..e0baf10c 100644
--- a/externals/grill/flext/readme.txt
+++ b/externals/grill/flext/readme.txt
@@ -1,6 +1,6 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
+Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
@@ -8,143 +8,78 @@ This package seeks to encourage the development of open source software
for the pd and Max/MSP platforms.
Donations for further development of the package are highly appreciated.
-Visit https://www.paypal.com/xclick/business=t.grill%40gmx.net&item_name=flext&no_note=1&tax=0&currency_code=EUR
+https://www.paypal.com/xclick/business=t.grill%40gmx.net&item_name=flext&no_note=1&tax=0&currency_code=EUR
----------------------------------------------------------------------------
-o for PD you need the pd source code (which is most likely part of the distribution)
- download from: http://www-crca.ucsd.edu/~msp/software.html
+Abstract:
-o for Max/MSP you will also need the Max/MSP SDK for OS9 (http://www.cycling74.com/products/dlmaxmsp.html)
- or OSX (http://www.cycling74.com/products/dlxmax.html)
- and for threading the Multiprocessing library (download at http://developer.apple.com/sdk/)
+flext seeks to represent a uniform programming interface for extending the most common
+modular real-time audio systems Max/MSP and Pure Data (PD) with external modules, or
+short externals. These modules provide a way to tailor such a system for one’s
+special needs and supply additional functionality.
-o if you choose to compile with SndObj support you will need the respective library
- download from: http://www.may.ie/academic/music/musictec/SndObj/main.html
+Source code based on flext is able to exploit nearly all features of the
+respective real-time framework while staying completely independent of the
+actual host system and platform (hardware and operating system).
-o if you choose to compile with STK support you will need the respective package and build a library
- download from: http://ccrma-www.stanford.edu/software/stk/
- For linking it may preferable to use a library of all the STK objects.
- Under linux you can create one from the STK directory with something like
- "g++ -c -pipe -I include -D __LINUX_OSS__ src/*.cpp && ar r libstk.a *.o && rm -f *.o"
+flext currently supports development for PD under Linux, Windows and OSX as well as
+Max/MSP under OS9, OSX and Windows with various programming environments.
----------------------------------------------------------------------------
+Goals/features of the package:
-BUILDING & INSTALLING:
-======================
-
-
-pd - Windows:
--------------
-o Microsoft Visual C++ 6 or 7:
- edit "config-pd-msvc.txt"
- start a dos-shell (cmd.exe) and set the compiler environment (vcvars32.bat)
- run "build-pd-msvc.bat"
-
-o Borland C++ 5.5 (free):
- edit "config-pd-bcc.txt" and run "build-pd-bcc.bat"
- BCC++ currently supports non-threaded static flext libraries only
-
-o Cygwin: edit "config-pd-cygwin.txt" & run "sh build-pd-cygwin.sh"
- additional settings (e.g. target processor, compiler flags) can be made in makefile.pd-cygwin
-
-o MinGW: edit "config-pd-mingw.txt" & run "build-pd-mingw.bat"
- the MinGW binaries have to be in the PATH
- additional settings (e.g. target processor, compiler flags) can be made in makefile.pd-mingw
- MinGW currently supports non-threaded static flext libraries only
-
-
-With your project using flext, be sure to define "FLEXT_SYS=2".
-
-
-pd - linux:
------------
-o GCC,ICC: edit "config-pd-linux.txt" & run "sh build-pd-linux.sh"
- additional settings (e.g. target processor, compiler flags) can be made in makefile.pd-linux
-
-Several variations of the flext library will be built: release and debug version of single-threaded and multi-threaded static libraries and of a multi-threaded shared library, respectively.
-These will be installed into the flext directory given in config-pd-linux.txt. For the shared libraries to be found, be sure to specify the flext folder in the /etc/ld.so.conf.
-
-
-With your project using flext, be sure to define "FLEXT_SYS=2".
-
-
-pd - MacOSX:
------------
-o GCC: edit "config-pd-darwin.txt" & run "sh build-pd-darwin.sh"
- additional settings (e.g. target processor, compiler flags) can be made in makefile.pd-darwin
-
-
-With your project using flext, be sure to define "FLEXT_SYS=2".
-
-
-Max/MSP - Windows:
-------------------
-o Microsoft Visual C++ 6 or 7: edit "config-max-msvc.txt" & run "build-max-msvc.bat"
-
-
-With your project using flext, be sure to define "FLEXT_SYS=1".
-
-
-Max/MSP - MacOS 9:
-------------------
-o Metrowerks CodeWarrior: edit & use the "flext.cw" project file
-
-You must have the following "Source Trees" (CW preferences, not project specific!) defined:
-"flext" - Pointing to the flext main directory
-"Cycling74" - Pointing to the Cycling 74 SDK
-"MP SDK" - Pointing to the Multiprocessing SDK (for threading support)
-
-
-With your project using flext, be sure to define "FLEXT_SYS=1"
-- alternatively use the prefix file "flcwmax.h" or "flcwmax-thr.h" for threading support.
-
-
-Max/MSP - MacOSX:
-------------------
-o Metrowerks CodeWarrior: edit & use the "flext.cw" project file
+pros:
+- better readability of code compared to straight C externals
+- faster development, more robust coding
+- sharing of common methods and data by using base classes
+- any input to any inlet (with the exception of signal streams)
+- transparent use of threads for methods
+- libraries of externals in Max/MSP
+- more than 3 typed creation arguments possible for Max/MSP
-Be sure to have the latest Max/MSK SDK downloadable from http://www.cycling74.com
-You should use "version 4.5 headers" rather than "version 4.3 headers".
+cons:
+- introduces a small overhead to speed of message and signal handling
+- overhead in object size (due to possibly unneeded code)
-You must have the following "Source Trees" (CW preferences, not project specific!) defined:
-"OS X Volume" - Pointing to your OSX boot drive
-"flext" - Pointing to the flext main directory
-"Cycling74 OSX" - Pointing to the SDK for Max/MSP - the path should end with /c74support
-"MP SDK" - Pointing to the Multiprocessing SDK (for threading support)
+----------------------------------------------------------------------------
-Note: Some parts of the Max/MSP SDK may not be compliant to the C standard.
-If you get errors for lines like
-#endif _MOTO_
-You should changes all of these to
-#endif /* _MOTO_ */
+Prerequisites:
+o --- PD ---
+ You need the pd source code which is most likely part of the distribution.
+ Otherwise download from: http://www-crca.ucsd.edu/~msp/software.html
-o GCC: edit "config-max-darwin.txt" & run "sh build-max-darwin.sh"
- additional settings (e.g. target processor, compiler flags) can be made in makefile.max-darwin
+o --- Max/MSP ---
+ You will need the latest Max/MSP SDK
+ for Windows (http://synthesisters.com/pluggo3/downloadMaxWinSDK.php)
+ for OSX (http://www.synthesisters.com/sdk/max.php)
+ or for OS9 (ask Cycling'74 where to find that)
+ For OS9 threading support you'll also need the Multiprocessing library
+ (download at http://developer.apple.com/sdk/)
-With your project using flext, be sure to define "FLEXT_SYS=1"
-- alternatively use the prefix file "flcwmax-x.h" or "flcwmax-x-thr.h" for threading support.
+o --- SndObj ---
+ If you choose to compile with SndObj support you will need the respective library
+ download from: http://www.may.ie/academic/music/musictec/SndObj/main.html
+o --- STK ---
+ If you choose to compile with STK support you will need the respective package
+ and build a library.
+ download from: http://ccrma-www.stanford.edu/software/stk/
+ For linking it may preferable to use a library of all the STK objects.
+ Under linux you can create one from the STK directory with something like
+ "g++ -c -pipe -I include -D __LINUX_OSS__ src/*.cpp && ar r libstk.a *.o && rm -f *.o"
----------------------------------------------------------------------------
-Goals/features of the package:
+Building and installing of flext and flext-based externals:
-pros:
-- better readability of code compared to straight C externals
-- faster development, more robust coding
-- sharing of common methods and data by using base classes
-- any input to any inlet (with the exception of signal streams)
-- transparent use of threads for methods
-- libraries of externals in MaxMSP
-- more than 3 typed creation arguments possible for MaxMSP
+ Read the build.txt document
-cons:
-- introduces a small overhead to speed of message handling
-- overhead in object size (due to possibly unneeded code)
+----------------------------------------------------------------------------
-see flext.h, fldefs.h and flclass.h for the documented base definitions and classes
+History of changes:
+ Read the changes.txt document
diff --git a/externals/grill/flext/source/flext.h b/externals/grill/flext/source/flext.h
index 4dc3f421..b0f939f7 100644
--- a/externals/grill/flext/source/flext.h
+++ b/externals/grill/flext/source/flext.h
@@ -2,7 +2,7 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
+Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
@@ -23,10 +23,10 @@ WARRANTIES, see the file, "license.txt," in this distribution.
*/
//! \brief flext version number
-#define FLEXT_VERSION 408
+#define FLEXT_VERSION 500
//! \brief flext version string
-#define FLEXT_VERSTR "0.4.8pre"
+#define FLEXT_VERSTR "0.5.0pre"
//! @}
diff --git a/externals/grill/flext/source/flstdc.h b/externals/grill/flext/source/flstdc.h
index 14e4f0f0..d12b31b0 100644
--- a/externals/grill/flext/source/flstdc.h
+++ b/externals/grill/flext/source/flstdc.h
@@ -118,7 +118,7 @@ extern "C" {
#include "ext.h"
#include "ext_user.h"
-#if FLEXT_OS == FLEXT_OS_MAC && defined(MAC_VERSION)
+#if FLEXT_OS != FLEXT_OS_MAC || defined(MAC_VERSION)
// doesn't exist for OS9
#include "ext_critical.h"
#endif
diff --git a/externals/grill/flext/tutorial/adv1/adv1.dsp b/externals/grill/flext/tutorial/adv1/adv1.dsp
deleted file mode 100644
index d292e5c1..00000000
--- a/externals/grill/flext/tutorial/adv1/adv1.dsp
+++ /dev/null
@@ -1,96 +0,0 @@
-# Microsoft Developer Studio Project File - Name="adv1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=adv1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "adv1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "adv1.mak" CFG="adv1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "adv1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "adv1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "adv1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "adv1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/adv1.dll" /libpath:"..\..\pd-msvc"
-# SUBTRACT LINK32 /nodefaultlib
-
-!ELSEIF "$(CFG)" == "adv1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "adv1 - Win32 Release"
-# Name "adv1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/adv1/adv1.cw b/externals/grill/flext/tutorial/adv1/adv1.mcp
index 7b89200a..7b89200a 100755
--- a/externals/grill/flext/tutorial/adv1/adv1.cw
+++ b/externals/grill/flext/tutorial/adv1/adv1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/adv1/package.txt b/externals/grill/flext/tutorial/adv1/package.txt
new file mode 100644
index 00000000..f685a0e2
--- /dev/null
+++ b/externals/grill/flext/tutorial/adv1/package.txt
@@ -0,0 +1,2 @@
+NAME=adv1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/adv2/adv2.dsp b/externals/grill/flext/tutorial/adv2/adv2.dsp
deleted file mode 100644
index 8cf29105..00000000
--- a/externals/grill/flext/tutorial/adv2/adv2.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="adv2" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=adv2 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "adv2.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "adv2.mak" CFG="adv2 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "adv2 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "adv2 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "adv2"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "adv2 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/adv2.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "adv2 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "adv2 - Win32 Release"
-# Name "adv2 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/adv2/adv2.cw b/externals/grill/flext/tutorial/adv2/adv2.mcp
index b46cd6d9..b46cd6d9 100755
--- a/externals/grill/flext/tutorial/adv2/adv2.cw
+++ b/externals/grill/flext/tutorial/adv2/adv2.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/adv2/package.txt b/externals/grill/flext/tutorial/adv2/package.txt
new file mode 100644
index 00000000..58b91927
--- /dev/null
+++ b/externals/grill/flext/tutorial/adv2/package.txt
@@ -0,0 +1,2 @@
+NAME=adv2
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/adv3/adv3.dsp b/externals/grill/flext/tutorial/adv3/adv3.dsp
deleted file mode 100644
index a68ecce6..00000000
--- a/externals/grill/flext/tutorial/adv3/adv3.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="adv3" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=adv3 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "adv3.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "adv3.mak" CFG="adv3 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "adv3 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "adv3 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "adv3"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "adv3 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/adv3.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "adv3 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "adv3 - Win32 Release"
-# Name "adv3 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/adv3/adv3.cw b/externals/grill/flext/tutorial/adv3/adv3.mcp
index a951fec5..a951fec5 100755
--- a/externals/grill/flext/tutorial/adv3/adv3.cw
+++ b/externals/grill/flext/tutorial/adv3/adv3.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/adv3/package.txt b/externals/grill/flext/tutorial/adv3/package.txt
new file mode 100644
index 00000000..9bd894d4
--- /dev/null
+++ b/externals/grill/flext/tutorial/adv3/package.txt
@@ -0,0 +1,2 @@
+NAME=adv3
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/attr1/attr1.dsp b/externals/grill/flext/tutorial/attr1/attr1.dsp
deleted file mode 100644
index 965bc9dd..00000000
--- a/externals/grill/flext/tutorial/attr1/attr1.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="attr1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=attr1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "attr1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "attr1.mak" CFG="attr1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "attr1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "attr1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "attr1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "attr1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/attr1.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "attr1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "attr1 - Win32 Release"
-# Name "attr1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/attr1/attr1.cw b/externals/grill/flext/tutorial/attr1/attr1.mcp
index 32e4ec8f..32e4ec8f 100755
--- a/externals/grill/flext/tutorial/attr1/attr1.cw
+++ b/externals/grill/flext/tutorial/attr1/attr1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/attr1/package.txt b/externals/grill/flext/tutorial/attr1/package.txt
new file mode 100644
index 00000000..938feb56
--- /dev/null
+++ b/externals/grill/flext/tutorial/attr1/package.txt
@@ -0,0 +1,2 @@
+NAME=attr1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/attr2/attr2.dsp b/externals/grill/flext/tutorial/attr2/attr2.dsp
deleted file mode 100644
index 4e0e845a..00000000
--- a/externals/grill/flext/tutorial/attr2/attr2.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="attr2" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=attr2 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "attr2.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "attr2.mak" CFG="attr2 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "attr2 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "attr2 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "attr2"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "attr2 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/attr2.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "attr2 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "attr2 - Win32 Release"
-# Name "attr2 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/attr2/attr2.cw b/externals/grill/flext/tutorial/attr2/attr2.mcp
index c2713289..c2713289 100755
--- a/externals/grill/flext/tutorial/attr2/attr2.cw
+++ b/externals/grill/flext/tutorial/attr2/attr2.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/attr2/package.txt b/externals/grill/flext/tutorial/attr2/package.txt
new file mode 100644
index 00000000..d028f1b4
--- /dev/null
+++ b/externals/grill/flext/tutorial/attr2/package.txt
@@ -0,0 +1,2 @@
+NAME=attr2
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/attr3/attr3.dsp b/externals/grill/flext/tutorial/attr3/attr3.dsp
deleted file mode 100644
index 3a247403..00000000
--- a/externals/grill/flext/tutorial/attr3/attr3.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="attr3" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=attr3 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "attr3.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "attr3.mak" CFG="attr3 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "attr3 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "attr3 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "attr3"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "attr3 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/attr3.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "attr3 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "attr3 - Win32 Release"
-# Name "attr3 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/attr3/attr3.cw b/externals/grill/flext/tutorial/attr3/attr3.mcp
index 644c96a6..644c96a6 100755
--- a/externals/grill/flext/tutorial/attr3/attr3.cw
+++ b/externals/grill/flext/tutorial/attr3/attr3.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/attr3/package.txt b/externals/grill/flext/tutorial/attr3/package.txt
new file mode 100644
index 00000000..a87c4e1e
--- /dev/null
+++ b/externals/grill/flext/tutorial/attr3/package.txt
@@ -0,0 +1,2 @@
+NAME=attr3
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/bind1/bind1.dsp b/externals/grill/flext/tutorial/bind1/bind1.dsp
deleted file mode 100755
index d4095c8f..00000000
--- a/externals/grill/flext/tutorial/bind1/bind1.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="bind1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=bind1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "bind1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "bind1.mak" CFG="bind1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "bind1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "bind1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "max/flext/tutorial/bind1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "bind1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/bind1.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "bind1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /out:"msvc-debug/bind1.dll" /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "bind1 - Win32 Release"
-# Name "bind1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/bind1/bind1.cw b/externals/grill/flext/tutorial/bind1/bind1.mcp
index 750d275b..750d275b 100755
--- a/externals/grill/flext/tutorial/bind1/bind1.cw
+++ b/externals/grill/flext/tutorial/bind1/bind1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/bind1/package.txt b/externals/grill/flext/tutorial/bind1/package.txt
new file mode 100644
index 00000000..c7e82359
--- /dev/null
+++ b/externals/grill/flext/tutorial/bind1/package.txt
@@ -0,0 +1,2 @@
+NAME=bind1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/buffer1/buffer1.dsp b/externals/grill/flext/tutorial/buffer1/buffer1.dsp
deleted file mode 100755
index 0dfa0e4f..00000000
--- a/externals/grill/flext/tutorial/buffer1/buffer1.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="buffer1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=buffer1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "buffer1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "buffer1.mak" CFG="buffer1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "buffer1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "buffer1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "max/flext/tutorial/buffer1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "buffer1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/buffer1.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "buffer1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /out:"msvc-debug/buffer1.dll" /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "buffer1 - Win32 Release"
-# Name "buffer1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/buffer1/buffer1.cw b/externals/grill/flext/tutorial/buffer1/buffer1.mcp
index 31671b11..31671b11 100755
--- a/externals/grill/flext/tutorial/buffer1/buffer1.cw
+++ b/externals/grill/flext/tutorial/buffer1/buffer1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/buffer1/package.txt b/externals/grill/flext/tutorial/buffer1/package.txt
new file mode 100644
index 00000000..2e8fceec
--- /dev/null
+++ b/externals/grill/flext/tutorial/buffer1/package.txt
@@ -0,0 +1,2 @@
+NAME=buffer1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/build-pd-bcc.bat b/externals/grill/flext/tutorial/build-pd-bcc.bat
deleted file mode 100644
index a183ff09..00000000
--- a/externals/grill/flext/tutorial/build-pd-bcc.bat
+++ /dev/null
@@ -1,73 +0,0 @@
-@echo --- Building flext tutorial examples with BorlandC++ ---
-
-@cd simple1
-@make -f ..\makefile.pd-bcc NAME=simple1 SETUPFUNCTION=simple1_setup
-@cd ..
-
-@cd simple2
-@make -f ..\makefile.pd-bcc NAME=simple2 SETUPFUNCTION=simple2_setup
-@cd ..
-
-@cd simple3
-@make -f ..\makefile.pd-bcc NAME=simple3 SETUPFUNCTION=simple3_setup
-@cd ..
-
-@cd adv1
-@make -f ..\makefile.pd-bcc NAME=adv1 SETUPFUNCTION=adv1_setup
-@cd ..
-
-@cd adv2
-@make -f ..\makefile.pd-bcc NAME=adv2 SETUPFUNCTION=adv2_setup
-@cd ..
-
-@cd adv3
-@make -f ..\makefile.pd-bcc NAME=adv3 SETUPFUNCTION=adv3_setup
-@cd ..
-
-@cd attr1
-@make -f ..\makefile.pd-bcc NAME=attr1 SETUPFUNCTION=attr1_setup
-@cd ..
-
-@cd attr2
-@make -f ..\makefile.pd-bcc NAME=attr2 SETUPFUNCTION=attr2_setup
-@cd ..
-
-@cd attr3
-@make -f ..\makefile.pd-bcc NAME=attr3 SETUPFUNCTION=attr3_setup
-@cd ..
-
-@cd timer1
-@make -f ..\makefile.pd-bcc NAME=timer1 SETUPFUNCTION=timer1_setup
-@cd ..
-
-@cd signal1
-@make -f ..\makefile.pd-bcc NAME=signal1~ SETUPFUNCTION=signal1_tilde_setup
-@cd ..
-
-@cd signal2
-@make -f ..\makefile.pd-bcc NAME=signal2~ SETUPFUNCTION=signal2_tilde_setup
-@cd ..
-
-@cd lib1
-@make -f ..\makefile.pd-bcc NAME=lib1 SETUPFUNCTION=lib1_setup
-@cd ..
-
-@cd bind1
-@make -f ..\makefile.pd-bcc NAME=bind1 SETUPFUNCTION=bind1_setup
-@cd ..
-
-@cd buffer1
-@make -f ..\makefile.pd-bcc NAME=buffer1 SETUPFUNCTION=buffer1_setup
-@cd ..
-
-@rem @cd sndobj1
-@rem @make -f ..\makefile.pd-bcc NAME=sndobj1~ SETUPFUNCTION=sndobj1_tilde_setup
-@rem @cd ..
-
-@rem @cd stk1
-@rem @make -f ..\makefile.pd-bcc NAME=stk1~ SETUPFUNCTION=stk1_tilde_setup
-@rem @cd ..
-
-@rem @cd stk2
-@rem @make -f ..\makefile.pd-bcc NAME=stk2~ SETUPFUNCTION=stk2_tilde_setup
-@rem @cd ..
diff --git a/externals/grill/flext/tutorial/build-pd-cygwin.sh b/externals/grill/flext/tutorial/build-pd-cygwin.sh
deleted file mode 100644
index 1c34954a..00000000
--- a/externals/grill/flext/tutorial/build-pd-cygwin.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-make -f makefile.pd-cygwin
diff --git a/externals/grill/flext/tutorial/build-pd-darwin.sh b/externals/grill/flext/tutorial/build-pd-darwin.sh
deleted file mode 100644
index bd31780c..00000000
--- a/externals/grill/flext/tutorial/build-pd-darwin.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-. config-pd-darwin.txt
-
-make -f makefile.pd-darwin &&
-{
- if [ $INSTPATH != "" ]; then
- echo Now install as root
- sudo make -f makefile.pd-darwin install
- fi
-}
diff --git a/externals/grill/flext/tutorial/build-pd-linux.sh b/externals/grill/flext/tutorial/build-pd-linux.sh
deleted file mode 100644
index 413650f7..00000000
--- a/externals/grill/flext/tutorial/build-pd-linux.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-. config-pd-linux.txt
-
-make -f makefile.pd-linux &&
-{
- if [ $INSTPATH != "" ]; then
- echo Now install as root
- su -c "make -f makefile.pd-linux install"
- fi
-}
diff --git a/externals/grill/flext/tutorial/build-pd-msvc.bat b/externals/grill/flext/tutorial/build-pd-msvc.bat
deleted file mode 100644
index 1a0923b1..00000000
--- a/externals/grill/flext/tutorial/build-pd-msvc.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-@echo --- Building flext tutorial examples with MSVC++ ---
-
-nmake /f makefile.pd-msvc
diff --git a/externals/grill/flext/tutorial/build.bat b/externals/grill/flext/tutorial/build.bat
new file mode 100644
index 00000000..dd503c8c
--- /dev/null
+++ b/externals/grill/flext/tutorial/build.bat
@@ -0,0 +1,34 @@
+@echo off
+
+if "%1"=="" goto syntax
+if "%2"=="" goto syntax
+if "%3"=="" goto syntax
+
+rem first check configuration
+call ..\build.bat %1 %2 %3 config "PKGINFO="
+if errorlevel 1 goto end
+
+for /D %%i in (*) do (
+ pushd %%i
+ if exist package.txt (
+ call ..\..\build.bat %1 %2 %3
+ )
+ popd
+)
+
+goto end
+
+rem -----------------------------------------
+:syntax
+
+echo .
+echo SYNTAX: build [platform] [system] [compiler]
+echo platform ... win / lnx / mac
+echo system ... pd / max
+echo compiler ... msvc / gcc / mingw / cygwin / bcc / icc
+echo .
+echo Please make sure that your make program and compiler can be accessed with the
+echo system path and that all relevant environment variables are properly set.
+echo .
+
+:end
diff --git a/externals/grill/flext/tutorial/build.sh b/externals/grill/flext/tutorial/build.sh
new file mode 100644
index 00000000..42968838
--- /dev/null
+++ b/externals/grill/flext/tutorial/build.sh
@@ -0,0 +1,28 @@
+#! /bin/bash
+
+if
+ [ -n "$1" -a -n "$2" -a -n "$3" ]
+then
+ # make config first
+ if
+ bash ../build.sh $1 $2 $3 config "PKGINFO="
+ then
+ for i in * ; do
+ if [ -e $i/package.txt ] ; then
+ pushd $i
+ bash ../../build.sh $1 $2 $3
+ popd
+ fi
+ done
+ fi
+else
+ echo
+ echo SYNTAX: build.sh [platform] [system] [compiler]
+ echo platform ... win / lnx / mac
+ echo system ..... pd / max
+ echo compiler ... msvc / gcc / mingw / cygwin / bcc / icc
+ echo
+ echo Please make sure that your make program and compiler can be accessed with the
+ echo system path and that all relevant environment variables are properly set.
+ echo
+fi
diff --git a/externals/grill/flext/tutorial/config-pd-bcc.txt b/externals/grill/flext/tutorial/config-pd-bcc.txt
deleted file mode 100644
index ca6e84c3..00000000
--- a/externals/grill/flext/tutorial/config-pd-bcc.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-# flext - C++ layer for Max/MSP and pd (pure data) externals
-# tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-
-# where is PD?
-PDPATH=c:\programme\audio\pd
-
-# where is BorlandC++?
-BCCPATH=c:\programme\prog\bcc55
-
-# where do the flext libraries reside?
-FLEXTPATH=$(PDPATH)\flext
-
-# build directory for tutorial examples
-OUTPATH=.\pd-bcc
-
-
-
-
-
diff --git a/externals/grill/flext/tutorial/config-pd-cygwin.txt b/externals/grill/flext/tutorial/config-pd-cygwin.txt
deleted file mode 100644
index 82705200..00000000
--- a/externals/grill/flext/tutorial/config-pd-cygwin.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-# flext - C++ layer for Max/MSP and pd (pure data) externals
-# tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-
-# where is PD?
-PDPATH=/cygdrive/c/programme/audio/pd
-
-# where do the flext libraries reside?
-FLEXTPATH=${PDPATH}/flext
-
-# where is the SndObj include directory?
-# (leave blank or comment out to disable SndObj support)
-# if defined, you must have a libsndobj.a library in the lib path
-#SNDOBJ=/usr/local/include/SndObj
-
-# where is the STK include directory?
-# (leave blank or comment out to disable STK support)
-# if defined, you must have a libstk.a library in the lib path
-#STK=/usr/src/stk-4.1.1/include
-
-# where should the examples be built?
-OUTPATH=./pd-cygwin
-
-# additional compiler flags
-# (check if they fit to your system!)
-UFLAGS=-mcpu=pentiumpro # gcc 2.95
-#UFLAGS=-mcpu=pentium3 -msse # gcc 3.2
diff --git a/externals/grill/flext/tutorial/config-pd-darwin.txt b/externals/grill/flext/tutorial/config-pd-darwin.txt
deleted file mode 100644
index 92962dce..00000000
--- a/externals/grill/flext/tutorial/config-pd-darwin.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-# flext - C++ layer for Max/MSP and pd (pure data) externals
-# tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-
-# where are the PD header files?
-# if it is a system include path (like /usr/local/include)
-# you should leave it blank (as e.g. g++ 3.2 complains about it)
-PDPATH=/usr/local/lib/pd/src
-
-# where is the PD executable?
-PD=/usr/local/bin/pd
-
-# where do the flext libraries reside?
-FLEXTPATH=/usr/local/lib/pd/flext
-
-# where is the SndObj include directory?
-# (leave blank or comment out to disable SndObj support)
-# if defined, you must have a libsndobj.a library in the lib path
-#SNDOBJ=/usr/local/include/SndObj
-
-# where is the STK include directory?
-# (leave blank or comment out to disable STK support)
-# if defined, you must have a libstk.a library in the lib path
-#STK=/usr/src/stk-4.1.1/include
-
-# where should the examples be built? (relative path)
-OUTPATH=./pd-darwin
-
-# where should the examples be installed?
-# (leave blank to omit installation)
-INSTPATH=${FLEXTPATH}/tutorial
-
-# additional compiler flags
-# (check if they fit to your system!)
-UFLAGS=-malign-power -maltivec
-
diff --git a/externals/grill/flext/tutorial/config-pd-linux.txt b/externals/grill/flext/tutorial/config-pd-linux.txt
deleted file mode 100644
index 0f4bd065..00000000
--- a/externals/grill/flext/tutorial/config-pd-linux.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-# flext - C++ layer for Max/MSP and pd (pure data) externals
-# tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-
-# your c++ compiler (if it's different than g++)
-# CXX=g++
-
-# where are the PD header files?
-# if it is a system include path (like /usr/local/include)
-# you should leave it blank (as e.g. g++ 3.2 complains about it)
-PDPATH=
-
-# where do the flext libraries reside?
-FLEXTPATH=/usr/local/lib/pd/flext
-
-# where is the SndObj include directory?
-# (leave blank or comment out to disable SndObj support)
-# if defined, you must have a libsndobj.a library in the lib path
-SNDOBJ=/usr/local/include/SndObj
-
-# where is the STK include directory?
-# (leave blank or comment out to disable STK support)
-# if defined, you must have a libstk.a library in the lib path
-STK=/usr/src/stk-4.1.1/include
-
-# where should the examples be built? (relative path)
-OUTPATH=./pd-linux
-
-# where should the examples be installed?
-# (leave blank to omit installation)
-INSTPATH=${FLEXTPATH}/tutorial
-
-# additional compiler flags
-# (check if they fit to your system!)
-#UFLAGS=-mcpu=pentiumpro # gcc 2.95
-UFLAGS=-mcpu=pentium3 -msse # gcc 3.2
diff --git a/externals/grill/flext/tutorial/config-pd-msvc.txt b/externals/grill/flext/tutorial/config-pd-msvc.txt
deleted file mode 100644
index 425938c2..00000000
--- a/externals/grill/flext/tutorial/config-pd-msvc.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-# flext - C++ layer for Max/MSP and pd (pure data) externals
-# tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-
-# where is PD?
-PDPATH=c:\programme\audio\pd
-
-# where is MS VC++?
-# MSVCPATH=c:\programme\prog\microsoft visual studio\VC98
-
-# where do the flext libraries reside?
-FLEXTPATH=$(PDPATH)\flext
-
-# where is the SndObj include directory?
-# (leave blank or comment out to disable SndObj support)
-SNDOBJ=f:\prog\audio\sndobj\include
-SNDOBJLIB=f:\prog\audio\sndobj\lib\sndobj.lib
-
-# where is the STK include directory?
-# (leave blank or comment out to disable STK support)
-STK=f:\prog\audio\stk\include
-STKLIB=f:\prog\audio\stk\lib\stk.lib
-
-# where should the examples be built?
-OUTPATH=.\pd-msvc
diff --git a/externals/grill/flext/tutorial/lib1/lib1.dsp b/externals/grill/flext/tutorial/lib1/lib1.dsp
deleted file mode 100644
index 8de4edb4..00000000
--- a/externals/grill/flext/tutorial/lib1/lib1.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="lib1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=lib1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "lib1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "lib1.mak" CFG="lib1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "lib1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "lib1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "lib1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "lib1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/lib1.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "lib1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "lib1 - Win32 Release"
-# Name "lib1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/lib1/lib1.cw b/externals/grill/flext/tutorial/lib1/lib1.mcp
index afa029c5..afa029c5 100755
--- a/externals/grill/flext/tutorial/lib1/lib1.cw
+++ b/externals/grill/flext/tutorial/lib1/lib1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/lib1/package.txt b/externals/grill/flext/tutorial/lib1/package.txt
new file mode 100644
index 00000000..1a60aa12
--- /dev/null
+++ b/externals/grill/flext/tutorial/lib1/package.txt
@@ -0,0 +1,2 @@
+NAME=lib1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/make-sub.pd-msvc b/externals/grill/flext/tutorial/make-sub.pd-msvc
deleted file mode 100644
index b34b2b51..00000000
--- a/externals/grill/flext/tutorial/make-sub.pd-msvc
+++ /dev/null
@@ -1,63 +0,0 @@
-# flext tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-# Sub-Makefile for MSVC++
-#
-# ---------------------------------------------------------------
-
-!include config-pd-msvc.txt
-
-# includes
-INCPATH=/I"$(MSVCPATH)\include" /I"$(PDPATH)\src" /I"$(FLEXTPATH)"
-LIBPATH=/LIBPATH:"$(MSVCPATH)\lib" /LIBPATH:"$(PDPATH)\bin" /LIBPATH:"$(FLEXTPATH)"
-LIBS=pd.lib
-
-CFLAGS=/GR /GD /G6 /Ox
-
-!ifdef SNDOBJ
-INCPATH=$(INCPATH) /I"$(SNDOBJ)"
-LIBS=$(LIBS) "$(SNDOBJLIB)"
-!endif
-
-!ifdef STK
-INCPATH=$(INCPATH) /I"$(STK)"
-LIBS=$(LIBS) "$(STKLIB)"
-CFLAGS=$(CFLAGS) /GX
-!endif
-
-# compiler definitions and flags
-DEFS=/DFLEXT_SYS=2
-
-!ifdef THR
-LIBS=$(LIBS) flext_t-pdwin.lib pthreadVC.lib
-DEFS=$(DEFS) /DFLEXT_THREADS
-CFLAGS=$(CFLAGS) /MT
-!else
-LIBS=$(LIBS) flext-pdwin.lib
-!endif
-
-
-
-# the rest can stay untouched
-# ----------------------------------------------
-
-# all the source files from the package
-SRCS=main.cpp
-HDRS=
-
-# -----------------------------------------------
-
-all: $(OUTPATH) $(OUTPATH)\$(NAME).dll
-
-$(OUTPATH):
- -mkdir $(OUTPATH)
-
-$(OUTPATH)\$(NAME)~.dll : $(OUTPATH)\$(NAME).dll
- -ren $** $<
-
-$(OUTPATH)\$(NAME).dll : $(DIR)\$(SRCS)
- cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fotemp.obj
- link /DLL /out:$@ /INCREMENTAL:NO temp.obj $(LIBS) $(LIBPATH)
- @-del $(OUTPATH)\*.exp
- @-del $(OUTPATH)\*.lib
- @-del temp.obj
diff --git a/externals/grill/flext/tutorial/makefile.pd-bcc b/externals/grill/flext/tutorial/makefile.pd-bcc
deleted file mode 100644
index 6eb3a931..00000000
--- a/externals/grill/flext/tutorial/makefile.pd-bcc
+++ /dev/null
@@ -1,77 +0,0 @@
-# flext tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-# This is a make include file for BorlandC++
-# It can't be used on its own
-#
-# ---------------------------------------------
-
-!include ..\config-pd-bcc.txt
-
-OUTPATH=..\$(OUTPATH)
-
-TARGET=pdwin
-
-# includes, libs
-INCPATH=-I$(BCCPATH)\include -I$(PDPATH)\src -I$(FLEXTPATH)
-LIBPATH=-L$(BCCPATH)\lib -L$(PDPATH)\lib -L$(FLEXTPATH)
-LIBS=cw32.lib import32.lib C0D32.OBJ
-
-# compiler definitions and flags
-DEFS=-DFLEXT_SYS=2
-CFLAGS=-6 -O2 -OS -ff -tWD
-
-# the rest can stay untouched
-# ----------------------------------------------
-
-# all the source files from the package
-SRCS= main.cpp
-HDRS=
-
-#default target
-all: $(OUTPATH)\$(NAME).dll
-
-# remove build
-clean:
- -del /s /q $(OUTPATH) > nul
- rmdir $(OUTPATH)
-
-# -----------------------------------------------
-
-OBJS= $(SRCS:.cpp=.obj)
-
-$(SRCS): $(HDRS)
- -touch $<
-
-.PATH.OBJ=$(OUTPATH)
-
-.cpp.obj:
- bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(OUTPATH) $<
-
-$(OUTPATH):
- -@if not exist $< mkdir $<
-
-$(OUTPATH)\pd.lib: $(PDPATH)\bin\pd.dll
- implib -a $@ $**
-
-$(OUTPATH)\$(NAME).def:
- @echo EXPORTS $(SETUPFUNCTION) = _$(SETUPFUNCTION) > $<
-# this next line fixes a strange problem with implib - lacking underscore?!
- @echo IMPORTS _rtext_retext=PD.rtext_retext >> $<
-
-$(OUTPATH)\$(NAME)~.dll : $(OUTPATH)\$(NAME).dll
- -ren $** $<
-
-$(OUTPATH)\$(NAME).dll :: $(OUTPATH) $(OUTPATH)\$(NAME).def $(OUTPATH)\pd.lib
-
-$(OUTPATH)\$(NAME).dll :: $(OBJS)
- ilink32 -C -Tpd $(LIBPATH) $** ,$<,,$(LIBS) $(OUTPATH)\pd.lib $(FLEXTPATH)\flext-$(TARGET).lib ,$(OUTPATH)\$(NAME).def
- -@del $**
- -@del $(OUTPATH)\*.i*
- -@del $(OUTPATH)\*.map
- -@del $(OUTPATH)\*.def
- -@del $(OUTPATH)\*.tds
-
-
-
-
diff --git a/externals/grill/flext/tutorial/makefile.pd-cygwin b/externals/grill/flext/tutorial/makefile.pd-cygwin
deleted file mode 100644
index 853abfc6..00000000
--- a/externals/grill/flext/tutorial/makefile.pd-cygwin
+++ /dev/null
@@ -1,71 +0,0 @@
-# flext tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ cygwin
-#
-# usage: make -f makefile.pd-cygwin
-#
-# -----------------------------------------------------
-#
-# note: the thread examples don't compile with cygwin
-#
-# -----------------------------------------------------
-
-include config-pd-cygwin.txt
-
-FLEXTLIB=$(FLEXTPATH)/flext-pdwin.lib
-
-INCLUDES=$(PDPATH)/src
-LIBPATH=$(PDPATH)/bin
-FLAGS=-DFLEXT_SYS=2
-CFLAGS=${UFLAGS} -O6 -fno-rtti
-LIBS=m pd
-
-
-# the rest can stay untouched
-# ----------------------------------------------
-
-# all the source files from the package
-
-EXAMPLES=simple1 simple2 simple3 adv1 adv2 adv3 timer1 attr1 attr2 attr3 signal1~ signal2~ lib1 # thread1 thread2
-
-ifdef SNDOBJ
-INCLUDES+=$(SNDOBJ)
-EXAMPLES+=sndobj1~
-LIBS+=sndobj
-endif
-
-ifdef STK
-INCLUDES+=$(STK)
-EXAMPLES+=stk1~ stk2~
-LIBS+=stk
-endif
-
-TARGETS=$(patsubst %,$(OUTPATH)/%.dll,$(EXAMPLES))
-
-# default target
-all: $(OUTPATH) $(TARGETS)
-
-
-$(OUTPATH)/%~.dll : $(OUTPATH)/%.dll
- mv $^ $@
-
-$(SRCS): $(HDRS)
- touch $@
-
-$(OUTPATH):
- -mkdir $(OUTPATH)
-
-$(OUTPATH)/%.o : %/main.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
-
-$(OUTPATH)/%.dll : $(OUTPATH)/%.o $(FLEXTLIB)
- $(CXX) $(LDFLAGS) -shared $(patsubst %,-L%,$(LIBPATH)) $^ $(patsubst %,-l%,$(LIBS)) -o $@
- rm $<
- chmod 755 $@
-
-
-.PHONY: clean
-clean:
- rm -f $(OUTPATH)/*.o $(TARGETS)
-
diff --git a/externals/grill/flext/tutorial/makefile.pd-darwin b/externals/grill/flext/tutorial/makefile.pd-darwin
deleted file mode 100644
index 02a4edef..00000000
--- a/externals/grill/flext/tutorial/makefile.pd-darwin
+++ /dev/null
@@ -1,79 +0,0 @@
-# flext tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ darwin (OSX)
-#
-# usage: make -f makefile.pd-darwin
-#
-# -----------------------------------------------------
-
-include config-pd-darwin.txt
-
-FLEXTLIB=$(FLEXTPATH)/flext_t.a # take threaded library for all
-
-
-# compiler+linker stuff ### EDIT! ###
-INCLUDES=$(PDPATH)
-LIBPATH=
-FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -Wno-long-double
-CFLAGS=${UFLAGS} -O2 -fno-rtti
-LIBS=m
-LDFLAGS=-framework vecLib -framework Carbon -bundle -bundle_loader $(PD)
-
-# the rest can stay untouched
-# ----------------------------------------------
-
-# all the source files from the package
-
-EXAMPLES=simple1 simple2 simple3 timer1 adv1 adv2 adv3 attr1 attr2 attr3 signal1~ signal2~ lib1 thread1 thread2 bind1 buffer1
-
-ifdef SNDOBJ
-INCLUDES+=$(SNDOBJ)
-EXAMPLES+=sndobj1~
-LIBS+=sndobj
-endif
-
-ifdef STK
-INCLUDES+=$(STK)
-EXAMPLES+=stk1~ stk2~
-LIBS+=stk
-endif
-
-TARGETS=$(patsubst %,$(OUTPATH)/%.pd_darwin,$(EXAMPLES))
-
-# default target
-all: $(OUTPATH) $(TARGETS)
-
-
-$(OUTPATH)/%~.pd_darwin: $(OUTPATH)/%.pd_darwin
- mv $^ $@
-
-$(SRCS): $(HDRS)
- touch $@
-
-$(OUTPATH):
- mkdir $(OUTPATH)
-
-$(OUTPATH)/%.o : %/main.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
-
-$(OUTPATH)/%.pd_darwin : $(OUTPATH)/%.o $(FLEXTLIB)
- $(CXX) $(LDFLAGS) $(patsubst %,-L%,$(LIBPATH)) $^ $(patsubst %,-l%,$(LIBS)) -o $@
- chmod 755 $@
-
-
-.PHONY: clean
-clean:
- rm -f $(OUTPATH)/*.o $(TARGETS)
-
-ifdef INSTPATH
-$(INSTPATH):
- -mkdir $(INSTPATH)
-
-install:: $(INSTPATH)
-endif
-
-install:: $(patsubst %,$(OUTPATH)/%.pd_darwin,$(EXAMPLES))
- cp $^ $(INSTPATH)
-
-
diff --git a/externals/grill/flext/tutorial/makefile.pd-linux b/externals/grill/flext/tutorial/makefile.pd-linux
deleted file mode 100644
index 9b57c5c3..00000000
--- a/externals/grill/flext/tutorial/makefile.pd-linux
+++ /dev/null
@@ -1,81 +0,0 @@
-# flext tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ linux
-#
-# usage: make -f makefile.pd-linux
-#
-# -----------------------------------------------------
-
-include config-pd-linux.txt
-
-FLEXTLIB=$(FLEXTPATH)/flext_t.a # take threaded library for all
-
-
-# compiler+linker stuff ### EDIT! ###
-INCLUDES=$(PDPATH)/src
-LIBPATH=
-FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS
-CFLAGS=${UFLAGS} -O2 -fno-rtti
-LIBS=m
-
-
-# the rest can stay untouched
-# ----------------------------------------------
-
-# all the source files from the package
-
-EXAMPLES=simple1 simple2 simple3 adv1 adv2 adv3 timer1 attr1 attr2 attr3 signal1~ signal2~ lib1 thread1 thread2 bind1 buffer1
-
-ifdef SNDOBJ
-INCLUDES+=$(SNDOBJ)
-EXAMPLES+=sndobj1~
-LIBS+=sndobj
-endif
-
-ifdef STK
-INCLUDES+=$(STK)
-EXAMPLES+=stk1~ stk2~
-LIBS+=stk
-endif
-
-
-TARGETS=$(patsubst %,$(OUTPATH)/%.pd_linux,$(EXAMPLES))
-
-# default target
-all: $(OUTPATH) $(TARGETS)
-
-
-$(OUTPATH)/%~.pd_linux : $(OUTPATH)/%.pd_linux
- mv $^ $@
-
-$(SRCS): $(HDRS)
- touch $@
-
-$(OUTPATH):
- mkdir $(OUTPATH)
-
-$(OUTPATH)/%.o : %/main.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
-
-$(OUTPATH)/%.pd_linux : $(OUTPATH)/%.o $(FLEXTLIB)
- $(CXX) $(LDFLAGS) -shared $(patsubst %,-L%,$(LIBPATH)) $^ $(patsubst %,-l%,$(LIBS)) -o $@
- chmod 755 $@
-
-
-.PHONY: clean
-clean:
- rm -f $(OUTPATH)/*.o $(TARGETS)
-
-
-ifdef INSTPATH
-$(INSTPATH):
- -mkdir $(INSTPATH)
-
-install:: $(INSTPATH)
-endif
-
-install:: $(patsubst %,$(OUTPATH)/%.pd_linux,$(EXAMPLES))
- cp $^ $(INSTPATH)
- chmod 755 $(patsubst %,$(INSTPATH)/%,$(notdir $^))
- chown root.users $(patsubst %,$(INSTPATH)/%,$(notdir $^))
diff --git a/externals/grill/flext/tutorial/makefile.pd-msvc b/externals/grill/flext/tutorial/makefile.pd-msvc
deleted file mode 100644
index e57b333b..00000000
--- a/externals/grill/flext/tutorial/makefile.pd-msvc
+++ /dev/null
@@ -1,51 +0,0 @@
-# flext tutorial examples
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for MSVC++
-#
-# ---------------------------------------------------------------
-
-!include config-pd-msvc.txt
-
-
-TARGETS=normal threads
-
-!ifdef SNDOBJ
-TARGETS=$(TARGETS) sndobj
-!endif
-
-!ifdef STK
-TARGETS=$(TARGETS) stk
-!endif
-
-all: $(TARGETS)
-
-normal:
- nmake /f make-sub.pd-msvc NAME=simple1 DIR=simple1
- nmake /f make-sub.pd-msvc NAME=simple2 DIR=simple2
- nmake /f make-sub.pd-msvc NAME=simple3 DIR=simple3
- nmake /f make-sub.pd-msvc NAME=adv1 DIR=adv1
- nmake /f make-sub.pd-msvc NAME=adv2 DIR=adv2
- nmake /f make-sub.pd-msvc NAME=adv3 DIR=adv3
- nmake /f make-sub.pd-msvc NAME=timer1 DIR=timer1
- nmake /f make-sub.pd-msvc NAME=attr1 DIR=attr1
- nmake /f make-sub.pd-msvc NAME=attr2 DIR=attr2
- nmake /f make-sub.pd-msvc NAME=attr3 DIR=attr3
- nmake /f make-sub.pd-msvc NAME=signal1~ DIR=signal1
- nmake /f make-sub.pd-msvc NAME=signal2~ DIR=signal2
- nmake /f make-sub.pd-msvc NAME=lib1 DIR=lib1
- nmake /f make-sub.pd-msvc NAME=buffer1 DIR=buffer1
- nmake /f make-sub.pd-msvc NAME=bind1 DIR=bind1
-
-threads:
- nmake /f make-sub.pd-msvc NAME=thread1 DIR=thread1 THR=1
- nmake /f make-sub.pd-msvc NAME=thread2 DIR=thread2 THR=1
-
-sndobj:
- nmake /f make-sub.pd-msvc NAME=sndobj1~ DIR=sndobj1
-
-stk:
- nmake /f make-sub.pd-msvc NAME=stk1~ DIR=stk1
- nmake /f make-sub.pd-msvc NAME=stk2~ DIR=stk2
-
-
diff --git a/externals/grill/flext/tutorial/readme.txt b/externals/grill/flext/tutorial/readme.txt
index faceaaad..1566e697 100644
--- a/externals/grill/flext/tutorial/readme.txt
+++ b/externals/grill/flext/tutorial/readme.txt
@@ -1,7 +1,7 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
tutorial examples
-Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
+Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
diff --git a/externals/grill/flext/tutorial/signal1/package.txt b/externals/grill/flext/tutorial/signal1/package.txt
new file mode 100644
index 00000000..1667d91e
--- /dev/null
+++ b/externals/grill/flext/tutorial/signal1/package.txt
@@ -0,0 +1,2 @@
+NAME=signal1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/signal1/signal1.dsp b/externals/grill/flext/tutorial/signal1/signal1.dsp
deleted file mode 100644
index 1ce9a30b..00000000
--- a/externals/grill/flext/tutorial/signal1/signal1.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="signal1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=signal1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "signal1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "signal1.mak" CFG="signal1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "signal1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "signal1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "max/flext/tutorial/signal1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "signal1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/signal1~.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "signal1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /out:"msvc-debug/signal1~.dll" /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "signal1 - Win32 Release"
-# Name "signal1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/signal1/signal1.cw b/externals/grill/flext/tutorial/signal1/signal1.mcp
index 32e82771..32e82771 100644
--- a/externals/grill/flext/tutorial/signal1/signal1.cw
+++ b/externals/grill/flext/tutorial/signal1/signal1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/signal2/package.txt b/externals/grill/flext/tutorial/signal2/package.txt
new file mode 100644
index 00000000..f65d9e1e
--- /dev/null
+++ b/externals/grill/flext/tutorial/signal2/package.txt
@@ -0,0 +1,2 @@
+NAME=signal2
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/signal2/signal2.dsp b/externals/grill/flext/tutorial/signal2/signal2.dsp
deleted file mode 100644
index 7bb041b7..00000000
--- a/externals/grill/flext/tutorial/signal2/signal2.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="signal2" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=signal2 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "signal2.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "signal2.mak" CFG="signal2 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "signal2 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "signal2 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "max/flext/tutorial/signal2"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "signal2 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/signal2~.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "signal2 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /out:"msvc-debug/signal2~.dll" /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "signal2 - Win32 Release"
-# Name "signal2 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/signal2/signal2.cw b/externals/grill/flext/tutorial/signal2/signal2.mcp
index 260893e2..260893e2 100644
--- a/externals/grill/flext/tutorial/signal2/signal2.cw
+++ b/externals/grill/flext/tutorial/signal2/signal2.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/simple1/package.txt b/externals/grill/flext/tutorial/simple1/package.txt
new file mode 100644
index 00000000..8a3da416
--- /dev/null
+++ b/externals/grill/flext/tutorial/simple1/package.txt
@@ -0,0 +1,2 @@
+NAME=simple1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/simple1/simple1.dsp b/externals/grill/flext/tutorial/simple1/simple1.dsp
deleted file mode 100644
index eeabdf26..00000000
--- a/externals/grill/flext/tutorial/simple1/simple1.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="simple1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=simple1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "simple1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "simple1.mak" CFG="simple1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "simple1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "simple1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "simple1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "simple1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/simple1.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "simple1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "simple1 - Win32 Release"
-# Name "simple1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/simple1/simple1.cw b/externals/grill/flext/tutorial/simple1/simple1.mcp
index 6e778ba5..6e778ba5 100755
--- a/externals/grill/flext/tutorial/simple1/simple1.cw
+++ b/externals/grill/flext/tutorial/simple1/simple1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/simple2/package.txt b/externals/grill/flext/tutorial/simple2/package.txt
new file mode 100644
index 00000000..fd8b2a25
--- /dev/null
+++ b/externals/grill/flext/tutorial/simple2/package.txt
@@ -0,0 +1,2 @@
+NAME=simple2
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/simple2/simple2.dsp b/externals/grill/flext/tutorial/simple2/simple2.dsp
deleted file mode 100644
index 26c4bb37..00000000
--- a/externals/grill/flext/tutorial/simple2/simple2.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="simple2" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=simple2 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "simple2.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "simple2.mak" CFG="simple2 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "simple2 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "simple2 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "simple2"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "simple2 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/simple2.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "simple2 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "simple2 - Win32 Release"
-# Name "simple2 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/simple2/simple2.cw b/externals/grill/flext/tutorial/simple2/simple2.mcp
index 6ada3deb..6ada3deb 100755
--- a/externals/grill/flext/tutorial/simple2/simple2.cw
+++ b/externals/grill/flext/tutorial/simple2/simple2.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/simple3/package.txt b/externals/grill/flext/tutorial/simple3/package.txt
new file mode 100644
index 00000000..acfca5e2
--- /dev/null
+++ b/externals/grill/flext/tutorial/simple3/package.txt
@@ -0,0 +1,2 @@
+NAME=simple3
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/simple3/simple3.dsp b/externals/grill/flext/tutorial/simple3/simple3.dsp
deleted file mode 100644
index d5cd7e78..00000000
--- a/externals/grill/flext/tutorial/simple3/simple3.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="simple3" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=simple3 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "simple3.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "simple3.mak" CFG="simple3 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "simple3 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "simple3 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "simple3"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "simple3 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/simple3.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "simple3 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "simple3 - Win32 Release"
-# Name "simple3 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/simple3/simple3.cw b/externals/grill/flext/tutorial/simple3/simple3.mcp
index bda7a203..bda7a203 100644
--- a/externals/grill/flext/tutorial/simple3/simple3.cw
+++ b/externals/grill/flext/tutorial/simple3/simple3.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/sndobj1/package.txt b/externals/grill/flext/tutorial/sndobj1/package.txt
new file mode 100644
index 00000000..a989f0c2
--- /dev/null
+++ b/externals/grill/flext/tutorial/sndobj1/package.txt
@@ -0,0 +1,2 @@
+NAME=sndobj1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/sndobj1/sndobj1.dsp b/externals/grill/flext/tutorial/sndobj1/sndobj1.dsp
deleted file mode 100644
index dbc23708..00000000
--- a/externals/grill/flext/tutorial/sndobj1/sndobj1.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="sndobj1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=sndobj1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "sndobj1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "sndobj1.mak" CFG="sndobj1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "sndobj1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "sndobj1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "sndobj1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "sndobj1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /I "f:\prog\audio\sndobj\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib sndobj.lib /nologo /dll /machine:I386 /out:"../pd-msvc/sndobj1~.dll" /libpath:"..\..\pd-msvc" /libpath:"f:\prog\audio\sndobj\lib"
-
-!ELSEIF "$(CFG)" == "sndobj1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /I "f:\prog\audio\sndobj\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib sndobj.lib /nologo /dll /debug /machine:I386 /out:"msvc-debug/sndobj1~.dll" /pdbtype:sept /libpath:"..\..\pd-msvc" /libpath:"f:\prog\audio\sndobj\lib"
-
-!ENDIF
-
-# Begin Target
-
-# Name "sndobj1 - Win32 Release"
-# Name "sndobj1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/sndobj1/sndobj1.cw b/externals/grill/flext/tutorial/sndobj1/sndobj1.mcp
index 8385296a..8385296a 100644
--- a/externals/grill/flext/tutorial/sndobj1/sndobj1.cw
+++ b/externals/grill/flext/tutorial/sndobj1/sndobj1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/stk1/package.txt b/externals/grill/flext/tutorial/stk1/package.txt
new file mode 100644
index 00000000..93f79255
--- /dev/null
+++ b/externals/grill/flext/tutorial/stk1/package.txt
@@ -0,0 +1,2 @@
+NAME=stk1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/stk1/stk1.dsp b/externals/grill/flext/tutorial/stk1/stk1.dsp
deleted file mode 100644
index 3c69f66a..00000000
--- a/externals/grill/flext/tutorial/stk1/stk1.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="stk1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=stk1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "stk1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "stk1.mak" CFG="stk1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "stk1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "stk1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "stk1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "stk1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /GX /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /I "f:\prog\audio\stk\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /D "FLEXT_THREADS" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib pthreadVC.lib flext_t-pdwin.lib stk.lib /nologo /dll /machine:I386 /out:"../pd-msvc/stk1~.dll" /libpath:"..\..\pd-msvc" /libpath:"f:\prog\audio\stk\lib"
-
-!ELSEIF "$(CFG)" == "stk1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /I "f:\prog\audio\stk\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /D "FLEXT_THREADS" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib pthreadVC.lib flext_td-pdwin.lib stk_d.lib /nologo /dll /debug /machine:I386 /out:"msvc-debug/stk1~.dll" /pdbtype:sept /libpath:"..\..\pd-msvc" /libpath:"f:\prog\audio\stk\lib"
-
-!ENDIF
-
-# Begin Target
-
-# Name "stk1 - Win32 Release"
-# Name "stk1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/stk2/package.txt b/externals/grill/flext/tutorial/stk2/package.txt
new file mode 100644
index 00000000..9829b5f6
--- /dev/null
+++ b/externals/grill/flext/tutorial/stk2/package.txt
@@ -0,0 +1,2 @@
+NAME=stk2
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/stk2/stk2.dsp b/externals/grill/flext/tutorial/stk2/stk2.dsp
deleted file mode 100644
index e0d3d52c..00000000
--- a/externals/grill/flext/tutorial/stk2/stk2.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="stk2" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=stk2 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "stk2.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "stk2.mak" CFG="stk2 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "stk2 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "stk2 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "stk2"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "stk2 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /GX /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /I "f:\prog\audio\stk\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /D "FLEXT_THREADS" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib pthreadVC.lib flext_t-pdwin.lib stk.lib /nologo /dll /machine:I386 /out:"../pd-msvc/stk2~.dll" /libpath:"..\..\pd-msvc" /libpath:"f:\prog\audio\stk\lib"
-
-!ELSEIF "$(CFG)" == "stk2 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /I "f:\prog\audio\stk\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /D "FLEXT_THREADS" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib pthreadVC.lib flext_td-pdwin.lib stk_d.lib /nologo /dll /debug /machine:I386 /out:"msvc-debug/stk2~.dll" /pdbtype:sept /libpath:"..\..\pd-msvc" /libpath:"f:\prog\audio\stk\lib"
-
-!ENDIF
-
-# Begin Target
-
-# Name "stk2 - Win32 Release"
-# Name "stk2 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/thread1/package.txt b/externals/grill/flext/tutorial/thread1/package.txt
new file mode 100644
index 00000000..3b07a03e
--- /dev/null
+++ b/externals/grill/flext/tutorial/thread1/package.txt
@@ -0,0 +1,3 @@
+NAME=thread1
+BUILDTYPE=multi
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/thread1/thread1.dsp b/externals/grill/flext/tutorial/thread1/thread1.dsp
deleted file mode 100644
index 12cfb0b6..00000000
--- a/externals/grill/flext/tutorial/thread1/thread1.dsp
+++ /dev/null
@@ -1,104 +0,0 @@
-# Microsoft Developer Studio Project File - Name="thread1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=thread1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "thread1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "thread1.mak" CFG="thread1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "thread1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "thread1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "thread1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "thread1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /D "FLEXT_THREADS" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_t-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../pd-msvc/thread1.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "thread1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /D "FLEXT_THREADS" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_td-pdwin.lib pthreadVC.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "thread1 - Win32 Release"
-# Name "thread1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-
-!IF "$(CFG)" == "thread1 - Win32 Release"
-
-# ADD CPP /GR-
-
-!ELSEIF "$(CFG)" == "thread1 - Win32 Debug"
-
-!ENDIF
-
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/thread1/thread1.cw b/externals/grill/flext/tutorial/thread1/thread1.mcp
index 54fc8624..54fc8624 100644
--- a/externals/grill/flext/tutorial/thread1/thread1.cw
+++ b/externals/grill/flext/tutorial/thread1/thread1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/thread2/package.txt b/externals/grill/flext/tutorial/thread2/package.txt
new file mode 100644
index 00000000..5d7ae4e8
--- /dev/null
+++ b/externals/grill/flext/tutorial/thread2/package.txt
@@ -0,0 +1,3 @@
+NAME=thread2
+BUILDTYPE=multi
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/thread2/thread2.dsp b/externals/grill/flext/tutorial/thread2/thread2.dsp
deleted file mode 100644
index 46fcb6bb..00000000
--- a/externals/grill/flext/tutorial/thread2/thread2.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="thread2" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=thread2 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "thread2.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "thread2.mak" CFG="thread2 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "thread2 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "thread2 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "max/flext/tutorial/thread2"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "thread2 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /O2 /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /D "FLEXT_THREADS" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_t-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../pd-msvc/thread2.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "thread2 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /D "FLEXT_THREADS" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_td-pdwin.lib pthreadVC.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "thread2 - Win32 Release"
-# Name "thread2 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/thread2/thread2.cw b/externals/grill/flext/tutorial/thread2/thread2.mcp
index 9d051153..9d051153 100755
--- a/externals/grill/flext/tutorial/thread2/thread2.cw
+++ b/externals/grill/flext/tutorial/thread2/thread2.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/timer1/package.txt b/externals/grill/flext/tutorial/timer1/package.txt
new file mode 100644
index 00000000..4a23dcae
--- /dev/null
+++ b/externals/grill/flext/tutorial/timer1/package.txt
@@ -0,0 +1,2 @@
+NAME=timer1
+SRCS=main.cpp
diff --git a/externals/grill/flext/tutorial/timer1/timer1.dsp b/externals/grill/flext/tutorial/timer1/timer1.dsp
deleted file mode 100755
index 4c8be353..00000000
--- a/externals/grill/flext/tutorial/timer1/timer1.dsp
+++ /dev/null
@@ -1,95 +0,0 @@
-# Microsoft Developer Studio Project File - Name="timer1" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=timer1 - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "timer1.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "timer1.mak" CFG="timer1 - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "timer1 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "timer1 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "timer1"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "timer1 - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "msvc"
-# PROP Intermediate_Dir "msvc"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /W3 /O2 /I "..\..\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pd-msvc/timer1.dll" /libpath:"..\..\pd-msvc"
-
-!ELSEIF "$(CFG)" == "timer1 - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "msvc-debug"
-# PROP Intermediate_Dir "msvc-debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "..\..\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PD" /Fr /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib pd.lib flext_d-pdwin.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "timer1 - Win32 Release"
-# Name "timer1 - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/externals/grill/flext/tutorial/timer1/timer1.cw b/externals/grill/flext/tutorial/timer1/timer1.mcp
index af4e978a..af4e978a 100755
--- a/externals/grill/flext/tutorial/timer1/timer1.cw
+++ b/externals/grill/flext/tutorial/timer1/timer1.mcp
Binary files differ
diff --git a/externals/grill/flext/tutorial/tutorial.dsw b/externals/grill/flext/tutorial/tutorial.dsw
deleted file mode 100644
index f3718c4d..00000000
--- a/externals/grill/flext/tutorial/tutorial.dsw
+++ /dev/null
@@ -1,353 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN!
-
-###############################################################################
-
-Project: "adv1"=.\adv1\adv1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- adv1
- .\adv1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "adv2"=.\adv2\adv2.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- adv2
- .\adv2
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "adv3"=.\adv3\adv3.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- adv3
- .\adv3
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "attr1"=.\attr1\attr1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- attr1
- .\attr1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "attr2"=.\attr2\attr2.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- attr2
- .\attr2
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "attr3"=.\attr3\attr3.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- attr3
- .\attr3
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "bind1"=.\bind1\bind1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- max/flext/tutorial/bind1
- .\bind1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "buffer1"=.\buffer1\buffer1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- max/flext/tutorial/buffer1
- .\buffer1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "flext"=..\flext.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- max/flext
- ..
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "lib1"=.\lib1\lib1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- lib1
- .\lib1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "signal1"=.\signal1\signal1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- max/flext/tutorial/signal1
- .\signal1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "signal2"=.\signal2\signal2.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- max/flext/tutorial/signal2
- .\signal2
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "simple1"=.\simple1\simple1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- simple1
- .\simple1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "simple2"=.\simple2\simple2.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- simple2
- .\simple2
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "simple3"=.\simple3\simple3.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- simple3
- .\simple3
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "sndobj1"=.\sndobj1\sndobj1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- sndobj1
- .\sndobj1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "stk1"=.\stk1\stk1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- stk1
- .\stk1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "stk2"=.\stk2\stk2.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- stk2
- .\stk2
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "thread1"=.\thread1\thread1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- thread1
- .\thread1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "thread2"=.\thread2\thread2.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- max/flext/tutorial/thread2
- .\thread2
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "timer1"=.\timer1\timer1.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- timer1
- .\timer1
- end source code control
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-