From 71063c2d4cb1cf8686d4cb735738797a66a86041 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 21 Nov 2010 04:53:44 +0000 Subject: ported to library template and updated version to 1.0.3.1 to reflect bugfixes and doc updates svn path=/trunk/; revision=14453 --- externals/Makefile | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) (limited to 'externals/Makefile') 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 #------------------------------------------------------------------------------# -- cgit v1.2.1