aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-10 00:34:05 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-10 00:34:05 +0000
commit923bff4d37152bd2901465b172aee21f2aaa68fc (patch)
tree255889d9660c5401fc3c69842d4e3ecdc8ee7e87
parent1e3a5fd1fdacb395b671e957400a8f09f432f244 (diff)
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
-rw-r--r--externals/Makefile35
1 files 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 <johannes.taelman@rug.ac.be>" \
- --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
#------------------------------------------------------------------------------#