aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill')
-rw-r--r--externals/grill/xsample/build-max-msvc.bat4
-rw-r--r--externals/grill/xsample/build-pd-msvc.bat4
-rw-r--r--externals/grill/xsample/build-win-max-msvc.bat4
-rw-r--r--externals/grill/xsample/build-win-pd-msvc.bat4
-rw-r--r--externals/grill/xsample/config-max-msvc.txt28
-rw-r--r--externals/grill/xsample/config-pd-msvc.txt20
-rw-r--r--externals/grill/xsample/config-win-max-msvc.txt7
-rw-r--r--externals/grill/xsample/config-win-pd-msvc.txt7
-rw-r--r--externals/grill/xsample/makefile-win-msvc.txt8
-rw-r--r--externals/grill/xsample/makefile.max-msvc78
-rw-r--r--externals/grill/xsample/makefile.pd-msvc54
-rw-r--r--externals/grill/xsample/xsample.vcproj4
12 files changed, 32 insertions, 190 deletions
diff --git a/externals/grill/xsample/build-max-msvc.bat b/externals/grill/xsample/build-max-msvc.bat
deleted file mode 100644
index 130a3bc0..00000000
--- a/externals/grill/xsample/build-max-msvc.bat
+++ /dev/null
@@ -1,4 +0,0 @@
-@echo --- Building with MS Visual C++ ---
-
-nmake -f makefile.max-msvc clean
-nmake -f makefile.max-msvc
diff --git a/externals/grill/xsample/build-pd-msvc.bat b/externals/grill/xsample/build-pd-msvc.bat
deleted file mode 100644
index d6187f08..00000000
--- a/externals/grill/xsample/build-pd-msvc.bat
+++ /dev/null
@@ -1,4 +0,0 @@
-@echo --- Building with MS Visual C++ ---
-
-nmake -f makefile.pd-msvc clean
-nmake -f makefile.pd-msvc
diff --git a/externals/grill/xsample/build-win-max-msvc.bat b/externals/grill/xsample/build-win-max-msvc.bat
new file mode 100644
index 00000000..d99ba534
--- /dev/null
+++ b/externals/grill/xsample/build-win-max-msvc.bat
@@ -0,0 +1,4 @@
+@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
diff --git a/externals/grill/xsample/build-win-pd-msvc.bat b/externals/grill/xsample/build-win-pd-msvc.bat
new file mode 100644
index 00000000..942ee174
--- /dev/null
+++ b/externals/grill/xsample/build-win-pd-msvc.bat
@@ -0,0 +1,4 @@
+@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
diff --git a/externals/grill/xsample/config-max-msvc.txt b/externals/grill/xsample/config-max-msvc.txt
deleted file mode 100644
index 67db1e3c..00000000
--- a/externals/grill/xsample/config-max-msvc.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-
-# where is the Max SDK?
-# you should have the latest version!
-MAXSDKPATH="F:\prog\audio\MaxWinSDK\c74support"
-
-# where do the flext libraries reside?
-FLEXTPATH="%CommonProgramFiles%\Cycling '74\flext"
-
-# where is MS VC++?
-# (need not be defined if the build is started with the compiler environment set)
-# MSVCPATH="c:\programme\prog\microsoft visual studio\VC98"
-
-
-# where should the external be built?
-# (path for temporary files)
-OUTPATH=max-msvc
-
-# where should the external be installed?
-# (leave blank to omit installation)
-INSTPATH="%CommonProgramFiles%\Cycling '74\externals\flext"
-
-
-# some user-definable flags
-# (check if they match your system!)
-UFLAGS=/G6 /arch:SSE
diff --git a/externals/grill/xsample/config-pd-msvc.txt b/externals/grill/xsample/config-pd-msvc.txt
deleted file mode 100644
index 26aeb5ab..00000000
--- a/externals/grill/xsample/config-pd-msvc.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-
-# where is PD?
-PDPATH=c:\programme\audio\pd
-
-# where do the flext libraries reside?
-FLEXTPATH=$(PDPATH)\flext
-
-# where is MS VC++?
-# (not necessary if the build started with the compiler environment)
-# MSVCPATH=c:\programme\prog\microsoft visual studio\VC98
-
-# where should the external be built?
-OUTPATH=pd-msvc
-
-# where should the external be installed?
-# (leave blank to omit installation)
-INSTDIR=$(PDPATH)\extra
diff --git a/externals/grill/xsample/config-win-max-msvc.txt b/externals/grill/xsample/config-win-max-msvc.txt
new file mode 100644
index 00000000..5cc1cf7e
--- /dev/null
+++ b/externals/grill/xsample/config-win-max-msvc.txt
@@ -0,0 +1,7 @@
+# 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-pd-msvc.txt b/externals/grill/xsample/config-win-pd-msvc.txt
new file mode 100644
index 00000000..977e0e99
--- /dev/null
+++ b/externals/grill/xsample/config-win-pd-msvc.txt
@@ -0,0 +1,7 @@
+# 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-pd-msvc.txt
+#
+# You can override them here.
diff --git a/externals/grill/xsample/makefile-win-msvc.txt b/externals/grill/xsample/makefile-win-msvc.txt
new file mode 100644
index 00000000..d4398a9c
--- /dev/null
+++ b/externals/grill/xsample/makefile-win-msvc.txt
@@ -0,0 +1,8 @@
+# xsample - extended sample objects for Max/MSP and pd (pure data)
+# Copyright (c) 2001-2004 Thomas Grill (gr@grrrr.org)
+#
+# Makefile for MSVC++ 6 and .NET
+#
+# usage:
+# to build run "build-win-max-msvc.bat" or "build-win-pd-msvc.bat"
+#
diff --git a/externals/grill/xsample/makefile.max-msvc b/externals/grill/xsample/makefile.max-msvc
deleted file mode 100644
index 7901518c..00000000
--- a/externals/grill/xsample/makefile.max-msvc
+++ /dev/null
@@ -1,78 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for MSVC++ 6 and .NET
-#
-# usage:
-# to build run "make -f makefile.max-msvc"
-#
-
-!include config-max-msvc.txt
-
-# includes
-INCPATH=/I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes /I$(FLEXTPATH)
-LDFLAGS=/LIBPATH:$(FLEXTPATH)
-
-!ifdef MSVCPATH
-INCPATH=$(INCPATH) /I$(MSVCPATH)\include
-LDFLAGS=$(LDFLAGS) /LIBPATH:$(MSVCPATH)\lib
-!endif
-
-!ifdef _DEBUG
-LIBS=flext_d-maxwin.lib
-!else
-LIBS=flext-maxwin.lib
-!endif
-
-LDFLAGS=$(LDFLAGS) /LIBPATH:$(MAXSDKPATH)\max-includes /LIBPATH:$(MAXSDKPATH)\msp-includes
-
-LIBS=$(LIBS) maxapi.lib maxaudio.lib
-
-# compiler definitions and flags
-DEFS=/DFLEXT_SYS=1 $(UFLAGS)
-
-CFLAGS=/ML /GR- /GD /Ox /GX /Zp2
-
-# the rest can stay untouched
-# ----------------------------------------------
-
-# all the source files from the package
-!include make-files.txt
-
-# -----------------------------------------------
-
-NAME=xsample
-EXT=mxe
-DIR=source
-
-all: $(OUTPATH) $(OUTPATH)\$(NAME).$(EXT)
-
-# remove build
-clean:
- -del /q $(OUTPATH) > nul
- -rmdir $(OUTPATH) > nul
-
-OBJS= $(SRCS:.c=.obj)
-OBJS= $(OBJS:.objpp=.obj)
-
-
-$(OUTPATH):
- -mkdir $(OUTPATH) > nul
-
-{$(DIR)}.cpp{}.obj:
- cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(OUTPATH)/$@
-
-{$(DIR)}.c{}.obj:
- cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(OUTPATH)/$@
-
-
-$(OUTPATH)\$(NAME).$(EXT): $(OBJS)
- cd $(OUTPATH)
- link /DLL $(LDFLAGS) /out:$(NAME).$(EXT) /INCREMENTAL:NO $** $(LIBS) $(LIBPATH)
- @-del *.exp
- @-del *.lib
- cd ..
-!ifdef INSTPATH
- @-if not exist $(INSTPATH) mkdir $(INSTPATH)
- copy $@ $(INSTPATH) > nul
-!endif
diff --git a/externals/grill/xsample/makefile.pd-msvc b/externals/grill/xsample/makefile.pd-msvc
deleted file mode 100644
index 8b82928b..00000000
--- a/externals/grill/xsample/makefile.pd-msvc
+++ /dev/null
@@ -1,54 +0,0 @@
-# xsample - extended sample objects for Max/MSP and pd (pure data)
-# Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net)
-#
-# Makefile for MSVC++ 6
-#
-# usage:
-# to build run "make -f makefile.pd-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 pthreadVC.lib flext-pdwin.lib
-
-# compiler definitions and flags
-DEFS=/DFLEXT_SYS=2
-
-CFLAGS=/GR- /GX- /GD /G6 /Ox /EHsc /ML
-
-# the rest can stay untouched
-# ----------------------------------------------
-
-NAME=xsample
-
-!include make-files.txt
-
-
-all: $(OUTPATH) $(OUTPATH)\$(NAME).dll
-
-# remove build
-clean:
- -del /q $(OUTPATH) > nul
- -rmdir $(OUTPATH) > nul
-
-OBJS= $(SRCS:.cpp=.obj)
-
-$(OUTPATH):
- -mkdir $(OUTPATH) > nul
-
-{$(SRCDIR)}.cpp{}.obj:
- cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(OUTPATH)\$@
-
-$(OUTPATH)\$(NAME).dll: $(OBJS)
- cd $(OUTPATH)
- link /DLL /out:$(NAME).dll /INCREMENTAL:NO $** $(LIBS) $(LIBPATH)
- @-del *.exp
- @-del *.lib
- cd ..
-!ifdef INSTPATH
- @-if not exist $(INSTPATH) mkdir $(INSTPATH)
- copy $@ $(INSTPATH) > nul
-!endif
diff --git a/externals/grill/xsample/xsample.vcproj b/externals/grill/xsample/xsample.vcproj
index 5f0a0ce8..9eaacb77 100644
--- a/externals/grill/xsample/xsample.vcproj
+++ b/externals/grill/xsample/xsample.vcproj
@@ -148,7 +148,7 @@
Optimization="2"
InlineFunctionExpansion="1"
OptimizeForProcessor="2"
- AdditionalIncludeDirectories="f:\prog\pd\pd-cvs\src,f:\prog\packs\pthreads;..\flext\source"
+ AdditionalIncludeDirectories=""c:\data\prog\pd\pd-cvs\src";c:\data\prog\packs\pthreads;..\flext\source"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;FLEXT_SYS=2;FLEXT_SHARED"
StringPooling="TRUE"
RuntimeLibrary="2"
@@ -165,7 +165,7 @@
OutputFile="$(outdir)\xsample.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- AdditionalLibraryDirectories="f:\prog\pd\pd-cvs\bin;..\flext\pd-msvc"
+ AdditionalLibraryDirectories=""c:\data\prog\pd\pd-cvs\bin";"..\flext\pd-msvc""
ImportLibrary=".\pd-msvc\s/xsample.lib"
TargetMachine="1"/>
<Tool