From cb6169700a30fce942f015a36bbc73c6df44edbc Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 10 Feb 2010 04:39:52 +0000 Subject: setup mapping lib with template Makefile+debian stuff svn path=/trunk/; revision=13164 --- externals/Makefile | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'externals/Makefile') 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 #------------------------------------------------------------------------------# -- cgit v1.2.1