[PD-cvs] SF.net SVN: pure-data: [9571] trunk/externals/Makefile
eighthave at users.sourceforge.net
eighthave at users.sourceforge.net
Wed Mar 12 05:28:05 CET 2008
Revision: 9571
http://pure-data.svn.sourceforge.net/pure-data/?rev=9571&view=rev
Author: eighthave
Date: 2008-03-11 21:28:04 -0700 (Tue, 11 Mar 2008)
Log Message:
-----------
added 'apple' lib to the default build on Mac OS X
Modified Paths:
--------------
trunk/externals/Makefile
Modified: trunk/externals/Makefile
===================================================================
--- trunk/externals/Makefile 2008-03-12 04:26:06 UTC (rev 9570)
+++ trunk/externals/Makefile 2008-03-12 04:28:04 UTC (rev 9571)
@@ -131,7 +131,7 @@
LIB_TARGETS += pdlua
else
ifeq ($(OS_NAME),darwin)
- LIB_TARGETS += hid hidio pdp pidip gem2pdp aka.wiiremote iem16 usbhid pdlua
+ LIB_TARGETS += hid hidio pdp pidip gem2pdp aka.wiiremote iem16 usbhid pdlua apple
else
# GNU/Linux, BSD, IRIX, etc.
LIB_TARGETS += hid hidio pdp pidip gem2pdp hdspm_mixer iem16 postlude
@@ -304,7 +304,42 @@
-rm -f -- $(externals_src)/io/aka.wiiremote/*.bak
-rm -f -- $(externals_src)/io/aka.wiiremote/*.*~
+
+
#------------------------------------------------------------------------------#
+# APPLE
+APPLE_NAME=apple
+APPLE_OBJECTS := $(wildcard $(externals_src)/apple/*.c)
+apple: $(APPLE_OBJECTS:.c=.$(EXTENSION))
+
+apple_install: apple
+ install -d $(objectsdir)/$(APPLE_NAME)
+ $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(APPLE_NAME) \
+ --author "Hans-Christoph Steiner" \
+ --description "support for Apple-specific functions" \
+ --license "GPLv2 or later"
+ install -p $(APPLE_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(APPLE_NAME)
+ install -d $(helpdir)/$(APPLE_NAME)
+ install -p $(externals_src)/apple/*-help.pd \
+ $(helpdir)/$(APPLE_NAME)
+# install -d $(manualsdir)/$(APPLE_NAME)
+# install -p $(externals_src)/apple/manual.txt \
+# $(manualsdir)/$(APPLE_NAME)
+# install -d $(readmesdir)
+# install -p $(externals_src)/apple/README \
+# $(readmesdir)/$(APPLE_NAME).txt
+# install -d $(examplesdir)/$(APPLE_NAME)
+# install -p $(externals_src)/apple/examples/*.pd \
+# $(examplesdir)/$(APPLE_NAME)
+
+apple_clean:
+ -rm -f -- $(APPLE_OBJECTS:.c=.$(EXTENSION))
+ -rm -f -- $(APPLE_OBJECTS:.c=.o)
+ -rm -f -- $(externals_src)/apple/*.bak
+ -rm -f -- $(externals_src)/apple/*.*~
+
+
+#------------------------------------------------------------------------------#
# BASSEMU
BASSEMU_NAME=bassemu
BASSEMU_OBJECTS := $(wildcard $(externals_src)/bassemu/*.c)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Pd-cvs
mailing list