From 61bd3293f5f76d5770b9c229ecc73e93b13cee68 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 13 Dec 2007 05:24:16 +0000 Subject: addeding jsarlo's windowing objects to the Pd-extended build system; added postlude to the GNU/Linux builds and usbhid to the Darwin builds. Darwin doesn't have DSSI and Fedora doesn't have libhid-devel, otherwise I could add these two packages to those platforms svn path=/trunk/; revision=9091 --- externals/Makefile | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) (limited to 'externals/Makefile') diff --git a/externals/Makefile b/externals/Makefile index 2640dad2..7fac1aa6 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -124,17 +124,17 @@ CXXFLAGS = $(CFLAGS) # # WARNING! this MUST be all on one line because the automatic package # building scripts rely on it being that way. -LIB_TARGETS = adaptive bassemu boids bsaylor creb cxc cyclone deprecated earplug ekext ext13 flashserver flatspace flib freeverb ggee hardware hcs iem_ambi iem_bin_ambi iemlib iemgui iem_adaptfilt iemmatrix iem_matrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders mapping markex maxlib mjlib moocow moonlib motex mrpeach msd oscx pan pdcontainer pddp pdogg pmpd sigpack smlib tkwidgets tof toxy unauthorized vbap zexy +LIB_TARGETS = adaptive bassemu boids bsaylor creb cxc cyclone deprecated earplug ekext ext13 flashserver flatspace flib freeverb ggee hardware hcs iem_ambi iem_bin_ambi iemlib iemgui iem_adaptfilt iemmatrix iem_matrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders mapping markex maxlib mjlib moocow moonlib motex mrpeach msd oscx pan pdcontainer pddp pdogg pmpd sigpack smlib tkwidgets tof toxy unauthorized vbap windowing zexy # this is for libraries that don't compile (yet) on all platforms ifeq ($(OS_NAME),windows) LIB_TARGETS += else ifeq ($(OS_NAME),darwin) - LIB_TARGETS += hid hidio pdp pidip gem2pdp wiiremote iem16 + LIB_TARGETS += hid hidio pdp pidip gem2pdp wiiremote iem16 usbhid else # GNU/Linux, BSD, IRIX, etc. - LIB_TARGETS += hid hidio pdp pidip gem2pdp hdspm_mixer iem16 + LIB_TARGETS += hid hidio pdp pidip gem2pdp hdspm_mixer iem16 postlude endif endif @@ -2071,6 +2071,7 @@ pmpd_clean: POSTLUDE_NAME=postlude # flib is separate, so exclude it here POSTLUDE_OBJECTS := $(wildcard $(externals_src)/postlude/[a-eg-z]*/src/*.c) +# $(externals_src)/postlude/psql/psql.c postlude: $(POSTLUDE_OBJECTS:.c=.$(EXTENSION)) postlude_install: postlude @@ -2438,6 +2439,44 @@ wiiremote_clean: +#------------------------------------------------------------------------------# +# WINDOWING +WINDOWING_NAME=windowing +WINDOWING_OBJECTS := $(wildcard $(externals_src)/windowing/*.c) +WINDOWING_SHARED := $(wildcard $(externals_src)/windowing/shared/*.c) +windowing_shared: $(WINDOWING_SHARED:.c=.o) +# $(CC) $(DYLIB_LDFLAGS) \ +# -o $(externals_src)/windowing/libwindowing.$(DYLIB_EXTENSION) \ +# $(WINDOWING_SHARED:.c=.o) + +windowing: windowing_shared $(WINDOWING_OBJECTS:.c=.$(EXTENSION)) + +windowing_install: windowing + install -d $(objectsdir)/$(WINDOWING_NAME) + $(scripts_src)/generate-libdir-metafile.sh $(objectsdir) $(WINDOWING_NAME) \ + --author "Joe Sarlo" \ + --license "GPLv2 or later" + install -p $(WINDOWING_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(WINDOWING_NAME) + install -d $(helpdir)/$(WINDOWING_NAME) + install -p $(externals_src)/windowing/*-help.pd \ + $(helpdir)/$(WINDOWING_NAME) +# install -d $(manualsdir)/$(WINDOWING_NAME) +# install -p $(externals_src)/windowing/manual.txt \ +# $(manualsdir)/$(WINDOWING_NAME) + install -d $(readmesdir) + install -p $(externals_src)/windowing/README \ + $(readmesdir)/$(WINDOWING_NAME).txt + install -d $(examplesdir)/$(WINDOWING_NAME) + install -p $(externals_src)/windowing/examples/*.pd \ + $(examplesdir)/$(WINDOWING_NAME) + +windowing_clean: + -rm -f -- $(WINDOWING_OBJECTS:.c=.$(EXTENSION)) + -rm -f -- $(WINDOWING_OBJECTS:.c=.o) + -rm -f -- $(externals_src)/windowing/*.bak + -rm -f -- $(externals_src)/windowing/*.*~ + + #------------------------------------------------------------------------------# # Zexy ZEXY_NAME = zexy -- cgit v1.2.1