From be032ecc2cf67f8cf8feb8334f204c17df1785c8 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 12 Mar 2008 04:28:04 +0000 Subject: added 'apple' lib to the default build on Mac OS X svn path=/trunk/; revision=9571 --- externals/Makefile | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'externals') 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 -- cgit v1.2.1