aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-21 04:53:44 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-21 04:53:44 +0000
commit71063c2d4cb1cf8686d4cb735738797a66a86041 (patch)
tree374d8a8018a326a22da551b94aca1caf55120109 /externals
parent900dccd714036e671b36e512f83ce56df18e840f (diff)
ported to library template and updated version to 1.0.3.1 to reflect bugfixes and doc updates
svn path=/trunk/; revision=14453
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile31
1 files changed, 6 insertions, 25 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 891e3382..63a293e9 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -1729,35 +1729,16 @@ unauthorized_clean:
-rm -f -- $(externals_src)/*.*~
-
#------------------------------------------------------------------------------#
# VBAP
-VBAP_NAME=vbap
-VBAP_OBJECTS := $(wildcard $(externals_src)/vbap/*.c)
-vbap: $(VBAP_OBJECTS:.c=.$(EXTENSION))
-
-vbap_install: vbap
- install -d $(DESTDIR)$(objectsdir)/$(VBAP_NAME)
- $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(VBAP_NAME) \
- --author "Ville Pulkki" \
- --description "Vector Based Amplitude Panning" \
- --version ""
- install -p $(VBAP_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(VBAP_NAME)
- install -p $(shell ls -1 $(externals_src)/vbap/*.pd | grep -v '-help.pd') \
- $(DESTDIR)$(objectsdir)/$(VBAP_NAME)
- install -p $(externals_src)/vbap/*-help.pd $(DESTDIR)$(objectsdir)/$(VBAP_NAME)
-# install -d $(DESTDIR)$(manualsdir)/$(VBAP_NAME)
-# install -p $(externals_src)/vbap/manual.txt \
-# $(DESTDIR)$(manualsdir)/$(VBAP_NAME)
- install -d $(DESTDIR)$(examplesdir)/$(VBAP_NAME)
- install -p $(externals_src)/vbap/*-demo.pd \
- $(DESTDIR)$(examplesdir)/$(VBAP_NAME)
+vbap:
+ make -C $(externals_src)/vbap PD_PATH=$(pd_src) PD_INCLUDE=$(pd_src)/src
+
+vbap_install:
+ make -C $(externals_src)/vbap DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install
vbap_clean:
- -rm -f -- $(VBAP_OBJECTS:.c=.$(EXTENSION))
- -rm -f -- $(VBAP_OBJECTS:.c=.o)
- -rm -f -- $(externals_src)/vbap/*.bak
- -rm -f -- $(externals_src)/vbap/*.*~
+ make -C $(externals_src)/vbap clean
#------------------------------------------------------------------------------#