summaryrefslogtreecommitdiffstats
path: root/macosx/Makefile
diff options
context:
space:
mode:
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 c6e2d4d..b17677c 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.8 2003/03/18 13:47:52 das Exp $
+# RCS: @(#) $Id: Makefile,v 1.9 2003/07/18 02:02:28 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
################################################################################