From 923bff4d37152bd2901465b172aee21f2aaa68fc Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 10 Feb 2010 00:34:05 +0000 Subject: re-arranged into libdir and setup with the template Makefile+debian stuff. renabled vv+ and vv- as vvplus and vvminus svn path=/trunk/; revision=13158 --- externals/Makefile | 35 +++++++---------------------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/externals/Makefile b/externals/Makefile index 0bbf906e..c75beb1f 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -2228,38 +2228,17 @@ sixaxis_clean: -rm -f -- $(externals_src)/io/sixaxis/*.*~ + #------------------------------------------------------------------------------# # SMLIB -SMLIB_NAME=smlib -# exclude SMlib.c since its just for the compiled library -SMLIB_OBJECTS := $(wildcard $(externals_src)/smlib/source/[a-z]*.c) -smlib: $(SMLIB_OBJECTS:.c=.$(EXTENSION)) - -smlib_install: smlib - install -d $(DESTDIR)$(objectsdir)/$(SMLIB_NAME) - $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(SMLIB_NAME) \ - --author "Johannes Taelman " \ - --license "GNU GPL" \ - --description "vector processing, vector analysis, vector synthesis, number stream analysis, number stream filters" - install -p $(SMLIB_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(SMLIB_NAME) - install -d $(DESTDIR)$(helpdir)/$(SMLIB_NAME) - install -p $(wildcard $(externals_src)/smlib/help/*.pd )\ - $(DESTDIR)$(helpdir)/$(SMLIB_NAME) - install -p $(wildcard $(externals_src)/smlib/help/*.pd )\ - $(DESTDIR)$(objectsdir)/$(SMLIB_NAME) -# install -d $(DESTDIR)$(manualsdir)/$(SMLIB_NAME) - install -d $(DESTDIR)$(readmesdir) - install -p $(externals_src)/smlib/readme.txt $(DESTDIR)$(readmesdir)/$(SMLIB_NAME).txt - install -d $(DESTDIR)$(examplesdir)/$(SMLIB_NAME) - install -p $(wildcard $(externals_src)/smlib/examples/*.pd) \ - $(DESTDIR)$(examplesdir)/$(SMLIB_NAME) +smlib: + make -C $(externals_src)/smlib -smlib_clean: - -rm -f -- $(SMLIB_OBJECTS:.c=.$(EXTENSION)) - -rm -f -- $(externals_src)/smlib/*.o - -rm -f -- $(externals_src)/smlib/*.bak - -rm -f -- $(externals_src)/smlib/*.*~ +smlib_install: + make -C $(externals_src)/smlib DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install +smlib_clean: + make -C $(externals_src)/smlib clean #------------------------------------------------------------------------------# -- cgit v1.2.1