summaryrefslogtreecommitdiffstats
path: root/macosx/Makefile
diff options
context:
space:
mode:
authordas <das>2003-07-18 01:06:33 (GMT)
committerdas <das>2003-07-18 01:06:33 (GMT)
commit8f79fbdb5aa24f576d0631abbbf463e06ac48707 (patch)
treee53167a5f5be169fcea7a0636b2dce7d88599830 /macosx/Makefile
parent588654ef58fffd1caa981c8e65c72852f4189322 (diff)
downloadtk-8f79fbdb5aa24f576d0631abbbf463e06ac48707.zip
tk-8f79fbdb5aa24f576d0631abbbf463e06ac48707.tar.gz
tk-8f79fbdb5aa24f576d0631abbbf463e06ac48707.tar.bz2
* macosx/Makefile: Changes for new tcl buildsystem.
* macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: Changes for new tcl buildsystem. Changed build to include tk specific html help in Tk.framework instead of Tcl.framework. Set default SYMROOT in target options to simplify setting up PB (manually setting common build folder for tcl & tk no longer needed). * macosx/README: Updated info for changes to buildsystem, html help location and PB setup.
Diffstat (limited to 'macosx/Makefile')
-rw-r--r--macosx/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/macosx/Makefile b/macosx/Makefile
index 3945438..bb5adf6 100644
--- a/macosx/Makefile
+++ b/macosx/Makefile
@@ -3,17 +3,19 @@
# Simple makefile for building on Mac OS X with the
# Project Builder command line tool 'pbxbuild'
#
-# RCS: @(#) $Id: Makefile,v 1.7.2.1 2003/03/18 13:55:50 das Exp $
+# RCS: @(#) $Id: Makefile,v 1.7.2.2 2003/07/18 01:06:33 das Exp $
#
################################################################################
INSTALL_ROOT ?=
BUILD_DIR ?= ${CURDIR}/../../build
+SYMROOT ?= ${BUILD_DIR}/${PROJECT}
-TCL_FRAMEWORK_DIR ?= ${BUILD_DIR}
+TCL_FRAMEWORK_DIR ?= ${BUILD_DIR}/tcl
TCLSH_DIR ?= ${TCL_FRAMEWORK_DIR}
+PROJECT = tk
TARGET = Wish
DEVBUILDSTYLE = Development
@@ -21,8 +23,9 @@ DEPBUILDSTYLE = Deployment
PBXBUILD = /usr/bin/pbxbuild
-BUILD = ${PBXBUILD} SYMROOT="${BUILD_DIR}" -target "${TARGET}" \
- TCL_FRAMEWORK_DIR="${TCL_FRAMEWORK_DIR}" TCLSH_DIR="${TCLSH_DIR}"
+BUILD = ${PBXBUILD} SYMROOT="${SYMROOT}" -target "${TARGET}" \
+ TCL_FRAMEWORK_DIR="${TCL_FRAMEWORK_DIR}" \
+ TCLSH_DIR="${TCLSH_DIR}"
DEVBUILD = ${BUILD} -buildstyle "${DEVBUILDSTYLE}"
DEPBUILD = ${BUILD} -buildstyle "${DEPBUILDSTYLE}"
@@ -77,10 +80,6 @@ clean-deploy:
################################################################################
-forceRelink:
- @-cd ${BUILD_DIR}; \
- rm -rf Tk.framework Wish\ Shell.app libtkstub8.4.a
-
cleanup-embedded:
@-cd ${INSTALL_ROOT}; \
chmod -RH u+w Library/Frameworks/Tcl.framework; \
@@ -93,7 +92,6 @@ cleanup-embedded:
.PHONY: all install embedded clean develop deploy install-develop install-deploy \
embedded-develop embedded-deploy install-embedded-develop install-embedded-deploy \
-clean-develop clean-deploy forceRelink \
-cleanup-embedded
+clean-develop clean-deploy cleanup-embedded
################################################################################