From 9acb9278ff61f7f4e873e3b2317914c95963d5e1 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 6 Apr 2010 22:51:43 +0000 Subject: reorganized 'pdogg' for template Makefile and easy packaging svn path=/trunk/; revision=13380 --- externals/Makefile | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'externals') diff --git a/externals/Makefile b/externals/Makefile index 6aa992bd..368c1573 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -1496,33 +1496,17 @@ pdlua_clean: -rm -f -- $(externals_src)/loaders/pdlua/*.*~ + #------------------------------------------------------------------------------# # PDOGG -PDOGG_NAME=pdogg -PDOGG_OBJECTS := $(wildcard $(externals_src)/pdogg/*/*.c) -pdogg: $(PDOGG_OBJECTS:.c=.$(EXTENSION)) +pdogg: + make -C $(externals_src)/pdogg -pdogg_install: pdogg - install -d $(DESTDIR)$(objectsdir)/$(PDOGG_NAME) - $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(PDOGG_NAME) \ - --author "Olaf Matthes" \ - --description "objects for reading, writing, and streaming ogg" \ - --license "LGPL" \ - --version "0.2" - install -p $(PDOGG_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(PDOGG_NAME) - install -p $(externals_src)/pdogg/*/*.pd \ - $(DESTDIR)$(objectsdir)/$(PDOGG_NAME) -# install -d $(DESTDIR)$(manualsdir)/$(PDOGG_NAME) - install -d $(DESTDIR)$(readmesdir) - install -p $(externals_src)/pdogg/readme \ - $(DESTDIR)$(readmesdir)/$(PDOGG_NAME).txt +pdogg_install: + make -C $(externals_src)/pdogg DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install pdogg_clean: - -rm -f -- $(externals_src)/pdogg/*/*.$(EXTENSION) - -rm -f -- $(externals_src)/pdogg/*/*.o - -rm -f -- $(externals_src)/pdogg/*/*.bak - -rm -f -- $(externals_src)/pdogg/*/*.*~ - -rm -f -- $(externals_src)/pdogg/*.*~ + make -C $(externals_src)/pdogg clean @@ -1695,7 +1679,6 @@ pmpd_clean: make -C $(externals_src)/pmpd clean - #------------------------------------------------------------------------------# # POSTLUDE POSTLUDE_NAME=postlude -- cgit v1.2.1