aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-03-12 04:28:04 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-03-12 04:28:04 +0000
commitbe032ecc2cf67f8cf8feb8334f204c17df1785c8 (patch)
tree9576a52b7081c44f0a4c145ef09a84b9c86c6c3a /externals
parent0296409887f299a62d8e4e2340c0a33b655a0a39 (diff)
added 'apple' lib to the default build on Mac OS X
svn path=/trunk/; revision=9571
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile37
1 files changed, 36 insertions, 1 deletions
diff --git a/externals/Makefile b/externals/Makefile
index d95954d8..080ab5fa 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -131,7 +131,7 @@ ifeq ($(OS_NAME),windows)
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,6 +304,41 @@ aka.wiiremote_clean:
-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