aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-09 20:57:12 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-09 20:57:12 +0000
commit3a001e3bda44cd50064f37bc0af3bdb37ed46820 (patch)
treef0831ddb060c0e3467041dc0e5b61e0893bca749 /externals
parentfd28ee037cfc2e0a6444df765ddbdacbcea87b09 (diff)
got moonlib compiling with some minor tweaks
svn path=/trunk/; revision=7952
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 47413d15..5c81913e 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -1550,6 +1550,42 @@ mjlib_clean:
-rm -f -- $(externals_src)/mjlib/*.*~
+
+#------------------------------------------------------------------------------#
+# MOONLIB
+MOONLIB_NAME=moonlib
+MOONLIB_OBJECTS := $(wildcard $(externals_src)/moonlib/*.c)
+moonlib: $(MOONLIB_OBJECTS:.c=.$(EXTENSION))
+
+moonlib_install: moonlib
+ install -d $(objectsdir)/$(MOONLIB_NAME)
+ $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(MOONLIB_NAME) \
+ --author "Antoine Rousseau" \
+ --version "0.2"
+ install -p $(MOONLIB_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(MOONLIB_NAME)
+ install -d $(helpdir)/$(MOONLIB_NAME)
+ install -p $(externals_src)/moonlib/help/*.pd $(helpdir)/$(MOONLIB_NAME)
+ install -p $(externals_src)/moonlib/help/*.gif $(helpdir)/$(MOONLIB_NAME)
+ install -d $(helpdir)/$(MOONLIB_NAME)/d
+ install -p $(externals_src)/moonlib/help/d/*.gif $(helpdir)/$(MOONLIB_NAME)/d
+# install -d $(manualsdir)/$(MOONLIB_NAME)
+# install -p $(externals_src)/moonlib/manual.txt \
+# $(manualsdir)/$(MOONLIB_NAME)
+ install -d $(readmesdir)
+ install -p $(externals_src)/moonlib/README.txt \
+ $(readmesdir)/$(MOONLIB_NAME).txt
+ install -d $(examplesdir)/$(MOONLIB_NAME)
+# install -p $(externals_src)/moonlib/examples/*.pd \
+# $(examplesdir)/$(MOONLIB_NAME)
+
+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/*.*~
+
+
+
#------------------------------------------------------------------------------#
# MOTEX
MOTEX_NAME=motex