diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-01-09 21:24:28 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-01-09 21:24:28 +0000 |
commit | 8ca5da0948125e957b29785d880b6d4da0b6ce98 (patch) | |
tree | 029b35913f8efcc7caca87af1c7541fa625bceb2 /externals | |
parent | d68f8326740a6a8d0b97b00e774d23c1a5c336a2 (diff) |
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
Diffstat (limited to 'externals')
-rw-r--r-- | externals/Makefile | 37 | ||||
-rw-r--r-- | externals/build/TODO | 10 |
2 files changed, 37 insertions, 10 deletions
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) @@ -885,6 +885,36 @@ pmpd_clean: #------------------------------------------------------------------------------# +# 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 # exclude SMlib.c since its just for the compiled library @@ -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)) diff --git a/externals/build/TODO b/externals/build/TODO index 754b5147..61140429 100644 --- a/externals/build/TODO +++ b/externals/build/TODO @@ -1,4 +1,9 @@ +- try compiling with as many warnings as possible Currently, this is the + setup: -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wno-shadow + +- fix PDP inclusion. it seems to get skipped on Darwin. maybe with ifeq(windows... + - make C++ compile targets (packages/darwin_app/Makefile has some) - add version number getters from packages/Makefile @@ -7,16 +12,11 @@ - add "test lib" functionality to binary building in externals/Makefile -- simplify Makefile, making just "all" and "install" with subsections for each - subdir. - - add in mtx_ objects with special characters using setup functions and filenames with 0x escapes (mtx_/ and mtx_./ for example). Make sure to have the objects call the correct setup function since it can change the functionality -- include mp3 externals from iem_mp3 and unauthorized and make mp3*.libs files - - put objects with conflicting names into a directory namespace maxlib/scale |