diff options
Diffstat (limited to 'externals')
-rw-r--r-- | externals/Makefile | 46 | ||||
-rw-r--r-- | externals/TODO (renamed from externals/build/TODO) | 6 |
2 files changed, 41 insertions, 11 deletions
diff --git a/externals/Makefile b/externals/Makefile index b1716288..6c6c938d 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -106,8 +106,8 @@ CXXFLAGS = $(CFLAGS) # if your library isn't included in LIB_TARGETS, it won't be built with # Pd-extended. For libraries that build on all platforms, add them directly # below, otherwise add to the correct platforms below. -LIB_TARGETS = buildsrc creb cxc cyclone ext13 freeverb iemabs iemlib \ -iemmatrix loaders markex maxlib mjlib motex oscx pddp pdogg pmpd \ +LIB_TARGETS = buildsrc creb cxc cyclone ext13 freeverb hardware iemabs iemlib \ +iemmatrix loaders mapping markex maxlib mjlib motex oscx pddp pdogg pmpd \ sigpack smlib toxy unauthorized vbap zexy # this is for libraries that don't compile (yet) on all platforms @@ -115,7 +115,8 @@ ifeq ($(OS_NAME),windows) LIB_TARGETS += else ifeq ($(OS_NAME),darwin) - LIB_TARGETS += hid pdp + LIB_TARGETS += hid +# LIB_TARGETS += hid pdp else # GNU/Linux, BSD, IRIX, etc. LIB_TARGETS += hid pdp pidip @@ -510,8 +511,9 @@ freeverb_clean: #------------------------------------------------------------------------------# # HARDWARE HARDWARE_NAME=hardware -HARDWARE_OBJECTS := $(wildcard $(externals_src)/hardware/*/*.c) \ -$(wildcard $(externals_src)/hardware/*/*.cpp) +HARDWARE_OBJECTS := $(wildcard $(externals_src)/hardware/*/*.cpp) +# multio.c requires libusb, so don't include it yet... <hans@at.or.at> +#$(wildcard $(externals_src)/hardware/*/*.c) hardware: $(HARDWARE_OBJECTS:.c=.$(EXTENSION)) $(HARDWARE_OBJECTS:.cpp=.$(EXTENSION)) hardware_install: hardware @@ -709,9 +711,41 @@ loaders_clean: #------------------------------------------------------------------------------# +# MAPPING +MAPPING_NAME=mapping +MAPPING_OBJECTS := $(wildcard $(externals_src)/mapping/src/*.c) +mapping: $(MAPPING_OBJECTS:.c=.$(EXTENSION)) + +mapping_install: mapping + install -d $(objectsdir)/$(MAPPING_NAME) + $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(MAPPING_NAME) \ + --author "Cyrille Henry and Hans-Christoph Steiner" \ + --description "objects for mapping data to control" \ + --license "GNU GPL" \ + --version "" + install -p $(MAPPING_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(MAPPING_NAME) + install -p $(externals_src)/mapping/*.pd $(objectsdir)/$(MAPPING_NAME) + install -d $(helpdir)/$(MAPPING_NAME) + install -p $(externals_src)/mapping/help/*.pd \ + $(helpdir)/$(MAPPING_NAME) + install -d $(manualsdir)/$(MAPPING_NAME) + install -p $(externals_src)/mapping/README.txt \ + $(manualsdir)/$(MAPPING_NAME)/README.txt + install -d $(examplesdir)/$(MAPPING_NAME) + install -p $(externals_src)/mapping/examples/*.pd \ + $(examplesdir)/$(MAPPING_NAME) + +mapping_clean: + -rm -f -- $(externals_src)/mapping/*.$(EXTENSION) + -rm -f -- $(externals_src)/mapping/src/*.o + -rm -f -- $(externals_src)/mapping/*.bak + -rm -f -- $(externals_src)/mapping/*.*~ + + +#------------------------------------------------------------------------------# # MARKEX MARKEX_NAME=markex -MARKEX_OBJECTS := $(wildcard $(externals_src)/markex/*.c) +MARKEX_OBJECTS := $(wildcard $(externals_src)/markex/[a-z]*.c) markex: $(MARKEX_OBJECTS:.c=.$(EXTENSION)) markex_install: markex diff --git a/externals/build/TODO b/externals/TODO index 61140429..6d45af77 100644 --- a/externals/build/TODO +++ b/externals/TODO @@ -1,8 +1,5 @@ -- 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 iemlibs into libdir for backwards compatibility - make C++ compile targets (packages/darwin_app/Makefile has some) @@ -19,7 +16,6 @@ - put objects with conflicting names into a directory namespace - maxlib/scale Gem/scale iem/prepend flext/prepend |