aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-12-18 05:04:43 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-12-18 05:04:43 +0000
commit8173cd6fbbe611dcaf5c643f3d3fd4873dde0c19 (patch)
treeec80a284f0cdcf5a3cc7790eb5685880f344530e /externals/grill/xsample
parent2df5c0c5b5fc38fbc2094efe32e86e8516622d23 (diff)
use flext build system
using flext build system updated build system svn path=/trunk/; revision=2408
Diffstat (limited to 'externals/grill/xsample')
-rw-r--r--externals/grill/xsample/build-lnx-pd-gcc.sh1
-rw-r--r--externals/grill/xsample/build-mac-pd-gcc.sh1
-rw-r--r--externals/grill/xsample/build-pd-bcc.bat3
-rw-r--r--externals/grill/xsample/build-pd-cygwin.sh15
-rwxr-xr-xexternals/grill/xsample/build-pd-darwin.sh17
-rwxr-xr-xexternals/grill/xsample/build-pd-linux.sh17
-rw-r--r--externals/grill/xsample/build-pd-mingw.bat3
-rw-r--r--externals/grill/xsample/build-win-max-msvc.bat5
-rw-r--r--externals/grill/xsample/build-win-pd-cygwin.sh1
-rw-r--r--externals/grill/xsample/build-win-pd-mingw.bat3
-rw-r--r--externals/grill/xsample/build-win-pd-msvc.bat5
-rw-r--r--externals/grill/xsample/config-lnx-gcc.txt6
-rw-r--r--externals/grill/xsample/config-mac-gcc.txt6
-rw-r--r--externals/grill/xsample/config-pd-bcc.txt24
-rw-r--r--externals/grill/xsample/config-pd-cygwin.txt36
-rwxr-xr-xexternals/grill/xsample/config-pd-darwin.txt39
-rwxr-xr-xexternals/grill/xsample/config-pd-linux.txt37
-rw-r--r--externals/grill/xsample/config-pd-mingw.txt36
-rw-r--r--externals/grill/xsample/config-win-cygwin.txt6
-rw-r--r--externals/grill/xsample/config-win-max-msvc.txt7
-rw-r--r--externals/grill/xsample/config-win-mingw.txt4
-rw-r--r--externals/grill/xsample/config-win-msvc.txt (renamed from externals/grill/xsample/config-win-pd-msvc.txt)0
-rw-r--r--externals/grill/xsample/makefile-lnx-gcc.txt3
-rw-r--r--externals/grill/xsample/makefile-mac-gcc.txt3
-rw-r--r--externals/grill/xsample/makefile-win-cygwin.txt3
-rw-r--r--externals/grill/xsample/makefile-win-mingw.txt5
-rw-r--r--externals/grill/xsample/makefile.pd-bcc74
-rw-r--r--externals/grill/xsample/makefile.pd-cygwin87
-rwxr-xr-xexternals/grill/xsample/makefile.pd-darwin85
-rw-r--r--externals/grill/xsample/makefile.pd-linux102
-rw-r--r--externals/grill/xsample/makefile.pd-mingw86
31 files changed, 46 insertions, 674 deletions
diff --git a/externals/grill/xsample/build-lnx-pd-gcc.sh b/externals/grill/xsample/build-lnx-pd-gcc.sh
new file mode 100644
index 00000000..e76f5ed1
--- /dev/null
+++ b/externals/grill/xsample/build-lnx-pd-gcc.sh
@@ -0,0 +1 @@
+make -f ../flext/build/gnumake.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc $*
diff --git a/externals/grill/xsample/build-mac-pd-gcc.sh b/externals/grill/xsample/build-mac-pd-gcc.sh
new file mode 100644
index 00000000..a88a3dbb
--- /dev/null
+++ b/externals/grill/xsample/build-mac-pd-gcc.sh
@@ -0,0 +1 @@
+make -f ../flext/build/gnumake.mak PLATFORM=mac RTSYS=pd COMPILER=gcc $*
diff --git a/externals/grill/xsample/build-pd-bcc.bat b/externals/grill/xsample/build-pd-bcc.bat
deleted file mode 100644
index 3dd21329..00000000
--- a/externals/grill/xsample/build-pd-bcc.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-@echo --- Building with BorlandC++ ---
-
-make -f makefile.pd-bcc
diff --git a/externals/grill/xsample/build-pd-cygwin.sh b/externals/grill/xsample/build-pd-cygwin.sh
deleted file mode 100644
index 94778444..00000000
--- a/externals/grill/xsample/build-pd-cygwin.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-SYS=pd-cygwin
-
-. config-${SYS}.txt
-
-make -f makefile.${SYS} &&
-{
- if [ $INSTDIR != "" ]; then
- make -f makefile.${SYS} install
- fi
- if [ $HELPDIR != "" ]; then
- make -f makefile.${SYS} install-help
- fi
-}
diff --git a/externals/grill/xsample/build-pd-darwin.sh b/externals/grill/xsample/build-pd-darwin.sh
deleted file mode 100755
index 38814a9a..00000000
--- a/externals/grill/xsample/build-pd-darwin.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-SYS=pd-darwin
-
-. config-${SYS}.txt
-
-make -f makefile.${SYS} &&
-{
- if [ $INSTDIR != "" ]; then
- echo Now install as root
- sudo make -f makefile.${SYS} install
- fi
- if [ $HELPDIR != "" ]; then
- echo Now install help as root
- sudo make -f makefile.${SYS} install-help
- fi
-}
diff --git a/externals/grill/xsample/build-pd-linux.sh b/externals/grill/xsample/build-pd-linux.sh
deleted file mode 100755
index 77c6e3ff..00000000
--- a/externals/grill/xsample/build-pd-linux.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-SYS=pd-linux
-
-. config-${SYS}.txt
-
-make -f makefile.${SYS} &&
-{
- if [ $INSTDIR != "" ]; then
- echo Now install as root
- su -c "make -f makefile.${SYS} install"
- fi
- if [ $HELPDIR != "" ]; then
- echo Now install help as root
- su -c "make -f makefile.${SYS} install-help"
- fi
-}
diff --git a/externals/grill/xsample/build-pd-mingw.bat b/externals/grill/xsample/build-pd-mingw.bat
deleted file mode 100644
index fa8919a5..00000000
--- a/externals/grill/xsample/build-pd-mingw.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-mingw32-make -f makefile.pd-mingw
-mingw32-make -f makefile.pd-mingw install
-mingw32-make -f makefile.pd-mingw install-help
diff --git a/externals/grill/xsample/build-win-max-msvc.bat b/externals/grill/xsample/build-win-max-msvc.bat
index d99ba534..3eafd712 100644
--- a/externals/grill/xsample/build-win-max-msvc.bat
+++ b/externals/grill/xsample/build-win-max-msvc.bat
@@ -1,4 +1,3 @@
-@echo --- Building with MS Visual C++ ---
+@rem building with flext build system
-nmake -f ..\flext\build\make-win-max-msvc.txt clean
-nmake -f ..\flext\build\make-win-max-msvc.txt
+nmake -f ..\flext\build\nmake.mak PLATFORM=win RTSYS=max COMPILER=msvc %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/externals/grill/xsample/build-win-pd-cygwin.sh b/externals/grill/xsample/build-win-pd-cygwin.sh
new file mode 100644
index 00000000..5ba756b8
--- /dev/null
+++ b/externals/grill/xsample/build-win-pd-cygwin.sh
@@ -0,0 +1 @@
+make -f ../flext/build/gnumake.mak PLATFORM=win RTSYS=pd COMPILER=cygwin $*
diff --git a/externals/grill/xsample/build-win-pd-mingw.bat b/externals/grill/xsample/build-win-pd-mingw.bat
new file mode 100644
index 00000000..932bfdd8
--- /dev/null
+++ b/externals/grill/xsample/build-win-pd-mingw.bat
@@ -0,0 +1,3 @@
+@rem building with flext build system
+
+mingw32-make -f ..\flext\build\gnumake.mak PLATFORM=win RTSYS=pd COMPILER=mingw %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/externals/grill/xsample/build-win-pd-msvc.bat b/externals/grill/xsample/build-win-pd-msvc.bat
index 942ee174..31c45f06 100644
--- a/externals/grill/xsample/build-win-pd-msvc.bat
+++ b/externals/grill/xsample/build-win-pd-msvc.bat
@@ -1,4 +1,3 @@
-@echo --- Building with MS Visual C++ ---
+@rem building with flext build system
-nmake -f ..\flext\build\make-win-pd-msvc.txt clean
-nmake -f ..\flext\build\make-win-pd-msvc.txt
+nmake -f ..\flext\build\nmake.mak PLATFORM=win RTSYS=pd COMPILER=msvc %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/externals/grill/xsample/config-lnx-gcc.txt b/externals/grill/xsample/config-lnx-gcc.txt
new file mode 100644
index 00000000..93669034
--- /dev/null
+++ b/externals/grill/xsample/config-lnx-gcc.txt
@@ -0,0 +1,6 @@
+# Your settings are defined in the files
+# ../flext/build/config-mac-pd-gcc.txt
+# and
+# ../flext/build/config-mac-max-gcc.txt
+#
+# You can override them here.
diff --git a/externals/grill/xsample/config-mac-gcc.txt b/externals/grill/xsample/config-mac-gcc.txt
new file mode 100644
index 00000000..93669034
--- /dev/null
+++ b/externals/grill/xsample/config-mac-gcc.txt
@@ -0,0 +1,6 @@
+# Your settings are defined in the files
+# ../flext/build/config-mac-pd-gcc.txt
+# and
+# ../flext/build/config-mac-max-gcc.txt
+#
+# You can override them here.
diff --git a/externals/grill/xsample/config-pd-bcc.txt b/externals/grill/xsample/config-pd-bcc.txt
deleted file mode 100644
index ddc12efc..00000000
--- a/externals/grill/xsample/config-pd-bcc.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-
-# where is PD?
-PDPATH=c:\programme\audio\pd
-
-# where do the flext libraries reside?
-FLEXTPATH=$(PDPATH)\flext
-
-# where is BorlandC++?
-BCCPATH=c:\programme\prog\bcc55
-
-# where should the external(s) be built?
-OUTPATH=.\pd-bcc
-
-# should the external be installed? (yes/no)
-INSTALL=yes
-
-# where should the external be installed?
-INSTDIR=$(PDPATH)\extra
-
-# additional compiler flags
-UFLAGS=-6 -O2 -OS -ff
diff --git a/externals/grill/xsample/config-pd-cygwin.txt b/externals/grill/xsample/config-pd-cygwin.txt
deleted file mode 100644
index 001c9cdc..00000000
--- a/externals/grill/xsample/config-pd-cygwin.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-
-# your c++ compiler (define only if it's different than g++)
-# CXX=g++
-
-# where does the PD installation reside?
-PD=/cygdrive/c/programme/audio/pd
-
-# where are the PD header files?
-# leave it blank if it is a system directory (like /usr/local/include),
-# since gcc 3.2 complains about it
-PDINC=${PD}/src
-
-# where do the flext libraries reside?
-FLEXTPATH=${PD}/flext
-
-# where should xsample objects be built?
-TARGDIR=./pd-cygwin
-
-# where should xsample be installed?
-# (leave blank to omit installation)
-INSTDIR=${PD}/extra
-
-# where should the xsample help be installed?
-# (leave blank to omit installation)
-HELPDIR=${PD}/doc/5.reference
-
-# additional compiler flags
-# (check whether they fit to your system!)
-UFLAGS=-mcpu=pentium4 -msse -mfpmath=sse # gcc 3.2
-# UFLAGS=-mcpu=pentiumpro # gcc 2.95
-
-# define to build with shared flext library
-#FLEXT_SHARED=1
diff --git a/externals/grill/xsample/config-pd-darwin.txt b/externals/grill/xsample/config-pd-darwin.txt
deleted file mode 100755
index b42988cc..00000000
--- a/externals/grill/xsample/config-pd-darwin.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-
-# your c++ compiler (if not g++)
-#CXX=g++-3.3
-
-# where does the PD installation reside?
-PD=/usr/local/lib/pd
-
-# where are the PD header files?
-# leave it blank if it is a system directory (like /usr/local/include),
-# since gcc 3.2 complains about it
-#PDINC=${PD}/src
-
-# where is the PD executable?
-PDBIN=/usr/local/bin/pd
-
-# where do the flext libraries reside?
-FLEXTPATH=${PD}/flext
-
-# where should the xsample objects be built?
-TARGDIR=./pd-darwin
-
-# where should xsample be installed?
-# (leave blank to omit installation)
-INSTDIR=${PD}/extra
-
-# where should the xsample help be installed?
-# (leave blank to omit installation)
-HELPDIR=${PD}/doc/5.reference
-
-# additional compiler flags
-# (check whether they fit your system!)
-UFLAGS=-malign-power -maltivec -faltivec
-
-# build with shared flext library
-FLEXT_SHARED=1
-
diff --git a/externals/grill/xsample/config-pd-linux.txt b/externals/grill/xsample/config-pd-linux.txt
deleted file mode 100755
index e89b6e98..00000000
--- a/externals/grill/xsample/config-pd-linux.txt
+++ /dev/null
@@ -1,37 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-
-# your c++ compiler (if not g++)
-#CXX=g++
-
-# where does the PD installation reside?
-PD=/usr/local/lib/pd
-
-# where are the PD header files?
-# leave it blank if it is a system directory (like /usr/local/include),
-# since gcc 3.2 complains about it
-PDINC=
-
-# where do the flext libraries reside?
-FLEXTPATH=${PD}/flext
-
-# where should xsample objects be built?
-TARGDIR=./pd-linux
-
-# where should xsample be installed?
-# (leave blank to omit installation)
-INSTDIR=${PD}/extra
-
-# where should the xsample help be installed?
-# (leave blank to omit installation)
-HELPDIR=${PD}/doc/5.reference
-
-# additional compiler flags
-# (check whether they fit to your system!)
-#UFLAGS=-mcpu=pentiumpro -funroll-loops -fmove-all-movables -frerun-loop-opt -finline-functions -fno-rtti -fno-exceptions # gcc 2.95
-#UFLAGS=-mcpu=pentium3 -msse -mfpmath=sse -funroll-loops -fmove-all-movables -frerun-loop-opt -finline-functions -fno-rtti -fno-exceptions # gcc 3.2
-
-# define to link against shared flext library (flext version >= 0.5.0)
-#FLEXT_SHARED=1
-
diff --git a/externals/grill/xsample/config-pd-mingw.txt b/externals/grill/xsample/config-pd-mingw.txt
deleted file mode 100644
index 4879d338..00000000
--- a/externals/grill/xsample/config-pd-mingw.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-
-# your c++ compiler (define only if it's different than g++)
-# CXX=g++
-
-# where does the PD installation reside?
-PD=c:/programme/audio/pd
-
-# where are the PD header files?
-# leave it blank if it is a system directory (like /usr/local/include),
-# since gcc 3.2 complains about it
-PDINC=${PD}/src
-
-# where do the flext libraries reside?
-FLEXTPATH=${PD}/flext
-
-# where should xsample objects be built?
-TARGDIR=./pd-mingw
-
-# where should xsample be installed?
-# (leave blank to omit installation)
-INSTDIR=${PD}/extra
-
-# where should the xsample help be installed?
-# (leave blank to omit installation)
-HELPDIR=${PD}/doc/5.reference
-
-# additional compiler flags
-# (check whether they fit to your system!)
-UFLAGS=-mcpu=pentium4 -msse -mfpmath=sse # gcc 3.2
-# UFLAGS=-mcpu=pentiumpro # gcc 2.95
-
-# define to build with shared flext library
-# FLEXT_SHARED=1 \ No newline at end of file
diff --git a/externals/grill/xsample/config-win-cygwin.txt b/externals/grill/xsample/config-win-cygwin.txt
new file mode 100644
index 00000000..6b6410ec
--- /dev/null
+++ b/externals/grill/xsample/config-win-cygwin.txt
@@ -0,0 +1,6 @@
+# Your settings are defined in the files
+# ../flext/build/config-win-pd-cygwin.txt
+# and
+# ../flext/build/config-win-max-cygwin.txt
+#
+# You can override them here.
diff --git a/externals/grill/xsample/config-win-max-msvc.txt b/externals/grill/xsample/config-win-max-msvc.txt
deleted file mode 100644
index 5cc1cf7e..00000000
--- a/externals/grill/xsample/config-win-max-msvc.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (gr@grrrr.org)
-#
-# Your settings are defined in the file
-# ..\flext\build\config-win-max-msvc.txt
-#
-# You can override them here.
diff --git a/externals/grill/xsample/config-win-mingw.txt b/externals/grill/xsample/config-win-mingw.txt
new file mode 100644
index 00000000..7f202c59
--- /dev/null
+++ b/externals/grill/xsample/config-win-mingw.txt
@@ -0,0 +1,4 @@
+# Your settings are defined in the file
+# ..\flext\build\config-win-pd-mingw.txt
+#
+# You can override them here.
diff --git a/externals/grill/xsample/config-win-pd-msvc.txt b/externals/grill/xsample/config-win-msvc.txt
index 977e0e99..977e0e99 100644
--- a/externals/grill/xsample/config-win-pd-msvc.txt
+++ b/externals/grill/xsample/config-win-msvc.txt
diff --git a/externals/grill/xsample/makefile-lnx-gcc.txt b/externals/grill/xsample/makefile-lnx-gcc.txt
new file mode 100644
index 00000000..fed16156
--- /dev/null
+++ b/externals/grill/xsample/makefile-lnx-gcc.txt
@@ -0,0 +1,3 @@
+# usage:
+# to build run "sh build-mac-max-gcc.sh" or "sh build-mac-pd-gcc.sh"
+#
diff --git a/externals/grill/xsample/makefile-mac-gcc.txt b/externals/grill/xsample/makefile-mac-gcc.txt
new file mode 100644
index 00000000..fed16156
--- /dev/null
+++ b/externals/grill/xsample/makefile-mac-gcc.txt
@@ -0,0 +1,3 @@
+# usage:
+# to build run "sh build-mac-max-gcc.sh" or "sh build-mac-pd-gcc.sh"
+#
diff --git a/externals/grill/xsample/makefile-win-cygwin.txt b/externals/grill/xsample/makefile-win-cygwin.txt
new file mode 100644
index 00000000..a6da37f6
--- /dev/null
+++ b/externals/grill/xsample/makefile-win-cygwin.txt
@@ -0,0 +1,3 @@
+# usage:
+# to build run "sh build-win-max-cygwin.sh" or "sh build-win-pd-cygwin.sh"
+#
diff --git a/externals/grill/xsample/makefile-win-mingw.txt b/externals/grill/xsample/makefile-win-mingw.txt
new file mode 100644
index 00000000..452c36ec
--- /dev/null
+++ b/externals/grill/xsample/makefile-win-mingw.txt
@@ -0,0 +1,5 @@
+# Makefile for MSVC++ 6 and .NET
+#
+# usage:
+# to build run "build-win-max-mingw.bat" or "build-win-pd-mingw.bat"
+#
diff --git a/externals/grill/xsample/makefile.pd-bcc b/externals/grill/xsample/makefile.pd-bcc
deleted file mode 100644
index 67131953..00000000
--- a/externals/grill/xsample/makefile.pd-bcc
+++ /dev/null
@@ -1,74 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for BorlandC++
-#
-# usage: make -f makefile.pd-bcc
-#
-# ---------------------------------------------
-
-!include config-pd-bcc.txt
-
-# all the source files from the package
-!include make-files.txt
-
-SETUPFUNCTION=$(NAME)_setup
-
-# flext stuff
-TARGET=pdwin
-
-# includes, libs
-INCPATH=-I$(BCCPATH)\include -I$(PDPATH)\src -I$(FLEXTPATH)
-LIBPATH=-L$(BCCPATH)\lib -L$(PDPATH)\lib
-LIBS=cw32.lib import32.lib C0D32.OBJ
-
-# compiler definitions and flags
-DEFS=-DFLEXT_SYS=2
-CFLAGS=-tWD $(UFLAGS)
-
-
-# the rest can stay untouched
-# ----------------------------------------------
-
-# default target
-all: $(OUTPATH)\$(NAME).dll
-
-# remove build
-clean:
- -del /s /q $(OUTPATH) > nul
- rmdir $(OUTPATH)
-
-
-install:
- cp $(OUTPATH)\$(NAME).dll $(INSTDIR)
-
-# ----------------------------------------------
-
-OBJS= $(SRCS:.cpp=.obj)
-
-#.PATH.OBJ=$(OUTPATH)
-
-#$(SRCS): $(HDRS)
-# -touch $<
-
-{$(SRCDIR)}.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) $(OUTPATH)\$(NAME).def $(OUTPATH)\pd.lib
-
-$(OUTPATH)\$(NAME).dll :: $(OBJS)
- cd $(OUTPATH)
- ilink32 -C -Tpd $(LIBPATH) $** ,..\$<,,$(LIBS) pd.lib $(FLEXTPATH)\flext-$(TARGET).lib ,$(NAME).def
- cd ..
- \ No newline at end of file
diff --git a/externals/grill/xsample/makefile.pd-cygwin b/externals/grill/xsample/makefile.pd-cygwin
deleted file mode 100644
index 077d4ce4..00000000
--- a/externals/grill/xsample/makefile.pd-cygwin
+++ /dev/null
@@ -1,87 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ cygwin
-#
-# usage:
-# to build run "make -f makefile.pd-cygwin"
-# to install (as root), do "make -f makefile.pd-cygwin install"
-#
-
-CONFIG=config-pd-cygwin.txt
-MAKEFILE=makefile.pd-cygwin
-
-include ${CONFIG}
-
-
-# compiler stuff
-# /usr/include holds the cygwin pthread headers and must be first!
-INCLUDES=/usr/include $(PDINC)
-
-FLAGS=-DFLEXT_SYS=2
-CFLAGS=-O2 -funroll-loops -fmove-all-movables -frerun-loop-opt -finline-functions -fno-rtti -fno-exceptions ${UFLAGS}
-
-PDLIBS=$(PD)/bin/pd.dll $(PD)/bin/pthreadVC.dll
-
-
-ifdef FLEXT_SHARED
-
-CFLAGS+=-DFLEXT_SHARED
-FLEXTLIB=$(FLEXTPATH)/flext.dll
-
-else
-
-FLEXTLIB=$(FLEXTPATH)/flext-pdwin.lib
-
-endif
-
-
-# ----------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-
-NAME=xsample
-
-include make-files.txt
-
-TARGET=$(TARGDIR)/$(NAME).dll
-
-# default target
-all: $(TARGDIR) $(TARGET)
-
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(MAKEFILE) $(CONFIG)
- touch $(patsubst %,$(SRCDIR)/%,$(SRCS))
-
-$(TARGDIR):
- -mkdir $(TARGDIR)
-
-$(TARGDIR)/%.o : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
-
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) $(FLEXTLIB)
- $(CXX) -shared $(LDFLAGS) $^ ${PDLIBS} $(patsubst %,-l%,$(LIBS)) -o $@
- strip --strip-unneeded $@
- chmod 755 $@
-
-$(INSTDIR):
- -mkdir $(INSTDIR)
-
-install:: $(INSTDIR)
-
-install:: $(TARGET)
- cp $^ $(INSTDIR)
-# chown root.root $(patsubst %,$(INSTDIR)/%,$(notdir $^))
-
-$(HELPDIR):
- -mkdir $(HELPDIR)
-
-install-help:: $(HELPDIR)
-
-install-help:: ./pd
- chmod 644 $^/*.*
- cp $^/*.* $(HELPDIR)
-
-
-.PHONY: clean
-clean:
- rm -f $(TARGDIR)/*.o $(TARGET)
diff --git a/externals/grill/xsample/makefile.pd-darwin b/externals/grill/xsample/makefile.pd-darwin
deleted file mode 100755
index e91f764c..00000000
--- a/externals/grill/xsample/makefile.pd-darwin
+++ /dev/null
@@ -1,85 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ OSX (darwin)
-#
-# usage:
-# to build run "make -f makefile.pd-darwin"
-# to install (as root), do "make -f makefile.pd-darwin install"
-# to install help, do "make -f makefile.pd-darwin install-help"
-#
-
-CONFIG=config-pd-darwin.txt
-
-include ${CONFIG}
-
-# compiler stuff
-INCLUDES=$(PDINC)
-FLAGS=-DFLEXT_SYS=2
-CFLAGS=-O2 ${UFLAGS} -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -funroll-loops -fmove-all-movables -frerun-loop-opt -fno-rtti -fno-exceptions
-LIBS=m gcc
-LDFLAGS=-bundle -bundle_loader $(PDBIN)
-FRAMEWORKS=Carbon veclib
-
-ifdef FLEXT_SHARED
-CFLAGS+=-DFLEXT_SHARED
-LDFLAGS+=-L$(FLEXTPATH)
-FLEXTLIB=-lflext
-
-else
-
-FLEXTLIB=$(FLEXTPATH)/libflext.a
-
-endif
-
-# ----------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-
-include make-files.txt
-
-MAKEFILE=makefile.pd-darwin
-TARGET=$(TARGDIR)/$(NAME).pd_darwin
-
-
-# default target
-all: $(TARGDIR) $(TARGET)
-
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(MAKEFILE) $(CONFIG)
- touch $(patsubst %,$(SRCDIR)/%,$(SRCS))
-
-$(TARGDIR):
- -mkdir $(TARGDIR)
-
-$(TARGDIR)/%.o : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
-
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
- $(CXX) $(LDFLAGS) $^ $(patsubst %,-framework %,$(FRAMEWORKS)) $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) $(FLEXTLIB) -o $@
- chmod 755 $@
-
-
-$(INSTDIR):
- -mkdir $(INSTDIR)
-
-install:: $(INSTDIR)
-
-install:: $(TARGET)
- cp -R $^ $(INSTDIR)
-# chown -R root.root $(INSTDIR)
-
-
-$(HELPDIR):
- -mkdir $(HELPDIR)
-
-install-help:: $(HELPDIR)
-
-install-help:: ./pd
- cp $^/*.* $(HELPDIR)
-# chown -R root.root $(HELPDIR)
-
-
-.PHONY: clean
-clean:
- rm -f $(TARGDIR)/*.o $(TARGET)
-
diff --git a/externals/grill/xsample/makefile.pd-linux b/externals/grill/xsample/makefile.pd-linux
deleted file mode 100644
index 98359bad..00000000
--- a/externals/grill/xsample/makefile.pd-linux
+++ /dev/null
@@ -1,102 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ linux
-#
-# usage:
-# to build run "make -f makefile.pd-linux"
-# to install (as root), do "make -f makefile.pd-linux install"
-#
-
-CONFIG=config-pd-linux.txt
-
-include ${CONFIG}
-
-
-# compiler stuff
-INCLUDES=$(PDINC)
-FLAGS=-DFLEXT_SYS=2
-CFLAGS=-O2 ${UFLAGS}
-LDFLAGS=${UFLAGS} # needed by icc
-LIBS=
-
-ifdef FLEXT_SHARED
-CFLAGS+=-shared -DFLEXT_SHARED
-LDFLAGS+=-L $(FLEXTPATH)
-LIBFLEXT=-lflext
-
-ifeq ($(CXX),icc)
-LDFLAGS+=-i_dynamic
-else
-LDFLAGS+=-Wl,-Bdynamic
-endif
-
-else
-
-LIBFLEXT=$(FLEXTPATH)/libflext.a
-
-endif
-
-
-# ----------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-
-NAME=xsample
-
-include make-files.txt
-
-MAKEFILE=makefile.pd-linux
-TARGET=$(TARGDIR)/$(NAME).pd_linux
-
-# default target
-all: $(TARGDIR) $(TARGET)
-
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(MAKEFILE) $(CONFIG)
- touch $(patsubst %,$(SRCDIR)/%,$(SRCS))
-
-$(TARGDIR):
- -mkdir $(TARGDIR)
-
-$(TARGDIR)/%.o : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
-
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
- $(CXX) $(LDFLAGS) -shared -o $@ $^ $(LIBFLEXT) $(patsubst %,-l%,$(LIBS))
- strip --strip-unneeded $@
- chmod 755 $@
-
-$(INSTDIR):
- -mkdir $(INSTDIR)
-
-install:: $(INSTDIR)
-
-install:: $(TARGET)
- cp $^ $(INSTDIR)
- chown root.root $(patsubst %,$(INSTDIR)/%,$(notdir $^))
-
-$(HELPDIR):
- -mkdir $(HELPDIR)
-
-install-help:: $(HELPDIR)
-
-install-help:: ./pd
- chmod 644 $^/*.*
- cp $^/*.* $(HELPDIR)
-
-
-.PHONY: clean
-clean:
- rm -f $(TARGDIR)/*.o $(TARGET)
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/externals/grill/xsample/makefile.pd-mingw b/externals/grill/xsample/makefile.pd-mingw
deleted file mode 100644
index 21652652..00000000
--- a/externals/grill/xsample/makefile.pd-mingw
+++ /dev/null
@@ -1,86 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ minGW
-#
-# usage:
-# to build run "make -f makefile.pd-mingw"
-# to install (as root), do "make -f makefile.pd-mingw install"
-#
-
-CONFIG=config-pd-mingw.txt
-MAKEFILE=makefile.pd-mingw
-
-include ${CONFIG}
-
-
-# compiler stuff
-INCLUDES=$(PDINC)
-
-FLAGS=-DFLEXT_SYS=2
-CFLAGS=-O2 -funroll-loops -fmove-all-movables -frerun-loop-opt -finline-functions -fno-rtti -fno-exceptions ${UFLAGS}
-
-PDLIBS=$(PD)/bin/pd.dll $(PD)/bin/pthreadVC.dll
-
-
-ifdef FLEXT_SHARED
-
-CFLAGS+=-DFLEXT_SHARED
-FLEXTLIB=$(FLEXTPATH)/flext.dll
-
-else
-
-FLEXTLIB=$(FLEXTPATH)/flext-pdwin.lib
-
-endif
-
-
-# ----------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-
-NAME=xsample
-
-include make-files.txt
-
-TARGET=$(TARGDIR)/$(NAME).dll
-
-# default target
-all: $(TARGDIR) $(TARGET)
-
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(MAKEFILE) $(CONFIG)
-# echo touch $(patsubst %,$(SRCDIR)/%,$(SRCS)) # minGW has no touch
-
-$(TARGDIR):
- -mkdir $(TARGDIR)
-
-$(TARGDIR)/%.o : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
-
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) $(FLEXTLIB)
- $(CXX) -shared $(LDFLAGS) $^ ${PDLIBS} $(patsubst %,-l%,$(LIBS)) -o $@
- strip --strip-unneeded $@
- chmod 755 $@
-
-$(INSTDIR):
- -mkdir $(INSTDIR)
-
-install:: $(INSTDIR)
-
-install:: $(TARGET)
- cp $^ $(INSTDIR)
-# chown root.root $(patsubst %,$(INSTDIR)/%,$(notdir $^))
-
-$(HELPDIR):
- -mkdir $(HELPDIR)
-
-install-help:: $(HELPDIR)
-
-install-help:: ./pd
- chmod 644 $^/*.*
- cp $^/*.* $(HELPDIR)
-
-
-.PHONY: clean
-clean:
- rm -f $(TARGDIR)/*.o $(TARGET)