diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-08 04:52:30 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-08 04:52:30 +0000 |
commit | 93534f61b89740c88d00dbd2b8a3e1ad2e7daed8 (patch) | |
tree | a95acd1d2dae39d541a17de626b5baba31e8129b /externals | |
parent | b13ba22934384bafb3dbf7e02744c1c574398a8d (diff) |
switched 'apple' lib over to new standalone Makefile
svn path=/trunk/; revision=11709
Diffstat (limited to 'externals')
-rw-r--r-- | externals/Makefile | 53 |
1 files changed, 8 insertions, 45 deletions
diff --git a/externals/Makefile b/externals/Makefile index 7c224e93..a629b721 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -142,24 +142,13 @@ else endif endif +#------------------------------------------------------------------------------# -all: pre_all_$(OS_NAME) $(LIB_TARGETS) +all: $(LIB_TARGETS) @echo " " - @echo "Compiled external for $(OS_NAME) aka $(UNAME)" - -# these targets are for platform-specific needs that run before objects: -pre_all_darwin: - -pre_all_linux: - -pre_all_windows: - -pre_all_unknown: -# this target is for "everything else" + @echo "Compiled externals for $(OS_NAME) aka $(UNAME)" -#------------------------------------------------------------------------------# -# INSTALL install: $(examplesdir) $(helpdir) $(manualsdir) $(objectsdir) $(readmesdir) \ all $(patsubst %, %_install,$(LIB_TARGETS)) @echo " " @@ -302,40 +291,14 @@ aka.wiiremote_clean: #------------------------------------------------------------------------------# # APPLE -APPLE_NAME=apple -APPLE_OBJECTS := $(wildcard $(externals_src)/apple/*.c) -apple: $(APPLE_OBJECTS:.c=.$(EXTENSION)) +apple: + make -C $(externals_src)/apple -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 -p $(shell ls -1 $(externals_src)/apple/*.pd | \ - grep -v '-help.pd' | sed 's|\(.*\)|"\1"|g') \ - $(objectsdir)/$(APPLE_NAME) - install -d $(helpdir)/$(APPLE_NAME) - install -p $(externals_src)/apple/*-help.pd \ - $(helpdir)/$(APPLE_NAME) - install -p $(externals_src)/apple/*-help.pd \ - $(objectsdir)/$(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_install: + make -C $(externals_src)/apple objectsdir="$(objectsdir)" install 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/*.*~ + make -C $(externals_src)/apple clean #------------------------------------------------------------------------------# |