aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-12-18 05:05:57 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-12-18 05:05:57 +0000
commit644f29e1bf35fdf22b4a686dfeeeb060883d9657 (patch)
tree957a9ad764e7dd53e9f74d53000873d22465ff1a /externals
parent50d01b1366e4e99ea32e73015780bcddceace893 (diff)
use flext build system
updated build system svn path=/trunk/; revision=2410
Diffstat (limited to 'externals')
-rw-r--r--externals/grill/dynext/build-mac-pd-gcc.sh1
-rw-r--r--externals/grill/dynext/build-pd-darwin.sh11
-rw-r--r--externals/grill/dynext/build-win-pd-msvc.bat3
-rw-r--r--externals/grill/dynext/config-mac-gcc.txt6
-rw-r--r--externals/grill/dynext/config-pd-darwin.txt35
-rw-r--r--externals/grill/dynext/config-win-msvc.txt6
-rw-r--r--externals/grill/dynext/config-win-pd-msvc.txt11
-rw-r--r--externals/grill/dynext/makefile-mac-gcc.txt3
-rw-r--r--externals/grill/dynext/makefile-win-msvc.txt6
-rw-r--r--externals/grill/dynext/makefile.pd-darwin86
10 files changed, 17 insertions, 151 deletions
diff --git a/externals/grill/dynext/build-mac-pd-gcc.sh b/externals/grill/dynext/build-mac-pd-gcc.sh
new file mode 100644
index 00000000..a88a3dbb
--- /dev/null
+++ b/externals/grill/dynext/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/dynext/build-pd-darwin.sh b/externals/grill/dynext/build-pd-darwin.sh
deleted file mode 100644
index edd03207..00000000
--- a/externals/grill/dynext/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/dynext/build-win-pd-msvc.bat b/externals/grill/dynext/build-win-pd-msvc.bat
index 942ee174..5a3958b9 100644
--- a/externals/grill/dynext/build-win-pd-msvc.bat
+++ b/externals/grill/dynext/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/dynext/config-mac-gcc.txt b/externals/grill/dynext/config-mac-gcc.txt
new file mode 100644
index 00000000..93669034
--- /dev/null
+++ b/externals/grill/dynext/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/dynext/config-pd-darwin.txt b/externals/grill/dynext/config-pd-darwin.txt
deleted file mode 100644
index 7494d33b..00000000
--- a/externals/grill/dynext/config-pd-darwin.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-# dyn~ - dynamic object management for PD
-#
-# Copyright (c)Thomas Grill (xovo@gmx.net)
-# For information on usage and redistribution, and for a DISCLAIMER OF ALL
-# WARRANTIES, see the file, "license.txt," in this distribution.
-#
-
-# your c++ compiler (define only if not g++)
-# CXX=gcc-3.3
-
-# 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 dyn be installed?
-# (leave blank to omit installation)
-INSTPATH=/usr/local/lib/pd/extra
-
-# additional compiler flags
-# (check if they fit for your system!)
-UFLAGS=-malign-power -maltivec -faltivec
-
-# build with a shared flext library
-FLEXT_SHARED=1
-
diff --git a/externals/grill/dynext/config-win-msvc.txt b/externals/grill/dynext/config-win-msvc.txt
new file mode 100644
index 00000000..effe3b0f
--- /dev/null
+++ b/externals/grill/dynext/config-win-msvc.txt
@@ -0,0 +1,6 @@
+# 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.
diff --git a/externals/grill/dynext/config-win-pd-msvc.txt b/externals/grill/dynext/config-win-pd-msvc.txt
deleted file mode 100644
index ac393b7d..00000000
--- a/externals/grill/dynext/config-win-pd-msvc.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-# dyn~ - dynamic object management for PD
-#
-# Copyright (c)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.
-#
-#
-# Your settings are defined in the file
-# ..\flext\build\config-win-max-msvc.txt
-#
-# You can override them here.
diff --git a/externals/grill/dynext/makefile-mac-gcc.txt b/externals/grill/dynext/makefile-mac-gcc.txt
new file mode 100644
index 00000000..fed16156
--- /dev/null
+++ b/externals/grill/dynext/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/dynext/makefile-win-msvc.txt b/externals/grill/dynext/makefile-win-msvc.txt
index 06048ae9..6e224bc0 100644
--- a/externals/grill/dynext/makefile-win-msvc.txt
+++ b/externals/grill/dynext/makefile-win-msvc.txt
@@ -1,9 +1,3 @@
-# dyn~ - dynamic object management for PD
-#
-# Copyright (c)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.
-#
# Makefile for MSVC++ 6 and .NET
#
# usage:
diff --git a/externals/grill/dynext/makefile.pd-darwin b/externals/grill/dynext/makefile.pd-darwin
deleted file mode 100644
index d12a685c..00000000
--- a/externals/grill/dynext/makefile.pd-darwin
+++ /dev/null
@@ -1,86 +0,0 @@
-# dyn~ - dynamic object management for PD
-#
-# Copyright (c)Thomas Grill (xovo@gmx.net)
-# For information on usage and redistribution, and for a DISCLAIMER OF ALL
-# WARRANTIES, see the file, "license.txt," in this distribution.
-#
-#
-# 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)
-LIBPATH=
-FLAGS=-DFLEXT_SYS=2
-CFLAGS=-O2 ${UFLAGS} -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes
-LIBS=m
-FRAMEWORKS=vecLib
-LDFLAGS+=-Wl,-x -Wl,-S -bundle -bundle_loader $(PD)
-
-ifdef FLEXT_SHARED
-CFLAGS+=-DFLEXT_SHARED
-LDFLAGS+=-L$(FLEXTPATH)
-FLEXTLIB=-lflext
-
-else
-
-FLEXTLIB=$(FLEXTPATH)/libflext.a
-
-endif
-
-
-# ---------------------------------------------
-# the rest can stay untouched
-# ----------------------------------------------
-
-# all the source files from the package
-include make-files.txt
-
-TARGET=$(TARGDIR)/$(NAME).pd_darwin
-
-# default target
-all: $(TARGDIR) $(TARGET)
-
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(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) $(LDFLAGS) $^ $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) $(patsubst %,-framework %,$(FRAMEWORKS)) $(FLEXTLIB) -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)
-
-
-
-
-
-
-
-
-