aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/dynext
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-12-19 05:10:46 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-12-19 05:10:46 +0000
commit1a8a5f119d8dc4e8b8f54867f419a2244468d4ef (patch)
treeb9cb67f612c8a11428d764f6fae10f41161b6f74 /externals/grill/dynext
parent1b56c59a0aec948ff76dac8a4a99be34d24f163f (diff)
updated make system
svn path=/trunk/; revision=2414
Diffstat (limited to 'externals/grill/dynext')
-rw-r--r--externals/grill/dynext/build-mac-pd-gcc.sh1
-rw-r--r--externals/grill/dynext/build-pd-linux.sh11
-rw-r--r--externals/grill/dynext/build-win-pd-msvc.bat3
-rw-r--r--externals/grill/dynext/build/package.txt (renamed from externals/grill/dynext/make-files.txt)16
-rw-r--r--externals/grill/dynext/config-mac-gcc.txt6
-rw-r--r--externals/grill/dynext/config-pd-linux.txt35
-rw-r--r--externals/grill/dynext/config-win-msvc.txt6
-rw-r--r--externals/grill/dynext/makefile-mac-gcc.txt3
-rw-r--r--externals/grill/dynext/makefile-win-msvc.txt4
-rw-r--r--externals/grill/dynext/makefile.pd-linux98
10 files changed, 8 insertions, 175 deletions
diff --git a/externals/grill/dynext/build-mac-pd-gcc.sh b/externals/grill/dynext/build-mac-pd-gcc.sh
deleted file mode 100644
index a88a3dbb..00000000
--- a/externals/grill/dynext/build-mac-pd-gcc.sh
+++ /dev/null
@@ -1 +0,0 @@
-make -f ../flext/build/gnumake.mak PLATFORM=mac RTSYS=pd COMPILER=gcc $*
diff --git a/externals/grill/dynext/build-pd-linux.sh b/externals/grill/dynext/build-pd-linux.sh
deleted file mode 100644
index 413650f7..00000000
--- a/externals/grill/dynext/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/dynext/build-win-pd-msvc.bat b/externals/grill/dynext/build-win-pd-msvc.bat
deleted file mode 100644
index 5a3958b9..00000000
--- a/externals/grill/dynext/build-win-pd-msvc.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-@echo --- Building with MS Visual C++ ---
-
-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/make-files.txt b/externals/grill/dynext/build/package.txt
index 4295a816..79ea7e88 100644
--- a/externals/grill/dynext/make-files.txt
+++ b/externals/grill/dynext/build/package.txt
@@ -1,8 +1,8 @@
-NAME=dyn~
-
-# all the source files from the package
-SRCDIR=src
-
-SRCS= main.cpp
-HDRS=
-
+NAME=dyn~
+
+# all the source files from the package
+SRCDIR=src
+
+SRCS= main.cpp
+HDRS=
+
diff --git a/externals/grill/dynext/config-mac-gcc.txt b/externals/grill/dynext/config-mac-gcc.txt
deleted file mode 100644
index 93669034..00000000
--- a/externals/grill/dynext/config-mac-gcc.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-# 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-linux.txt b/externals/grill/dynext/config-pd-linux.txt
deleted file mode 100644
index 8cb605be..00000000
--- a/externals/grill/dynext/config-pd-linux.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=
-
-# where are the PD source files?
-# (the normal header file doesn't work as g_canvas.h is not there)
-# please note that currently the development branch (e.g devel_0_36) is needed
-#
-PDPATH=/usr/src/pd-0.37-0/src
-
-# where do the flext libraries reside?
-FLEXTPATH=/usr/local/lib/pd/flext
-
-# 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
-
-
-# additional compiler flags
-# (check if they fit for your system!)
-# UFLAGS=-mcpu=pentiumpro # gcc 2.95
-# UFLAGS=-mcpu=pentium3 -msse # gcc 3.2
-
-# define for shared build
-#FLEXT_SHARED=1
-
diff --git a/externals/grill/dynext/config-win-msvc.txt b/externals/grill/dynext/config-win-msvc.txt
deleted file mode 100644
index effe3b0f..00000000
--- a/externals/grill/dynext/config-win-msvc.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-# 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/makefile-mac-gcc.txt b/externals/grill/dynext/makefile-mac-gcc.txt
deleted file mode 100644
index fed16156..00000000
--- a/externals/grill/dynext/makefile-mac-gcc.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-# 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
deleted file mode 100644
index 6e224bc0..00000000
--- a/externals/grill/dynext/makefile-win-msvc.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Makefile for MSVC++ 6 and .NET
-#
-# usage:
-# to build run "build-win-pd-msvc.bat"
diff --git a/externals/grill/dynext/makefile.pd-linux b/externals/grill/dynext/makefile.pd-linux
deleted file mode 100644
index 663fd67a..00000000
--- a/externals/grill/dynext/makefile.pd-linux
+++ /dev/null
@@ -1,98 +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 @ 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+linker stuff
-INCLUDES=$(PDPATH)
-LIBPATH=
-FLAGS=-DFLEXT_SYS=2
-CFLAGS=-O2 $(UFLAGS)
-LDFLAGS=$(UFLAGS) # needed by icc
-LIBS=stdc++
-
-
-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=dyn~
-
-# 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 $@ $^ $(LIBFLEXT) $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS))
- strip --strip-unneeded $@
- 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)
-
-
-
-
-
-
-
-
-