aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill')
-rw-r--r--externals/grill/py/build-lnx-pd-gcc.sh1
-rw-r--r--externals/grill/py/build-mac-pd-gcc.sh1
-rw-r--r--externals/grill/py/build-pd-bcc.bat3
-rwxr-xr-xexternals/grill/py/build-pd-darwin.sh11
-rwxr-xr-xexternals/grill/py/build-pd-linux.sh11
-rw-r--r--externals/grill/py/build-win-max-msvc.bat3
-rw-r--r--externals/grill/py/build-win-pd-msvc.bat3
-rw-r--r--externals/grill/py/config-lnx-gcc.txt12
-rw-r--r--externals/grill/py/config-mac-gcc.txt6
-rw-r--r--externals/grill/py/config-pd-bcc.txt31
-rwxr-xr-xexternals/grill/py/config-pd-darwin.txt28
-rw-r--r--externals/grill/py/config-pd-linux.txt35
-rw-r--r--externals/grill/py/config-win-max-msvc.txt11
-rw-r--r--externals/grill/py/config-win-msvc.txt9
-rw-r--r--externals/grill/py/config-win-pd-msvc.txt12
-rw-r--r--externals/grill/py/makefile-lnx-gcc.txt9
-rw-r--r--externals/grill/py/makefile-mac-gcc.txt8
-rw-r--r--externals/grill/py/makefile-win-msvc.txt5
-rw-r--r--externals/grill/py/makefile.pd-bcc81
-rwxr-xr-xexternals/grill/py/makefile.pd-darwin83
-rw-r--r--externals/grill/py/makefile.pd-linux111
-rw-r--r--externals/grill/py/py.cwbin55947 -> 0 bytes
-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
53 files changed, 95 insertions, 1099 deletions
diff --git a/externals/grill/py/build-lnx-pd-gcc.sh b/externals/grill/py/build-lnx-pd-gcc.sh
new file mode 100644
index 00000000..e76f5ed1
--- /dev/null
+++ b/externals/grill/py/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/py/build-mac-pd-gcc.sh b/externals/grill/py/build-mac-pd-gcc.sh
new file mode 100644
index 00000000..a88a3dbb
--- /dev/null
+++ b/externals/grill/py/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/py/build-pd-bcc.bat b/externals/grill/py/build-pd-bcc.bat
deleted file mode 100644
index 3dd21329..00000000
--- a/externals/grill/py/build-pd-bcc.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-@echo --- Building with BorlandC++ ---
-
-make -f makefile.pd-bcc
diff --git a/externals/grill/py/build-pd-darwin.sh b/externals/grill/py/build-pd-darwin.sh
deleted file mode 100755
index edd03207..00000000
--- a/externals/grill/py/build-pd-darwin.sh
+++ /dev/null
@@ -1,11 +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/py/build-pd-linux.sh b/externals/grill/py/build-pd-linux.sh
deleted file mode 100755
index 421cb6e1..00000000
--- a/externals/grill/py/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/py/build-win-max-msvc.bat b/externals/grill/py/build-win-max-msvc.bat
index 436f6a8e..fcbccf23 100644
--- a/externals/grill/py/build-win-max-msvc.bat
+++ b/externals/grill/py/build-win-max-msvc.bat
@@ -1,4 +1,3 @@
@echo --- Building with MS Visual C++ ---
-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/py/build-win-pd-msvc.bat b/externals/grill/py/build-win-pd-msvc.bat
index 942ee174..5a3958b9 100644
--- a/externals/grill/py/build-win-pd-msvc.bat
+++ b/externals/grill/py/build-win-pd-msvc.bat
@@ -1,4 +1,3 @@
@echo --- Building with MS Visual C++ ---
-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/py/config-lnx-gcc.txt b/externals/grill/py/config-lnx-gcc.txt
new file mode 100644
index 00000000..737a5947
--- /dev/null
+++ b/externals/grill/py/config-lnx-gcc.txt
@@ -0,0 +1,12 @@
+# 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.
+
+# what is the base prefix of the Python
+PYTHONPREFIX=/usr
+
+# which Python version do you want to compile against
+PYTHONVERSION=2.3
diff --git a/externals/grill/py/config-mac-gcc.txt b/externals/grill/py/config-mac-gcc.txt
new file mode 100644
index 00000000..5fdc44fb
--- /dev/null
+++ b/externals/grill/py/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/py/config-pd-bcc.txt b/externals/grill/py/config-pd-bcc.txt
deleted file mode 100644
index 9137590d..00000000
--- a/externals/grill/py/config-pd-bcc.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-# py/pyext - python script objects for PD and Max/MSP
-# Copyright (c) 2002 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
-
-# which version of Python?
-PYTHONVER=python23
-
-# where are the python header files?
-PYTHONINCLUDE=c:\programme\prog\$(PYTHONVER)\include
-
-# what is the python library file?
-PYTHONBIN=c:\windows\system32\$(PYTHONVER).dll
-
-# 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
-
diff --git a/externals/grill/py/config-pd-darwin.txt b/externals/grill/py/config-pd-darwin.txt
deleted file mode 100755
index 427395fa..00000000
--- a/externals/grill/py/config-pd-darwin.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-# py/pyext - python script objects for PD and Max/MSP
-# Copyright (c) 2002 Thomas Grill (xovo@gmx.net)
-#
-# your c++ compiler (define only if not g++)
-# CXX=g++
-
-# 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
-PDPATH=../../../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 should flext libraries be built?
-TARGDIR=./pd-darwin
-# where should the external be installed?
-# (leave blank to omit installation)
-INSTPATH=/usr/local/lib/pd/extra
-
-# user flags
-UFLAGS=-malign-power -faltivec -maltivec
-
-# use shared flext library
-FLEXT_SHARED=1
diff --git a/externals/grill/py/config-pd-linux.txt b/externals/grill/py/config-pd-linux.txt
deleted file mode 100644
index 19692e54..00000000
--- a/externals/grill/py/config-pd-linux.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-# py/pyext - python script objects for PD and Max/MSP
-# Copyright (c) 2002 Thomas Grill (xovo@gmx.net)
-#
-
-# your c++ compiler (define only if not g++)
-# CXX=g++
-
-# 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
-PDPATH=
-
-# where do the flext libraries reside?
-FLEXTPATH=/usr/local/lib/pd/flext
-
-# what is the python version?
-PYTHONVER=2.3
-# where are the python header files?
-PYTHONINCLUDE=/usr/local/include/python${PYTHONVER}
-# where is the python library file?
-# in most cases this need only be specified for static linking
-# PYTHONLIB=/usr/local/lib/python${PYTHONVER}/config
-
-# where should flext libraries be built?
-TARGDIR=./pd-linux
-
-# where should the external be installed?
-# (leave blank to omit installation)
-INSTPATH=/usr/local/lib/pd/extra
-
-# define for shared build
-#FLEXT_SHARED=1
-
-# additional user flags
-UFLAGS=
diff --git a/externals/grill/py/config-win-max-msvc.txt b/externals/grill/py/config-win-max-msvc.txt
deleted file mode 100644
index 6ea09abd..00000000
--- a/externals/grill/py/config-win-max-msvc.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-# py/pyext - python script objects for PD and Max/MSP
-# Copyright (c)2002-04 Thomas Grill (gr@grrrr.org)
-#
-#
-# Your settings are defined in the file
-# ..\flext\build\config-win-max-msvc.txt
-#
-# You can override them here.
-
-# where is the Python installation?
-PYTHONPATH=c:\programme\prog\python24
diff --git a/externals/grill/py/config-win-msvc.txt b/externals/grill/py/config-win-msvc.txt
new file mode 100644
index 00000000..9c2a195a
--- /dev/null
+++ b/externals/grill/py/config-win-msvc.txt
@@ -0,0 +1,9 @@
+# Your settings are defined in the files
+# ..\flext\build\config-win-pd-msvc.txt
+# and
+# ..\flext\build\config-win-max-msvc.txt
+#
+# You can override them here.
+
+# where is the Python installation?
+PYTHONPATH=c:\programme\prog\python24
diff --git a/externals/grill/py/config-win-pd-msvc.txt b/externals/grill/py/config-win-pd-msvc.txt
deleted file mode 100644
index 828b469c..00000000
--- a/externals/grill/py/config-win-pd-msvc.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-# py/pyext - python script objects for PD and Max/MSP
-# Copyright (c)2002-04 Thomas Grill (gr@grrrr.org)
-#
-#
-# Your settings are defined in the file
-# ..\flext\build\config-win-pd-msvc.txt
-#
-# You can override them here.
-
-
-# where is the Python installation?
-PYTHONPATH=c:\programme\prog\python24
diff --git a/externals/grill/py/makefile-lnx-gcc.txt b/externals/grill/py/makefile-lnx-gcc.txt
new file mode 100644
index 00000000..a536803d
--- /dev/null
+++ b/externals/grill/py/makefile-lnx-gcc.txt
@@ -0,0 +1,9 @@
+# usage:
+# to build run "sh build-mac-max-gcc.sh" or "sh build-mac-pd-gcc.sh"
+#
+
+INCPATH += -I$(PYTHONPREFIX)/include/python$(PYTHONVERSION)
+LIBS += -lpython$(PYTHONVERSION)
+
+# multi-threaded build
+THREADED=1
diff --git a/externals/grill/py/makefile-mac-gcc.txt b/externals/grill/py/makefile-mac-gcc.txt
new file mode 100644
index 00000000..c1ed50cb
--- /dev/null
+++ b/externals/grill/py/makefile-mac-gcc.txt
@@ -0,0 +1,8 @@
+# usage:
+# to build run "sh build-mac-max-gcc.sh" or "sh build-mac-pd-gcc.sh"
+#
+
+LIBS += -framework Python
+
+# multithreaded build
+THREADED=1
diff --git a/externals/grill/py/makefile-win-msvc.txt b/externals/grill/py/makefile-win-msvc.txt
index 9d923235..0dea185b 100644
--- a/externals/grill/py/makefile-win-msvc.txt
+++ b/externals/grill/py/makefile-win-msvc.txt
@@ -1,6 +1,3 @@
-# py/pyext - python script object for PD and Max/MSP
-# Copyright (C)2002-04 Thomas Grill (gr@grrrr.org)
-#
# Makefile for MSVC++ 6 and 7
#
# usage:
@@ -12,4 +9,4 @@ INCPATH=/I$(PYTHONPATH)\include
LIBPATH=/LIBPATH:$(PYTHONPATH)\libs
# multithreaded build
-FLEXT_THREADED=1
+THREADED=1
diff --git a/externals/grill/py/makefile.pd-bcc b/externals/grill/py/makefile.pd-bcc
deleted file mode 100644
index 9141ffb8..00000000
--- a/externals/grill/py/makefile.pd-bcc
+++ /dev/null
@@ -1,81 +0,0 @@
-# py/pyext - python script object for PD and MaxMSP
-# Copyright (C) 2002 Thomas Grill
-#
-# Makefile for BorlandC++
-#
-# usage: make -f makefile.pd-bcc
-#
-# ... no threads!
-#
-# ---------------------------------------------
-
-!include config-pd-bcc.txt
-
-NAME=py
-SETUPFUNCTION=$(NAME)_setup
-
-# flext stuff
-TARGET=pdwin
-
-# includes, libs
-INCPATH=-I$(BCCPATH)\include -I$(PYTHONINCLUDE) -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=-6 -O2 -OS -ff -tWD
-
-
-# the rest can stay untouched
-# ----------------------------------------------
-
-# all the source files from the package
-!include make-files.txt
-
-# 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)\python.lib: $(PYTHONBIN)
- implib -a $< $**
-
-$(OUTPATH)\$(NAME).def:
- @echo EXPORTS $(SETUPFUNCTION) = _$(SETUPFUNCTION) > $<
- @echo IMPORTS _Py_Initialize = $(PYTHONVER).Py_Initialize >> $<
- @echo IMPORTS _Py_Finalize = $(PYTHONVER).Py_Finalize >> $<
-
-$(OUTPATH)\$(NAME).dll :: $(OUTPATH) $(OUTPATH)\$(NAME).def $(OUTPATH)\pd.lib $(OUTPATH)\python.lib
-
-$(OUTPATH)\$(NAME).dll :: $(OBJS)
- cd $(OUTPATH)
- ilink32 -C -Tpd $(LIBPATH) $** ,..\$<,,$(LIBS) pd.lib python.lib $(FLEXTPATH)\flext-$(TARGET).lib ,$(NAME).def
- cd ..
-
- \ No newline at end of file
diff --git a/externals/grill/py/makefile.pd-darwin b/externals/grill/py/makefile.pd-darwin
deleted file mode 100755
index 46e50bab..00000000
--- a/externals/grill/py/makefile.pd-darwin
+++ /dev/null
@@ -1,83 +0,0 @@
-# py/pyext - python script objects for PD and Max/MSP
-# Copyright (C) 2002 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for gcc @ darwin (OSX)
-#
-# usage:
-# to build run "make -f makefile.pd-darwin"
-# to install (as root), do "make -f makefile.pd-darwin install"
-#
-
-CONFIG=config-pd-darwin.txt
-
-include ${CONFIG}
-
-# compiler+linker stuff
-INCLUDES=${PDPATH} ${FLEXTPATH}
-FLAGS=-DFLEXT_SYS=2
-CFLAGS=$(UFLAGS) -Wno-long-double -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes
-LIBS=m
-FRAMEWORKS=Python Carbon
-LDFLAGS=-bundle -bundle_loader ${PD}
-
-ifndef DEBUG
-CFLAGS+=-O2
-else
-CFLAGS+=-g
-endif
-
-ifdef FLEXT_SHARED
-
-CFLAGS+=-DFLEXT_SHARED
-LDFLAGS+=-L$(FLEXTPATH)
-FLEXTLIB=-lflext
-
-else
-
-CFLAGS+=-DFLEXT_THREADS
-FLEXTLIB=$(FLEXTPATH)/libflext_t.a
-
-endif
-
-# ---------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-# all the source files from the package
-include make-files.txt
-
-
-TARGET=$(TARGDIR)/$(NAME).pd_darwin
-MAKEFILE=makefile.pd-darwin
-
-# default target
-all: $(TARGDIR) $(TARGET)
-
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(MAKEFILE) $(CONFIG)
- touch $@
-
-$(TARGDIR):
- -mkdir $(TARGDIR)
-
-$(TARGDIR)/%.o : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES)) $< -o $@
-
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
- $(CXX) $(LDFLAGS) $^ $(FLEXTLIB) $(patsubst %,-framework %,$(FRAMEWORKS)) $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@
- chmod 755 $@
-
-$(INSTPATH):
- -mkdir $(INSTPATH)
-
-install:: $(INSTPATH)
-
-install:: $(TARGET)
- cp $^ $(INSTPATH)
-# chown root.root $(patsubst %,$(INSTPATH)/%,$(notdir $^))
-# chmod 755 $(patsubst %,$(INSTPATH)/%,$(notdir $^))
-
-.PHONY: clean
-
-clean:
- rm -f $(TARGDIR)/*.o $(TARGET)
-
-
diff --git a/externals/grill/py/makefile.pd-linux b/externals/grill/py/makefile.pd-linux
deleted file mode 100644
index 2b725264..00000000
--- a/externals/grill/py/makefile.pd-linux
+++ /dev/null
@@ -1,111 +0,0 @@
-# py/pyext - python script object for PD and Max/MSP
-# Copyright (C) 2002 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
-MAKEFILE=makefile.pd-linux
-
-include $(CONFIG)
-
-
-# compiler+linker stuff
-INCLUDES=$(PDPATH) $(PYTHONINCLUDE)
-LIBPATH=$(PYTHONLIB)
-FLAGS=-DFLEXT_SYS=2
-CFLAGS=-pthread $(UFLAGS)
-LDFLAGS=$(UFLAGS) # needed by icc
-LIBS=util python$(PYTHONVER)
-
-ifdef DEBUG
-CFLAGS+=-g -DFLEXT_DEBUG
-else
-CFLAGS+=-O2
-endif
-
-ifdef FLEXT_SHARED
-CFLAGS+=-shared
-FLAGS+=-DFLEXT_SHARED
-LIBPATH+=$(FLEXTPATH)
-
-ifdef DEBUG
-LIBFLEXT=-lflext_d
-else
-LIBFLEXT=-lflext
-endif
-
-ifeq ($(CXX),icc)
-LDFLAGS+=-i_dynamic
-else
-LDFLAGS+=-Wl,-Bdynamic
-endif
-
-else
-
-FLAGS+=-DFLEXT_THREADS
-ifdef DEBUG
-LIBFLEXT=$(FLEXTPATH)/libflext_td.a
-else
-LIBFLEXT=$(FLEXTPATH)/libflext_t.a
-endif
-
-endif
-
-
-# ---------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-
-NAME=py
-
-# all the source files from the package
-include make-files.txt
-
-TARGET=$(TARGDIR)/$(NAME).pd_linux
-
-# default target
-all: $(TARGDIR) $(TARGET)
-
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(MAKEFILE) $(CONFIG)
- touch $@
-
-$(TARGDIR):
- -mkdir $(TARGDIR)
-
-$(TARGDIR)/%.o : $(SRCDIR)/%.cpp
- $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
-
-$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
- $(CXX) -shared $(LDFLAGS) -o $@ $^ $(patsubst %,-L%,$(LIBPATH)) $(LIBFLEXT) $(patsubst %,-l%,$(LIBS))
-ifndef DEBUG
- strip --strip-unneeded $@
-endif
- chmod 755 $@
-
-$(INSTPATH):
- -mkdir $(INSTDIR)
-
-install:: $(INSTDIR)
-
-install:: $(TARGET)
- cp $^ $(INSTPATH)
- chown root.root $(patsubst %,$(INSTPATH)/%,$(notdir $^))
- chmod 755 $(patsubst %,$(INSTPATH)/%,$(notdir $^))
-
-.PHONY: clean
-clean:
- rm -f $(TARGDIR)/*.o $(TARGET)
-
-
-
-
-
-
-
-
-
diff --git a/externals/grill/py/py.cw b/externals/grill/py/py.cw
deleted file mode 100644
index 0327d7a3..00000000
--- a/externals/grill/py/py.cw
+++ /dev/null
Binary files differ
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)