From 1a8a5f119d8dc4e8b8f54867f419a2244468d4ef Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sun, 19 Dec 2004 05:10:46 +0000 Subject: updated make system svn path=/trunk/; revision=2414 --- externals/grill/dynext/build-mac-pd-gcc.sh | 1 - externals/grill/dynext/build-pd-linux.sh | 11 ---- externals/grill/dynext/build-win-pd-msvc.bat | 3 - externals/grill/dynext/build/package.txt | 8 +++ externals/grill/dynext/config-mac-gcc.txt | 6 -- externals/grill/dynext/config-pd-linux.txt | 35 ---------- externals/grill/dynext/config-win-msvc.txt | 6 -- externals/grill/dynext/make-files.txt | 8 --- externals/grill/dynext/makefile-mac-gcc.txt | 3 - externals/grill/dynext/makefile-win-msvc.txt | 4 -- externals/grill/dynext/makefile.pd-linux | 98 ---------------------------- 11 files changed, 8 insertions(+), 175 deletions(-) delete mode 100644 externals/grill/dynext/build-mac-pd-gcc.sh delete mode 100644 externals/grill/dynext/build-pd-linux.sh delete mode 100644 externals/grill/dynext/build-win-pd-msvc.bat create mode 100644 externals/grill/dynext/build/package.txt delete mode 100644 externals/grill/dynext/config-mac-gcc.txt delete mode 100644 externals/grill/dynext/config-pd-linux.txt delete mode 100644 externals/grill/dynext/config-win-msvc.txt delete mode 100644 externals/grill/dynext/make-files.txt delete mode 100644 externals/grill/dynext/makefile-mac-gcc.txt delete mode 100644 externals/grill/dynext/makefile-win-msvc.txt delete mode 100644 externals/grill/dynext/makefile.pd-linux (limited to 'externals/grill/dynext') 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/build/package.txt b/externals/grill/dynext/build/package.txt new file mode 100644 index 00000000..79ea7e88 --- /dev/null +++ b/externals/grill/dynext/build/package.txt @@ -0,0 +1,8 @@ +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/make-files.txt b/externals/grill/dynext/make-files.txt deleted file mode 100644 index 4295a816..00000000 --- a/externals/grill/dynext/make-files.txt +++ /dev/null @@ -1,8 +0,0 @@ -NAME=dyn~ - -# all the source files from the package -SRCDIR=src - -SRCS= main.cpp -HDRS= - 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) - - - - - - - - - -- cgit v1.2.1