diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/makefile.darwin | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/makefile.darwin b/src/makefile.darwin index 47d12df..d208a48 100644 --- a/src/makefile.darwin +++ b/src/makefile.darwin @@ -52,7 +52,7 @@ ifeq (${ARCH},alpha) AFLAGS = -mieee -mcpu=ev56 endif -LINCLUDE = +LINCLUDE = -I../../../pd/src $(MACOSXOBJECTS): *.h @@ -60,6 +60,7 @@ CFLAGS = -O2 -DMACOSX -Dunix -g -Wall-W -Wno-unused \ -Wno-parentheses -Wno-switch $(LINCLUDE) $(UCFLAGS) $(AFLAGS) MACOSXLINKFLAGS = -bundle -undefined suppress -flat_namespace +#MACOSXLINKFLAGS = -bundle -bundle_loader ../../../pd/bin/pd everything: clean all install distclean @@ -125,9 +126,10 @@ darwin_pkg_clean: darwin_pkg: all darwin_pkg_clean darwin_pkg_license darwin_pkg_welcome # set up installroot dir test -d installroot/pd/doc/5.reference || mkdir -p installroot/pd/doc/5.reference - install -m644 --group=staff ../examples/*.* installroot/pd/doc/5.reference + install -m444 ../zexy.pd installroot/pd/doc/5.reference + install -m444 ../examples/*.* installroot/pd/doc/5.reference test -d installroot/pd/extra || mkdir -p installroot/pd/extra - install -m644 --group=staff *.pd_darwin installroot/pd/extra + install -m444 *.pd_darwin installroot/pd/extra cp -f ../pd-zexy.info ../$(PACKAGE_NAME).info # delete cruft -find installroot -name .DS_Store -delete @@ -147,7 +149,7 @@ darwin_altpkg: all darwin_pkg_clean darwin_pkg_license darwin_pkg_welcome test -d installroot/Help || mkdir -p installroot/Help -cp ../examples/* installroot/Help test -d installroot/Externals || mkdir -p installroot/Externals - install -m644 *.pd_darwin --group=staff installroot/Externals + install -m444 *.pd_darwin installroot/Externals sed -e 's/\/usr\/local\/lib/\/Library\/Pd/' ../pd-zexy.info \ | sed -e 's/MSP standard paths/MacOS X-style Paths/' \ > ../$(PACKAGE_NAME)-alt.info @@ -158,5 +160,5 @@ darwin_altpkg: all darwin_pkg_clean darwin_pkg_license darwin_pkg_welcome sudo chown -R root:staff installroot package installroot ../$(PACKAGE_NAME)-alt.info -d . -ignoreDSStore # install pkg docs - install -m 644 License.html Welcome.txt $(PACKAGE_NAME)-alt.pkg/Contents/Resources + install -m 444 License.html Welcome.txt $(PACKAGE_NAME)-alt.pkg/Contents/Resources sudo chown -R root:staff $(PACKAGE_NAME)-alt.pkg/Contents/Resources |