aboutsummaryrefslogtreecommitdiff
path: root/externals/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-10 04:39:52 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-02-10 04:39:52 +0000
commitcb6169700a30fce942f015a36bbc73c6df44edbc (patch)
tree54d5419dcae5d646dfe032e980d6679602d2cad6 /externals/Makefile
parent923bff4d37152bd2901465b172aee21f2aaa68fc (diff)
setup mapping lib with template Makefile+debian stuff
svn path=/trunk/; revision=13164
Diffstat (limited to 'externals/Makefile')
-rw-r--r--externals/Makefile29
1 files changed, 6 insertions, 23 deletions
diff --git a/externals/Makefile b/externals/Makefile
index c75beb1f..1ae42c4a 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -1525,31 +1525,14 @@ loaders_clean:
#------------------------------------------------------------------------------#
# MAPPING
-MAPPING_NAME=mapping
-MAPPING_OBJECTS := $(wildcard $(externals_src)/mapping/src/*.c)
-mapping: $(MAPPING_OBJECTS:.c=.$(EXTENSION))
-
-mapping_install: mapping
- install -d $(DESTDIR)$(objectsdir)/$(MAPPING_NAME)
-# no compiled objects yet...
-# install -p $(MAPPING_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(MAPPING_NAME)
- install -p $(externals_src)/mapping/*.pd $(DESTDIR)$(objectsdir)/$(MAPPING_NAME)
- install -d $(DESTDIR)$(helpdir)/$(MAPPING_NAME)
- install -p $(externals_src)/mapping/*-help.pd \
- $(DESTDIR)$(helpdir)/$(MAPPING_NAME)
-# install -d $(DESTDIR)$(manualsdir)/$(MAPPING_NAME)
- install -d $(DESTDIR)$(readmesdir)
- install -p $(externals_src)/mapping/README.txt \
- $(DESTDIR)$(readmesdir)/$(MAPPING_NAME).txt
-# install -d $(DESTDIR)$(examplesdir)/$(MAPPING_NAME)
-# install -p $(externals_src)/mapping/examples/*.pd \
-# $(DESTDIR)$(examplesdir)/$(MAPPING_NAME)
+mapping:
+ make -C $(externals_src)/mapping
+
+mapping_install:
+ make -C $(externals_src)/mapping DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install
mapping_clean:
- -rm -f -- $(externals_src)/mapping/*.$(EXTENSION)
- -rm -f -- $(externals_src)/mapping/src/*.o
- -rm -f -- $(externals_src)/mapping/*.bak
- -rm -f -- $(externals_src)/mapping/*.*~
+ make -C $(externals_src)/mapping clean
#------------------------------------------------------------------------------#