diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-12-14 06:03:31 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-12-14 06:03:31 +0000 |
commit | f9f5be77646dc69989ed840e70e2b4cb452a76e5 (patch) | |
tree | c83253ebbb8783c37e197ce8b13669a790282aab /Makefile.in | |
parent | 34a5c986ebab45f06258b6da12e0258ad570a67b (diff) |
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
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 11 |
1 files changed, 11 insertions, 0 deletions
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) |