aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-09 05:18:11 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-09 05:18:11 +0000
commiteb411f24fa8531f4eb4224835b2a44dc3ffd7261 (patch)
tree0dac77097944a60b376f3275c89ecd5c2186cfe7
parented3b4352873ded4ea98058d5ed95fd0ff5b87c52 (diff)
converted 'iemmatrix' and 'freeverb' to proper libdir targets; iemmatrix
probably needs a lot of work in order for everything to work properly, IIRC. svn path=/trunk/; revision=5531
-rw-r--r--externals/Makefile50
1 files changed, 39 insertions, 11 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 3e660762..1f5697a2 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -764,15 +764,16 @@ FREEVERB_OBJECTS := $(wildcard $(externals_src)/freeverb~/*.c)
freeverb: $(FREEVERB_OBJECTS:.c=.$(EXTENSION))
freeverb_install: freeverb
- install -d $(objectsdir)
-# $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(FREEVERB_NAME) \
-# --author "Olaf Matthes and Jezar Wakefield" \
-# --description "Freeverb is a simple implementation of the standard Schroeder/Moorer reverb model" \
-# --license "GNU GPL" \
-# --version "1.2"
- install -p $(FREEVERB_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)
+ install -d $(objectsdir)/$(FREEVERB_NAME)
+ $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(FREEVERB_NAME) \
+ --author "Olaf Matthes and Jezar Wakefield" \
+ --description "Freeverb is a simple implementation of the standard Schroeder/Moorer reverb model" \
+ --license "GNU GPL" \
+ --version "1.2"
+ install -p $(FREEVERB_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(FREEVERB_NAME)
install -d $(helpdir)
- install -p $(wildcard $(externals_src)/freeverb~/*-help.pd) $(helpdir)
+ install -p $(wildcard $(externals_src)/freeverb~/*-help.pd) \
+ $(helpdir)/$(FREEVERB_NAME)
# install -d $(manualsdir)/$(FREEVERB_NAME)
install -d $(readmesdir)
install -p $(externals_src)/freeverb~/README \
@@ -1181,22 +1182,49 @@ iemlib_clean:
-rmdir -- $(manualsdir)/$(IEMLIB_NAME)
+
+
#------------------------------------------------------------------------------#
# IEMMATRIX
IEMMATRIX_NAME=iemmatrix
-iemmatrix:
+IEMMATRIX_OBJECTS := $(wildcard $(externals_src)/iem/iemmatrix/src/mtx_*.c)
+IEMMATRIX_VERSION := $(shell echo $(externals_src)/iem/iemmatrix/VERSION.txt)
+iemmatrix: $(IEMMATRIX_OBJECTS:.c=.$(EXTENSION))
iemmatrix_install: iemmatrix
install -d $(objectsdir)/$(IEMMATRIX_NAME)
$(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(IEMMATRIX_NAME) \
- --description "objects for matrix operations and math"
- mv $(objectsdir)/mtx*.$(EXTENSION) $(objectsdir)/$(IEMMATRIX_NAME)
+ --author "IOhannes m zmoelnig (zmoelnig AT iem DOT at), thomas musil (musil AT iem DOT at), franz zotter (zotter AT iem DOT at)" \
+ --description "objects for matrix operations and math" \
+ --license "GNU GPL" \
+ --version "$(IEMMATRIX_VERSION)"
+ install -p $(IEMMATRIX_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(IEMMATRIX_NAME)
install -p $(shell ls -1 $(externals_src)/iem/iemmatrix/abs/*.* | \
grep -v '\-help.pd') $(objectsdir)/$(IEMMATRIX_NAME)
install -d $(helpdir)/$(IEMMATRIX_NAME)
install -p $(externals_src)/iem/iemmatrix/doc/*.pd \
$(helpdir)/$(IEMMATRIX_NAME)
+ install -p $(externals_src)/iem/iemmatrix/abs/*-help.pd \
+ $(helpdir)/$(IEMMATRIX_NAME)
+ install -d $(manualsdir)/$(IEMMATRIX_NAME)
+ install -p $(externals_src)/iem/iemmatrix/*.txt \
+ $(manualsdir)/$(IEMMATRIX_NAME)
+# install -d $(readmesdir)
+# install -p $(externals_src)/iem/iemmatrix/README \
+# $(readmesdir)/$(IEMMATRIX_NAME).txt
+# install -d $(examplesdir)/$(IEMMATRIX_NAME)
+# install -p $(externals_src)/iem/iemmatrix/examples/*.pd \
+# $(examplesdir)/$(IEMMATRIX_NAME)
+
+iemmatrix_clean:
+ -rm -f -- $(IEMMATRIX_OBJECTS:.c=.$(EXTENSION))
+ -rm -f -- $(IEMMATRIX_OBJECTS:.c=.o)
+ -rm -f -- $(externals_src)/iem/iemmatrix/*.bak
+ -rm -f -- $(externals_src)/iem/iemmatrix/*.*~
+
+#iemmatrix_install: iemmatrix
+# mv $(objectsdir)/mtx*.$(EXTENSION) $(objectsdir)/$(IEMMATRIX_NAME)