diff options
Diffstat (limited to 'macosx/Makefile')
-rw-r--r-- | macosx/Makefile | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/macosx/Makefile b/macosx/Makefile index dc4f77f..920f43e 100644 --- a/macosx/Makefile +++ b/macosx/Makefile @@ -3,7 +3,7 @@ # Simple makefile for building on Mac OS X with the # Project Builder command line tool 'pbxbuild' # -# RCS: @(#) $Id: Makefile,v 1.2 2002/08/31 06:12:29 das Exp $ +# RCS: @(#) $Id: Makefile,v 1.3 2002/09/10 09:59:16 das Exp $ # ################################################################################ @@ -25,12 +25,18 @@ DEPBUILD = ${BUILD} -buildstyle "${DEPBUILDSTYLE}" INSTALLOPTS = INSTALL_ROOT="${INSTALL_ROOT}" +EMBEDDEDOPTS = DYLIB_INSTALL_PATH="@executable_path/../Frameworks" + ################################################################################ all: develop deploy install: install-develop install-deploy +embedded: embedded-develop embedded-deploy + +install-embedded: install-embedded-develop install-embedded-deploy cleanup-embedded + clean: clean-develop clean-deploy ################################################################################ @@ -47,6 +53,18 @@ install-develop: install-deploy: ${DEPBUILD} install ${INSTALLOPTS} +embedded-develop: + ${DEVBUILD} ${EMBEDDEDOPTS} + +embedded-deploy: + ${DEPBUILD} ${EMBEDDEDOPTS} + +install-embedded-develop: + ${DEVBUILD} install ${INSTALLOPTS} ${EMBEDDEDOPTS} + +install-embedded-deploy: + ${DEPBUILD} install ${INSTALLOPTS} ${EMBEDDEDOPTS} + clean-develop: ${DEVBUILD} clean @@ -54,3 +72,15 @@ clean-deploy: ${DEPBUILD} clean ################################################################################ + +cleanup-embedded: + @( \ + cd ${INSTALL_ROOT}; \ + rm -f Frameworks; \ + rm -rf @executable_path; \ + rm -rf Library/Frameworks/Tcl.framework; \ + rm -rf Library/Frameworks/Tk.framework; \ + if [ -d Library/Frameworks ]; then rmdir -p Library/Frameworks; fi; \ + ) + +################################################################################ |