aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2007-01-25 20:53:01 +0000
committerGeorg Holzmann <grholzi@users.sourceforge.net>2007-01-25 20:53:01 +0000
commitf0139f44f7ef095a181d16d5fe8e3e17bfda87f9 (patch)
tree6fcf7aeff8d646a890c7ab97bbffc69cb6f8119a
parentf7f6e9d7bf7796799e3d00abc1ee862e8bad5dd3 (diff)
added earplug~ to the buildsystem
svn path=/trunk/; revision=7386
-rw-r--r--externals/Makefile31
1 files changed, 30 insertions, 1 deletions
diff --git a/externals/Makefile b/externals/Makefile
index cf0c5a46..ab5d7a87 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -124,7 +124,7 @@ CXXFLAGS = $(CFLAGS)
#
# WARNING! this MUST be all on one line because the automatic package
# building scripts rely on it being that way.
-LIB_TARGETS = boids bsaylor creb cxc cyclone deprecated ekext ext13 flatspace flib freeverb ggee hardware hcs hidio iem_ambi iem_bin_ambi iemlib jasch_lib loaders mapping markex maxlib mjlib motex mrpeach msd oscx pan pddp pdogg pmpd sigpack smlib toxy unauthorized vbap zexy pdcontainer adaptive iem_delay iem_roomsim iem_spec2 iem_tab flashserver iemgui iem_adaptfilt iemmatrix iemxmlrpc iem16
+LIB_TARGETS = boids bsaylor creb cxc cyclone deprecated ekext ext13 flatspace flib freeverb ggee hardware hcs hidio iem_ambi iem_bin_ambi iemlib jasch_lib loaders mapping markex maxlib mjlib motex mrpeach msd oscx pan pddp pdogg pmpd sigpack smlib toxy unauthorized vbap zexy pdcontainer adaptive iem_delay iem_roomsim iem_spec2 iem_tab flashserver iemgui iem_adaptfilt iemmatrix iemxmlrpc iem16 earplug
# this is for libraries that don't compile (yet) on all platforms
ifeq ($(OS_NAME),windows)
@@ -2646,6 +2646,35 @@ iemxmlrpc_clean:
+#------------------------------------------------------------------------------#
+# EARPLUG
+EARPLUG_NAME=earplug~
+EARPLUG_OBJECTS := $(wildcard $(externals_src)/earplug~/*.c)
+earplug: $(EARPLUG_OBJECTS:.c=.$(EXTENSION))
+
+earplug_install: earplug
+ install -d $(objectsdir)/$(EARPLUG_NAME)
+ $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(EARPLUG_NAME) \
+ --author "Pei Xiang" \
+ --description "filters for binaural audio spatialization, based on KEMAR impulse measurement" \
+ --license "" \
+ --version ""
+ install -p $(EARPLUG_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(EARPLUG_NAME)
+ install -d $(helpdir)/$(EARPLUG_NAME)
+ install -p $(externals_src)/earplug~/*-help.pd \
+ $(helpdir)/$(EARPLUG_NAME)
+ install -d $(examplesdir)/$(EARPLUG_NAME)
+ install -p $(externals_src)/earplug~/*-help.pd \
+ $(examplesdir)/$(EARPLUG_NAME)
+
+earplug_clean:
+ -rm -f -- $(EARPLUG_OBJECTS:.c=.$(EXTENSION))
+ -rm -f -- $(EARPLUG_OBJECTS:.c=.o)
+ -rm -f -- $(externals_src)/earplug~/*.bak
+ -rm -f -- $(externals_src)/earplug~/*.*~
+
+
+
#==============================================================================#
#
# DEVELOPER'S TARGETS