aboutsummaryrefslogtreecommitdiff
path: root/externals/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-12-11 03:16:37 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-12-11 03:16:37 +0000
commit62c4917a0fe6d572a7223b229acf1e16e197ba33 (patch)
treefc305042eb86472a396e6b669814f36dab51834a /externals/Makefile
parent4f020135d8aab8d0c0bd6caf79664504ad7725b5 (diff)
- updated pd-extended build system for iemlib changes
svn path=/trunk/; revision=6773
Diffstat (limited to 'externals/Makefile')
-rw-r--r--externals/Makefile28
1 files changed, 9 insertions, 19 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 4607ad9b..d88e0608 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -1237,9 +1237,8 @@ iem16_clean:
#------------------------------------------------------------------------------#
# IEMLIB
IEMLIB_NAME=iemlib
-# omit the lib files and iem_mp3
-IEMLIB_OBJECTS := $(wildcard $(externals_src)/iemlib/src/*/[a-hj-z]*.c) \
-$(wildcard $(externals_src)/iemlib/src/*/iem_????*[^l][^i][^b]*.c)
+# omit the lib files and iem_mp3 (for patent reasons :( )
+IEMLIB_OBJECTS := $(wildcard $(externals_src)/iemlib/iem?[^m]*/src/[a-hj-z]*.c)
iemlib: $(IEMLIB_OBJECTS:.c=.$(EXTENSION))
iemlib_install: iemlib
@@ -1248,25 +1247,18 @@ iemlib_install: iemlib
--description "a collection of objects written at IEM/KUG" \
--license "GNU GPL"
install -p $(IEMLIB_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(IEMLIB_NAME)
- cd $(externals_src)/iemlib/iemabs/ && \
- install -p $(shell cd $(externals_src)/iemlib/iemabs/ && ls -1 *.pd | \
- grep -v 'help') $(objectsdir)/$(IEMLIB_NAME)
+ install -p $(externals_src)/iemlib/iemabs/*[^-][^h][^e][^l][^p].pd \
+ $(objectsdir)/$(IEMLIB_NAME)
install -d $(helpdir)/$(IEMLIB_NAME)
- install -p $(externals_src)/iemlib/iemabs/*-help.pd $(helpdir)/$(IEMLIB_NAME)
- install -p $(externals_src)/iemlib/iemabs/*.mp3 $(helpdir)/$(IEMLIB_NAME)
- install -p $(externals_src)/iemlib/iemabs/*.wav $(helpdir)/$(IEMLIB_NAME)
-# iemlib objects have their help path hard-coded :(
- install -d $(helpdir)/iemhelp
- install -p $(externals_src)/iemlib/iemhelp/*.* $(helpdir)/iemhelp
+ install -p $(externals_src)/iemlib/*/*-help.pd $(helpdir)/$(IEMLIB_NAME)
+ install -p $(externals_src)/iemlib/*/*.mp3 $(helpdir)/$(IEMLIB_NAME)
+ install -p $(externals_src)/iemlib/*/*.wav $(helpdir)/$(IEMLIB_NAME)
install -d $(examplesdir)/$(IEMLIB_NAME)
install -p $(externals_src)/iemlib/examples/*.* \
$(examplesdir)/$(IEMLIB_NAME)
install -d $(manualsdir)/$(IEMLIB_NAME)
- install -p $(externals_src)/iemlib/*.pdf \
- $(manualsdir)/$(IEMLIB_NAME)
- install -p $(externals_src)/iemlib/*.txt \
- $(manualsdir)/$(IEMLIB_NAME)
- install -p $(externals_src)/iemlib/iemabs/*.txt \
+ install -p $(externals_src)/iemlib/*.pdf $(externals_src)/iemlib/*.txt \
+ $(externals_src)/iemlib/iemabs/*.txt \
$(manualsdir)/$(IEMLIB_NAME)
@@ -1275,8 +1267,6 @@ iemlib_clean:
-rmdir -- $(objectsdir)/$(IEMLIB_NAME)
-rm -f -- $(helpdir)/$(IEMLIB_NAME)/*.*
-rmdir -- $(helpdir)/$(IEMLIB_NAME)
- -rm -f -- $(helpdir)/iemhelp/*.*
- -rmdir -- $(helpdir)/iemhelp
-rm -f -- $(examplesdir)/$(IEMLIB_NAME)/*.*
-rmdir -- $(examplesdir)/$(IEMLIB_NAME)
-rm -f -- $(manualsdir)/$(IEMLIB_NAME)/*.*