aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-04-06 22:51:43 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-04-06 22:51:43 +0000
commit9acb9278ff61f7f4e873e3b2317914c95963d5e1 (patch)
tree55e1872b0e63947672d845bb6c29c70b48ba8fc5 /externals
parent68f6983362a0d946a085b7d0a950a0a56008ed8d (diff)
reorganized 'pdogg' for template Makefile and easy packaging
svn path=/trunk/; revision=13380
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile29
1 files changed, 6 insertions, 23 deletions
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