summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2002-08-30 19:18:00 (GMT)
committerdas <das>2002-08-30 19:18:00 (GMT)
commit71e570debeb567f385093f31f552dcb8ac532d03 (patch)
tree2a1952bfcbfbac75ed75af32c71a5c844cb09dce
parent5ccf903c983e79875e8eb8ea04adabe117a23cee (diff)
downloadtk-71e570debeb567f385093f31f552dcb8ac532d03.zip
tk-71e570debeb567f385093f31f552dcb8ac532d03.tar.gz
tk-71e570debeb567f385093f31f552dcb8ac532d03.tar.bz2
set SYMROOT in macosx/Makefile
-rw-r--r--macosx/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/macosx/Makefile b/macosx/Makefile
index e659ec6..f53ef18 100644
--- a/macosx/Makefile
+++ b/macosx/Makefile
@@ -3,12 +3,14 @@
# Simple makefile for building on Mac OS X with the
# Project Builder command line tool 'pbxbuild'
#
-# RCS: @(#) $Id: Makefile,v 1.1.2.1 2002/08/30 18:18:16 das Exp $
+# RCS: @(#) $Id: Makefile,v 1.1.2.2 2002/08/30 19:18:00 das Exp $
#
################################################################################
INSTALL_ROOT =
+BUILD_DIR = ../../build
+
TARGET = Wish
DEVBUILDSTYLE = Development
@@ -16,8 +18,12 @@ DEPBUILDSTYLE = Deployment
PBXBUILD = /usr/bin/pbxbuild
-DEVBUILD = ${PBXBUILD} -target "${TARGET}" -buildstyle "${DEVBUILDSTYLE}"
-DEPBUILD = ${PBXBUILD} -target "${TARGET}" -buildstyle "${DEPBUILDSTYLE}"
+BUILD = ${PBXBUILD} SYMROOT="${BUILD_DIR}" -target "${TARGET}"
+
+DEVBUILD = ${BUILD} -buildstyle "${DEVBUILDSTYLE}"
+DEPBUILD = ${BUILD} -buildstyle "${DEPBUILDSTYLE}"
+
+INSTALLOPTS = INSTALL_ROOT="${INSTALL_ROOT}"
################################################################################
@@ -36,10 +42,10 @@ deploy:
${DEPBUILD}
install-develop:
- ${DEVBUILD} install INSTALL_ROOT="${INSTALL_ROOT}"
+ ${DEVBUILD} install ${INSTALLOPTS}
install-deploy:
- ${DEPBUILD} install INSTALL_ROOT="${INSTALL_ROOT}"
+ ${DEPBUILD} install ${INSTALLOPTS}
clean-develop:
${DEVBUILD} clean