From 01aab57c555434ed663f3428e812106b89a6844f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 26 Apr 2010 03:10:47 +0000 Subject: converted maxlib to use libdir template, in preparations for debianizing it svn path=/trunk/; revision=13476 --- externals/Makefile | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'externals/Makefile') diff --git a/externals/Makefile b/externals/Makefile index 2e121ea0..3f01824e 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -1223,33 +1223,16 @@ markex_install: markex_clean: make -C $(externals_src)/markex clean - #------------------------------------------------------------------------------# # MAXLIB -MAXLIB_NAME=maxlib -MAXLIB_OBJECTS := $(wildcard $(externals_src)/maxlib/src/*.c) -maxlib: $(MAXLIB_OBJECTS:.c=.$(EXTENSION)) - -maxlib_install: maxlib - install -d $(DESTDIR)$(objectsdir)/$(MAXLIB_NAME) - $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(MAXLIB_NAME) \ - --author "Olaf Matthes " \ - --license "GNU GPL" \ - --version "1.5.2-cvs" - install -p $(MAXLIB_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(MAXLIB_NAME) - install -p $(wildcard $(externals_src)/maxlib/help/*.pd) \ - $(DESTDIR)$(objectsdir)/$(MAXLIB_NAME) -# install -d $(DESTDIR)$(manualsdir)/$(MAXLIB_NAME) - install -d $(DESTDIR)$(readmesdir) - install -p $(externals_src)/maxlib/README \ - $(DESTDIR)$(readmesdir)/$(MAXLIB_NAME).txt +maxlib: + make -C $(externals_src)/maxlib + +maxlib_install: + make -C $(externals_src)/maxlib DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install maxlib_clean: - -rm -f -- $(externals_src)/maxlib/src/*.$(EXTENSION) - -rm -f -- $(externals_src)/maxlib/src/*.o - -rm -f -- $(externals_src)/maxlib/*/*.bak - -rm -f -- $(externals_src)/maxlib/*/*.*~ - -rm -f -- $(externals_src)/maxlib/*.*~ + make -C $(externals_src)/maxlib clean #------------------------------------------------------------------------------# -- cgit v1.2.1