aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-12-13 05:24:16 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-12-13 05:24:16 +0000
commit61bd3293f5f76d5770b9c229ecc73e93b13cee68 (patch)
tree228f0656100242425f33ab73f70a0a90495bb808 /externals
parent409a71c8353ba0e11efd0f55b580a8101be49338 (diff)
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
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile45
1 files changed, 42 insertions, 3 deletions
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
@@ -2439,6 +2440,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
ZEXY_OBJECTS := $(wildcard $(externals_src)/zexy/src/[a-vxy0]*.c) \