diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Makefile | 9 | ||||
-rw-r--r-- | macosx/Wish.pbproj/project.pbxproj | 7 |
2 files changed, 7 insertions, 9 deletions
diff --git a/macosx/Makefile b/macosx/Makefile index 82d50b5..f10e7ba 100644 --- a/macosx/Makefile +++ b/macosx/Makefile @@ -3,7 +3,7 @@ # Makefile to build AquaTk on Mac OS X packaged as a Framework # uses Project Builder command line tool 'pbxbuild' # -# RCS: @(#) $Id: Makefile,v 1.11 2003/10/01 14:35:32 das Exp $ +# RCS: @(#) $Id: Makefile,v 1.12 2004/01/27 10:09:37 das Exp $ # ################################################################################ @@ -37,12 +37,17 @@ DEVBUILDSTYLE = Development DEPBUILDSTYLE = Deployment PBXBUILD = /usr/bin/pbxbuild +XCODEBUILD = /usr/bin/xcodebuild + +BUILDCMD = `if [ -f $(XCODEBUILD) ]; then \ + echo "$(XCODEBUILD)"; \ + else echo "$(PBXBUILD)"; fi` MAKE_VARS := SYMROOT OBJROOT BINDIR APPLICATION_INSTALL_PATH \ TCL_FRAMEWORK_DIR TCLSH_DIR MAKE_ARGS_V = $(foreach v,${MAKE_VARS},$v=${$v}) -BUILD = ${PBXBUILD} -target "${TARGET}" ${MAKE_ARGS_V} \ +BUILD = ${BUILDCMD} -target "${TARGET}" ${MAKE_ARGS_V} \ DYLIB_INSTALL_PATH="${INSTALL_PATH}" \ ${EXTRA_MAKE_ARGS} ${MAKEOVERRIDES} diff --git a/macosx/Wish.pbproj/project.pbxproj b/macosx/Wish.pbproj/project.pbxproj index 48c788c..37a5f26 100644 --- a/macosx/Wish.pbproj/project.pbxproj +++ b/macosx/Wish.pbproj/project.pbxproj @@ -1634,7 +1634,6 @@ MacOS X Port by Jim Ingham <jingham@apple.com> & Ian Reid, Copyright  F53755E1016C38D301DC9062 = { buildActionMask = 2147483647; files = ( - F5C2EA34034D71B2016F146B, ); isa = PBXResourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; @@ -3545,12 +3544,6 @@ MacOS X Port by Jim Ingham <jingham@apple.com> & Ian Reid, Copyright  path = ../library/mkpsenc.tcl; refType = 2; }; - F5C2EA34034D71B2016F146B = { - fileRef = F5C2EA33034D71B2016F146B; - isa = PBXBuildFile; - settings = { - }; - }; F5C2EA35034D7212016F146B = { fileRef = F5C2EA33034D71B2016F146B; isa = PBXBuildFile; |