diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-04-26 03:10:47 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-04-26 03:10:47 +0000 |
commit | 01aab57c555434ed663f3428e812106b89a6844f (patch) | |
tree | f10fe4a87b40a92c40eb5b434475e268e1d51fd2 /externals | |
parent | 14e225e32676efda6565d4a223e0e6e5896c8054 (diff) |
converted maxlib to use libdir template, in preparations for debianizing it
svn path=/trunk/; revision=13476
Diffstat (limited to 'externals')
-rw-r--r-- | externals/Makefile | 29 |
1 files changed, 6 insertions, 23 deletions
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 <olaf.matthes@gmx.de>" \ - --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 #------------------------------------------------------------------------------# |