From f9f5be77646dc69989ed840e70e2b4cb452a76e5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 14 Dec 2006 06:03:31 +0000 Subject: merged in fixes from branch-v0-39-2-extended so that it builds on Mac OS X, and works better with the Pd-extended build system svn path=/trunk/externals/pidip/; revision=6886 --- Makefile.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 0370aab..bc1e272 100644 --- a/Makefile.in +++ b/Makefile.in @@ -28,12 +28,23 @@ PDP_PIDIP_CPPFLAGS = $(MPEG4IP_CFLAGS) $(MAGICK_CFLAGS) $(IMLIB_CFLAGS) \ -Wno-unused -Wno-parentheses -Wno-switch \ -DPDP_PIDIP_VERSION=\"$(PDP_PIDIP_VERSION)\" -g +ifeq ($(shell uname -s),Darwin) +all: pidip.pd_darwin +endif + +ifeq ($(shell uname -s),Linux) all: pidip.pd_linux +endif pdp_pidip_all: make -C system make -C modules +pidip.pd_darwin: pdp_pidip_all + rm -f pidip.pd_darwin + g++ -bundle -undefined dynamic_lookup -o pidip.pd_darwin modules/*.o system/*.o -L/sw/lib $(THEORA_LIBS) $(PDP_PIDIP_LIBS) $(IMLIB_LIBS) $(MAGICK_LIBS) + strip -x pidip.pd_darwin + pidip.pd_linux: pdp_pidip_all rm -f pidip.pd_linux g++ -export_dynamic -shared -o pidip.pd_linux modules/*.o system/*.o $(THEORA_LIBS) $(PDP_PIDIP_LIBS) $(IMLIB_LIBS) $(MAGICK_LIBS) -- cgit v1.2.1