From fd84554bcc90d9f3d1be7702866143ef75e886f0 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 21 Feb 2010 05:08:54 +0000 Subject: ported to new template Makefile and debianized it svn path=/trunk/; revision=13184 --- externals/Makefile | 36 +++++++----------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) (limited to 'externals/Makefile') diff --git a/externals/Makefile b/externals/Makefile index 715d18c9..6b6ceebc 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -1595,39 +1595,17 @@ moocow_clean: -rm -f -- $(MOOCOW_DIR)/*.*~ + #------------------------------------------------------------------------------# # MOONLIB -MOONLIB_NAME=moonlib -MOONLIB_OBJECTS := $(wildcard $(externals_src)/moonlib/*.c) -moonlib: $(MOONLIB_OBJECTS:.c=.$(EXTENSION)) - -moonlib_install: moonlib - install -d $(DESTDIR)$(objectsdir)/$(MOONLIB_NAME) - $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(MOONLIB_NAME) \ - --author "Antoine Rousseau" \ - --version "0.2" - install -p $(MOONLIB_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(MOONLIB_NAME) - install -d $(DESTDIR)$(helpdir)/$(MOONLIB_NAME) - install -p $(externals_src)/moonlib/help/*.pd $(DESTDIR)$(objectsdir)/$(MOONLIB_NAME) - install -p $(externals_src)/moonlib/help/*.pd $(DESTDIR)$(helpdir)/$(MOONLIB_NAME) - install -p $(externals_src)/moonlib/help/*.gif $(DESTDIR)$(helpdir)/$(MOONLIB_NAME) - install -d $(DESTDIR)$(helpdir)/$(MOONLIB_NAME)/d - install -p $(externals_src)/moonlib/help/d/*.gif $(DESTDIR)$(helpdir)/$(MOONLIB_NAME)/d -# install -d $(DESTDIR)$(manualsdir)/$(MOONLIB_NAME) -# install -p $(externals_src)/moonlib/manual.txt \ -# $(DESTDIR)$(manualsdir)/$(MOONLIB_NAME) - install -d $(DESTDIR)$(readmesdir) - install -p $(externals_src)/moonlib/README.txt \ - $(DESTDIR)$(readmesdir)/$(MOONLIB_NAME).txt -# install -d $(DESTDIR)$(examplesdir)/$(MOONLIB_NAME) -# install -p $(externals_src)/moonlib/examples/*.pd \ -# $(DESTDIR)$(examplesdir)/$(MOONLIB_NAME) +moonlib: + make -C $(externals_src)/moonlib + +moonlib_install: + make -C $(externals_src)/moonlib DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install moonlib_clean: - -rm -f -- $(MOONLIB_OBJECTS:.c=.$(EXTENSION)) - -rm -f -- $(MOONLIB_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/moonlib/*.bak - -rm -f -- $(externals_src)/moonlib/*.*~ + make -C $(externals_src)/moonlib clean -- cgit v1.2.1