From 8ca5da0948125e957b29785d880b6d4da0b6ce98 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 9 Jan 2006 21:24:28 +0000 Subject: checked in code from sIgpAck0.03.ZIP; cleaned up comment warnings and changed #ifdef NT to #ifdef _MSC_VER; removed sp. prefix and set up for namespaces svn path=/trunk/; revision=4381 --- externals/Makefile | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) (limited to 'externals/Makefile') diff --git a/externals/Makefile b/externals/Makefile index a9aab626..172ebe2f 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -108,7 +108,7 @@ CXXFLAGS = $(CFLAGS) # if your library isn't included here, it won't be built with Pd-extended LIB_TARGETS = buildsrc creb cxc cyclone ext13 freeverb hid iemabs iemlib \ iemmatrix loaders markex maxlib mjlib motex oscx pddp pdogg pdp pidip pmpd \ -smlib toxy unauthorized vbap zexy +sigpack smlib toxy unauthorized vbap zexy all: pre_all_$(OS_NAME) buildsrc $(LIB_TARGETS) @@ -884,6 +884,36 @@ pmpd_clean: -find $(externals_src)/pmpd -name '*~' | xargs rm -f -- +#------------------------------------------------------------------------------# +# SIGPACK +SIGPACK_NAME=sigpack +SIGPACK_OBJECTS := $(wildcard $(externals_src)/sigpack/source/*~.c) +SIGPACK_VERSION := $(shell grep "define VERSION" \ + $(externals_src)/sigpack/source/sIgpAck.c | cut -d '"' -f 2) + +sigpack: $(SIGPACK_OBJECTS:.c=.$(EXTENSION)) + +sigpack_install: sigpack + install -d $(objectsdir)/$(SIGPACK_NAME) + $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(SIGPACK_NAME) \ + --author "weiss@weiss-archiv.de" \ + --license "GNU GPL 2" \ + --version "$(SIGPACK_VERSION)" + install -p $(SIGPACK_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(SIGPACK_NAME) + install -d $(helpdir)/$(SIGPACK_NAME) + install -p $(externals_src)/sigpack/help/*.pd \ + $(helpdir)/$(SIGPACK_NAME) + install -d $(manualsdir)/$(SIGPACK_NAME) + install -p $(externals_src)/sigpack/readme.txt \ + $(manualsdir)/$(SIGPACK_NAME)/README.txt + +sigpack_clean: + -rm -f -- $(externals_src)/sigpack/source/*.$(EXTENSION) + -rm -f -- $(externals_src)/sigpack/source/*.o + -rm -f -- $(externals_src)/sigpack/*/*.bak + -rm -f -- $(externals_src)/sigpack/*/*.*~ + + #------------------------------------------------------------------------------# # SMLIB SMLIB_NAME=smlib @@ -1080,10 +1110,7 @@ devsymlinks: #==============================================================================# # the destination-specific clean targets are in Makefile.buildlayout -clean: creb_clean cxc_clean cyclone_clean ext13_clean frankenstein_clean \ -freeverb_clean hid_clean loaders_clean markex_clean mjlib_clean motex_clean \ -oscx_clean pddp_clean pdp_clean pidip_clean smlib_clean toxy_clean \ -unauthorized_clean zexy_clean install_clean +clean: $(patsubst %, %_clean,$(LIB_TARGETS)) -rm -f -- $(BUILDSRC_OBJECTS:.c=.o) -rm -f -- $(BUILDSRC_OBJECTS:.c=.$(EXTENSION)) -- cgit v1.2.1