diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/README | 30 | ||||
-rw-r--r-- | macosx/Tcl-Common.xcconfig | 39 | ||||
-rw-r--r-- | macosx/Tcl-Debug.xcconfig | 23 | ||||
-rw-r--r-- | macosx/Tcl-Release.xcconfig | 23 | ||||
-rw-r--r-- | macosx/Tcl.xcode/default.pbxuser | 4 | ||||
-rw-r--r-- | macosx/Tcl.xcode/project.pbxproj | 54 | ||||
-rw-r--r-- | macosx/Tcl.xcodeproj/default.pbxuser | 27 | ||||
-rw-r--r-- | macosx/Tcl.xcodeproj/project.pbxproj | 538 |
8 files changed, 406 insertions, 332 deletions
diff --git a/macosx/README b/macosx/README index e15a3b4..116b6d4 100644 --- a/macosx/README +++ b/macosx/README @@ -1,7 +1,7 @@ Tcl Mac OS X README ----------------- -RCS: @(#) $Id: README,v 1.10 2006/08/21 06:09:44 das Exp $ +RCS: @(#) $Id: README,v 1.11 2007/01/28 01:42:05 das Exp $ This is the README file for the Mac OS X/Darwin version of Tcl. @@ -94,9 +94,20 @@ take care to only use the project matching your DevTools and OS version: target useful for debugging, this target's 'Development' buildstyle has ZeroLink and Fix&Continue enabled, use the 'DevelNoFixZL' buildstyle if you need a debug build without these features. - * Tcl.xcodeproj for Xcode 2.4 on 10.4, this additionally has a - 'ReleaseUniversal'configuration which builds both the 'Tcl' and the - 'tcltest' targets as universal binaries for ppc, ppc64, i386 and x86_64. + * Tcl.xcodeproj for Xcode 2.4 on 10.4 or later, which has the following + additional configurations for the 'Tcl' and 'tcltest' targets: + 'Debug64bit': builds the targets as 64bit with debugging enabled, + requires a 64bit capable processor (i.e. G5 or Core2/Xeon). + 'ReleaseUniversal': builds the targets as universal binaries for the + ppc, ppc64, i386 and x86_64 architectures. + 'ReleaseUniversal10.4uSDK': same as 'ReleaseUniversal' but builds + against the 10.4u SDK, required to build universal binaries on + PowerPC Tiger (where the system libraries are not universal). + 'ReleasePPC10.3.9SDK': builds for PowerPC against the 10.3.9 SDK, useful + for verifying on Tiger that building on Panther would succeed. + 'ReleasePPC10.2.8SDK': builds for PowerPC with gcc-3.3 against the + 10.2.8 SDK, useful to verify on Tiger that building on Jaguar + would succeed. Notes about the native targets of the Xcode projects: * the Xcode projects refer to the tcl source directory with a relative path of ../../tcl to the project location, if your source directory is named @@ -118,10 +129,11 @@ Notes about the native targets of the Xcode projects: export CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 \ -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" This requires Mac OS X 10.4 and Xcode 2.4 (or Xcode 2.2 if -arch x86_64 is -omitted, but _not_ Xcode 2.1) and will work on any of the architectures (on -intel Macs, the -isysroot may not be required). Note that it is not possible to -configure universal builds correctly if the current architecture is not present -in CFLAGS (i.e. -arch `arch` must be there). +omitted, but _not_ Xcode 2.1) and will work on any of the architectures (the +-isysroot flag is only required on PowerPC Tiger). +Note that configure requires CFLAGS to contain a least one architecture that can +be run on the build machine (i.e. ppc on G3/G4, ppc or ppc64 on G5, ppc or i386 +on Core and ppc, i386 or x86_64 on Core2/Xeon). Universal builds of Tcl TEA extensions are also possible with CFLAGS set as above, they will be [load]able by universal as well as thin binaries of Tcl. @@ -132,7 +144,7 @@ This requires Mac OS X 10.2 and gcc 3.1; if you have gcc 4 or later you can set CFLAGS instead: export CFLAGS="-mmacosx-version-min=10.2" The Tcl.xcodeproj is setup to produce binaries that can run on 10.2 or later, -except for the 'ReleaseUniversal'configuration, where they require 10.4. +except for the 'ReleaseUniversal*' configurations, where they require 10.4. Support for weak-linking was added to the code for 8.4.14/8.5a5. Detailed Instructions for building with macosx/GNUmakefile diff --git a/macosx/Tcl-Common.xcconfig b/macosx/Tcl-Common.xcconfig new file mode 100644 index 0000000..64c77e0 --- /dev/null +++ b/macosx/Tcl-Common.xcconfig @@ -0,0 +1,39 @@ +// +// Tcl-Common.xcconfig -- +// +// This file contains the Xcode build settings comon to all +// project configurations in Tcl.xcodeproj. +// +// Copyright (c) 2007 Daniel A. Steffen <das@users.sourceforge.net> +// +// See the file "license.terms" for information on usage and redistribution +// of this file, and for a DISCLAIMER OF ALL WARRANTIES. +// +// RCS: @(#) $Id: Tcl-Common.xcconfig,v 1.1 2007/01/28 01:42:05 das Exp $ +// + +HEADER_SEARCH_PATHS = $(DERIVED_FILE_DIR)/tcl $(HEADER_SEARCH_PATHS) +OTHER_LDFLAGS = -headerpad_max_install_names $(OTHER_LDFLAGS) +INSTALL_PATH = "$(BINDIR)" +GCC_PREFIX_HEADER = $(DERIVED_FILE_DIR)/tcl/tclConfig.h +GCC_GENERATE_DEBUGGING_SYMBOLS = YES +GCC_NO_COMMON_BLOCKS = YES +GCC_DYNAMIC_NO_PIC = YES +WARNING_CFLAGS_GCC3 = -Wall -Wno-implicit-int -Wno-unused-parameter -Wno-deprecated-declarations $(WARNING_CFLAGS) +WARNING_CFLAGS = -Wextra -Wno-missing-field-initializers $(WARNING_CFLAGS_GCC3) +BINDIR = $(PREFIX)/bin +CFLAGS = $(CFLAGS) +CPPFLAGS = -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) $(CPPFLAGS) +FRAMEWORK_INSTALL_PATH = /Library/Frameworks +INCLUDEDIR = $(PREFIX)/include +LIBDIR = $(PREFIX)/lib +MANDIR = $(PREFIX)/man +PER_ARCH_CFLAGS_ppc = -mcpu=G3 -mtune=G4 $(PER_ARCH_CFLAGS_ppc) +PER_ARCH_CFLAGS_ppc64 = -mcpu=G5 -mpowerpc64 $(PER_ARCH_CFLAGS_ppc64) +PREFIX = /usr/local +TCL_CONFIGURE_ARGS = --enable-threads +TCL_LIBRARY = $(LIBDIR)/tcl$(VERSION) +TCL_PACKAGE_PATH = "$(LIBDIR)" +TCL_SRCROOT = $(SRCROOT)/../../tcl +TCL_DEFS = HAVE_TCL_CONFIG_H +VERSION = 8.5 diff --git a/macosx/Tcl-Debug.xcconfig b/macosx/Tcl-Debug.xcconfig new file mode 100644 index 0000000..8110959 --- /dev/null +++ b/macosx/Tcl-Debug.xcconfig @@ -0,0 +1,23 @@ +// +// Tcl-Debug.xcconfig -- +// +// This file contains the Xcode build settings for all Debug +// project configurations in Tcl.xcodeproj. +// +// Copyright (c) 2007 Daniel A. Steffen <das@users.sourceforge.net> +// +// See the file "license.terms" for information on usage and redistribution +// of this file, and for a DISCLAIMER OF ALL WARRANTIES. +// +// RCS: @(#) $Id: Tcl-Debug.xcconfig,v 1.1 2007/01/28 01:42:05 das Exp $ +// + +#include "Tcl-Common.xcconfig" + +DEBUG_INFORMATION_FORMAT = dwarf +DEAD_CODE_STRIPPING = NO +DEPLOYMENT_POSTPROCESSING = NO +GCC_OPTIMIZATION_LEVEL = 0 +GCC_PREPROCESSOR_DEFINITIONS = $(TCL_DEFS) $(GCC_PREPROCESSOR_DEFINITIONS) +CONFIGURE_ARGS = --enable-symbols $(TCL_CONFIGURE_ARGS) $(CONFIGURE_ARGS) +MAKE_TARGET = develop diff --git a/macosx/Tcl-Release.xcconfig b/macosx/Tcl-Release.xcconfig new file mode 100644 index 0000000..edb9586 --- /dev/null +++ b/macosx/Tcl-Release.xcconfig @@ -0,0 +1,23 @@ +// +// Tcl-Release.xcconfig -- +// +// This file contains the Xcode build settings for all Release +// project configurations in Tcl.xcodeproj. +// +// Copyright (c) 2007 Daniel A. Steffen <das@users.sourceforge.net> +// +// See the file "license.terms" for information on usage and redistribution +// of this file, and for a DISCLAIMER OF ALL WARRANTIES. +// +// RCS: @(#) $Id: Tcl-Release.xcconfig,v 1.1 2007/01/28 01:42:05 das Exp $ +// + +#include "Tcl-Common.xcconfig" + +DEBUG_INFORMATION_FORMAT = dwarf-with-dsym +DEAD_CODE_STRIPPING = YES +DEPLOYMENT_POSTPROCESSING = YES +GCC_OPTIMIZATION_LEVEL = s +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(TCL_DEFS) $(GCC_PREPROCESSOR_DEFINITIONS) +CONFIGURE_ARGS = --disable-symbols $(TCL_CONFIGURE_ARGS) $(CONFIGURE_ARGS) +MAKE_TARGET = deploy diff --git a/macosx/Tcl.xcode/default.pbxuser b/macosx/Tcl.xcode/default.pbxuser index f30d928..e35e672 100644 --- a/macosx/Tcl.xcode/default.pbxuser +++ b/macosx/Tcl.xcode/default.pbxuser @@ -64,7 +64,7 @@ customDataFormattersEnabled = 1; debuggerPlugin = GDBDebugging; disassemblyDisplayState = 0; - dylibVariantSuffix = _debug; + dylibVariantSuffix = ""; enableDebugStr = 0; environmentEntries = ( { @@ -147,7 +147,7 @@ customDataFormattersEnabled = 1; debuggerPlugin = GDBDebugging; disassemblyDisplayState = 0; - dylibVariantSuffix = _debug; + dylibVariantSuffix = ""; enableDebugStr = 0; environmentEntries = ( { diff --git a/macosx/Tcl.xcode/project.pbxproj b/macosx/Tcl.xcode/project.pbxproj index a5fcc29..b09f781 100644 --- a/macosx/Tcl.xcode/project.pbxproj +++ b/macosx/Tcl.xcode/project.pbxproj @@ -130,12 +130,12 @@ GCC_MODEL_TUNING = G4; GCC_NO_COMMON_BLOCKS = YES; GCC_PREFIX_HEADER = "${DERIVED_FILE_DIR}/tcl/tclConfig.h"; - GCC_PREPROCESSOR_DEFINITIONS = "HAVE_TCL_CONFIG_H TCL_TOMMATH MP_PREC=4"; + GCC_PREPROCESSOR_DEFINITIONS = HAVE_TCL_CONFIG_H; HEADER_SEARCH_PATHS = "${DERIVED_FILE_DIR}/tcl"; INCLUDEDIR = "${PREFIX}/include"; INSTALL_PATH = "${BINDIR}"; LIBDIR = "${PREFIX}/lib"; - MACOSX_DEPLOYMENT_TARGET = 10.3; + MACOSX_DEPLOYMENT_TARGET = 10.2; MANDIR = "${PREFIX}/man"; OTHER_LDFLAGS = "-headerpad_max_install_names"; PREFIX = /usr/local; @@ -205,7 +205,6 @@ F96D45AC08F272BC004A47F5, F96D45AD08F272BC004A47F5, F96D45AE08F272BC004A47F5, - F96D45AF08F272BC004A47F5, F96D45B008F272BC004A47F5, F96D45B108F272BC004A47F5, F96D45B208F272BC004A47F5, @@ -312,6 +311,7 @@ F96D4AD308F272CA004A47F5, F96D4AD408F272CA004A47F5, F96D4AD608F272CA004A47F5, + F9DD11B20B3909D80017FBB9, ); isa = PBXSourcesBuildPhase; runOnlyForDeploymentPostprocessing = 0; @@ -2326,7 +2326,6 @@ F96D3F0D08F272A7004A47F5, F96D3F0E08F272A7004A47F5, F96D3F0F08F272A7004A47F5, - F96D3F1008F272A7004A47F5, F96D3F1108F272A7004A47F5, F96D3F1208F272A7004A47F5, F96D3F1308F272A7004A47F5, @@ -2930,14 +2929,6 @@ refType = 4; sourceTree = "<group>"; }; - F96D3F1008F272A7004A47F5 = { - fileEncoding = 4; - isa = PBXFileReference; - lastKnownFileType = sourcecode.c.c; - path = tclParseExpr.c; - refType = 4; - sourceTree = "<group>"; - }; F96D3F1108F272A7004A47F5 = { fileEncoding = 4; isa = PBXFileReference; @@ -5971,7 +5962,6 @@ F96D442208F272B8004A47F5, F96D442408F272B8004A47F5, F96D442508F272B8004A47F5, - F96D442608F272B8004A47F5, F96D442708F272B8004A47F5, F96D442808F272B8004A47F5, F96D442908F272B8004A47F5, @@ -6047,14 +6037,6 @@ refType = 4; sourceTree = "<group>"; }; - F96D442608F272B8004A47F5 = { - explicitFileType = text.script; - fileEncoding = 4; - isa = PBXFileReference; - path = genWinImage.tcl; - refType = 4; - sourceTree = "<group>"; - }; F96D442708F272B8004A47F5 = { explicitFileType = text.script; fileEncoding = 4; @@ -6246,6 +6228,7 @@ F96D445D08F272B9004A47F5, F96D445E08F272B9004A47F5, F96D445F08F272B9004A47F5, + F9DD11B10B3909D80017FBB9, F96D446008F272B9004A47F5, F96D446108F272B9004A47F5, F96D446208F272B9004A47F5, @@ -6640,7 +6623,6 @@ F96D447808F272BA004A47F5, F96D447908F272BA004A47F5, F96D447A08F272BA004A47F5, - F96D447B08F272BA004A47F5, F96D447C08F272BA004A47F5, F96D447D08F272BA004A47F5, F96D447E08F272BA004A47F5, @@ -6765,14 +6747,6 @@ refType = 4; sourceTree = "<group>"; }; - F96D447B08F272BA004A47F5 = { - fileEncoding = 4; - isa = PBXFileReference; - lastKnownFileType = text; - path = README.binary; - refType = 4; - sourceTree = "<group>"; - }; F96D447C08F272BA004A47F5 = { fileEncoding = 4; isa = PBXFileReference; @@ -7290,12 +7264,6 @@ settings = { }; }; - F96D45AF08F272BC004A47F5 = { - fileRef = F96D3F1008F272A7004A47F5; - isa = PBXBuildFile; - settings = { - }; - }; F96D45B008F272BC004A47F5 = { fileRef = F96D3F1108F272A7004A47F5; isa = PBXBuildFile; @@ -7944,6 +7912,20 @@ shellPath = /bin/bash; shellScript = "## tcl configure shell script phase\n\ncd \"${TCL_SRCROOT}\"/macosx &&\nif [ configure.ac -nt configure -o ../unix/configure.in -nt configure -o ../unix/tcl.m4 -nt configure -o ../unix/aclocal.m4 -nt configure ]; then\n echo \"Running autoconf & autoheader in tcl/macosx\"\n rm -rf autom4te.cache\n ${AUTOCONF:-/usr/local/bin/autoconf-2.59} && ${AUTOHEADER:-/usr/local/bin/autoheader-2.59}\n rm -rf autom4te.cache\nfi\n\ncd \"${DERIVED_FILE_DIR}\" && mkdir -p tcl && cd tcl &&\nif [ \"${TCL_SRCROOT}\"/macosx/configure -nt config.status ]; then\n \"${TCL_SRCROOT}\"/macosx/configure --cache-file=../config.cache --prefix=${PREFIX} --bindir=${BINDIR} --libdir=${LIBDIR} --mandir=${MANDIR} --includedir=${INCLUDEDIR} --disable-shared ${CONFIGURE_ARGS}\nelse\n ./config.status\nfi\n"; }; + F9DD11B10B3909D80017FBB9 = { + fileEncoding = 30; + isa = PBXFileReference; + lastKnownFileType = sourcecode.c.c; + path = tclUnixCompat.c; + refType = 4; + sourceTree = "<group>"; + }; + F9DD11B20B3909D80017FBB9 = { + fileRef = F9DD11B10B3909D80017FBB9; + isa = PBXBuildFile; + settings = { + }; + }; F9E61D16090A3E94002B3151 = { buildArgumentsString = "-c \"cd \\\"${TCL_SRCROOT}/macosx\\\" && ACTION=${ACTION} && CFLAGS=\\\"${CFLAGS}\\\" gnumake \\${ACTION:+\\${ACTION/clean/distclean}-}${MAKE_TARGET} INSTALL_ROOT=\\\"${DSTROOT}\\\" INSTALL_PATH=\\\"${INSTALL_PATH}\\\" PREFIX=\\\"${PREFIX}\\\" BINDIR=\\\"${BINDIR}\\\" MANDIR=\\\"${MANDIR}\\\" \\${EXTRA_MAKE_FLAGS} ${ALL_SETTINGS} && touch -c dummy \\\"${OBJROOT}/${PROJECT_NAME}\\\".build/*.build/tcltest.build/Objects-*/*/tclAppInit.o 2>&-\""; buildPhases = ( diff --git a/macosx/Tcl.xcodeproj/default.pbxuser b/macosx/Tcl.xcodeproj/default.pbxuser index e425112..2f2b53a 100644 --- a/macosx/Tcl.xcodeproj/default.pbxuser +++ b/macosx/Tcl.xcodeproj/default.pbxuser @@ -4,13 +4,15 @@ activeBuildConfigurationName = Debug; activeExecutable = F9E61D1C090A4282002B3151 /* tclsh */; activeTarget = F9E61D16090A3E94002B3151 /* Tcl */; + addToTargets = ( + ); codeSenseManager = F944EB9D08F798180049FDD4 /* Code sense */; executables = ( - F944EB8F08F798100049FDD4 /* tcltest */, F9E61D1C090A4282002B3151 /* tclsh */, + F944EB8F08F798100049FDD4 /* tcltest */, ); perUserDictionary = { - com.apple.ide.smrt.PBXUserSmartGroupsKey.Rev10 = <040b747970656473747265616d8103e88401408484840e4e534d757461626c654172726179008484074e534172726179008484084e534f626a65637400858401690192848484134e534d757461626c6544696374696f6e6172790084840c4e5344696374696f6e6172790095960792848484084e53537472696e67019584012b146162736f6c75746550617468546f42756e646c658692849a9a008692849a9a046e616d658692849a9a14496d706c656d656e746174696f6e2046696c65738692849a9a03636c7a8692849a9a1550425846696c656e616d65536d61727447726f75708692849a9a0b6465736372697074696f6e8692849a9a103c6e6f206465736372697074696f6e3e8692849a9a08676c6f62616c49448692849a9a183143433045413430303433353045463930303434343130428692849a9a195042585472616e7369656e744c6f636174696f6e4174546f708692849a9a06626f74746f6d8692849a9a0b707265666572656e63657386928497960892849a9a1250425850726f6a65637453636f70654b65798692849a9a035945538692849a9a05696d6167658692849a9a0b536d617274466f6c6465728692849a9a0763616e536176658692848484084e534e756d626572008484074e5356616c7565009584012a849696018692849a9a0572656765788692849a9a225c2e28637c6370707c437c4350507c6d7c6d6d7c6a6176617c73687c7363707429248692849a9a04726f6f748692849a9a093c50524f4a4543543e8692849a9a097265637572736976658692ad92849a9a0669734c656166869284ae9db096008692849a9a07666e6d617463688692849a9a0086868686>; + com.apple.ide.smrt.PBXUserSmartGroupsKey.Rev10 = <040b73747265616d747970656481e8038401408484840e4e534d757461626c654172726179008484074e534172726179008484084e534f626a65637400858401690192848484134e534d757461626c6544696374696f6e6172790084840c4e5344696374696f6e6172790095960792848484084e53537472696e67019584012b146162736f6c75746550617468546f42756e646c658692849a9a008692849a9a046e616d658692849a9a14496d706c656d656e746174696f6e2046696c65738692849a9a03636c7a8692849a9a1550425846696c656e616d65536d61727447726f75708692849a9a0b6465736372697074696f6e8692849a9a103c6e6f206465736372697074696f6e3e8692849a9a08676c6f62616c49448692849a9a183143433045413430303433353045463930303434343130428692849a9a195042585472616e7369656e744c6f636174696f6e4174546f708692849a9a06626f74746f6d8692849a9a0b707265666572656e63657386928497960892849a9a1250425850726f6a65637453636f70654b65798692849a9a035945538692849a9a05696d6167658692849a9a0b536d617274466f6c6465728692849a9a0763616e536176658692848484084e534e756d626572008484074e5356616c7565009584012a849696018692849a9a0572656765788692849a9a225c2e28637c6370707c437c4350507c6d7c6d6d7c6a6176617c73687c7363707429248692849a9a04726f6f748692849a9a093c50524f4a4543543e8692849a9a097265637572736976658692ad92849a9a0669734c656166869284ae9db096008692849a9a07666e6d617463688692849a9a0086868686>; }; sourceControlManager = F944EB9C08F798180049FDD4 /* Source Control */; userBuildSettings = { @@ -124,6 +126,9 @@ }; F9E61D16090A3E94002B3151 /* Tcl */ = { activeExec = 0; + executables = ( + F9E61D1C090A4282002B3151 /* tclsh */, + ); }; F9E61D1C090A4282002B3151 /* tclsh */ = { isa = PBXExecutable; @@ -164,23 +169,12 @@ enableDebugStr = 0; environmentEntries = ( { - active = YES; - name = DYLD_FRAMEWORK_PATH; - value = "${SYMROOT}"; - }, - { - active = YES; - name = DYLD_LIBRARY_PATH; - value = "${SYMROOT}"; - }, - { active = NO; name = DYLD_PRINT_LIBRARIES; }, ); executableSystemSymbolLevel = 0; executableUserSymbolLevel = 0; - launchableReference = F9E61D1D090A4282002B3151 /* tclsh8.5 */; libgmallocEnabled = 0; name = tclsh; savedGlobals = { @@ -188,11 +182,4 @@ sourceDirectories = ( ); }; - F9E61D1D090A4282002B3151 /* tclsh8.5 */ = { - isa = PBXFileReference; - explicitFileType = "compiled.mach-o.executable"; - name = tclsh8.5; - path = ../tclsh8.5; - sourceTree = BUILT_PRODUCTS_DIR; - }; } diff --git a/macosx/Tcl.xcodeproj/project.pbxproj b/macosx/Tcl.xcodeproj/project.pbxproj index 75ec251..b578176 100644 --- a/macosx/Tcl.xcodeproj/project.pbxproj +++ b/macosx/Tcl.xcodeproj/project.pbxproj @@ -7,7 +7,7 @@ objects = { /* Begin PBXBuildFile section */ - F90509300913A72400327603 /* tclAppInit.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D445508F272B9004A47F5 /* tclAppInit.c */; settings = {COMPILER_FLAGS = "-DTCL_TEST -DTCL_BUILDTIME_LIBRARY=\\\"${TCL_SRCROOT}/library\\\""; }; }; + F90509300913A72400327603 /* tclAppInit.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D445508F272B9004A47F5 /* tclAppInit.c */; settings = {COMPILER_FLAGS = "-DTCL_TEST -DTCL_BUILDTIME_LIBRARY=\\\"$(TCL_SRCROOT)/library\\\""; }; }; F9408AF30B195C08009F7CAC /* tclMathOp.c in Sources */ = {isa = PBXBuildFile; fileRef = F9408AF20B195C08009F7CAC /* tclMathOp.c */; }; F966C07508F2820D005CB29B /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F966C07408F2820D005CB29B /* CoreFoundation.framework */; }; F96D456F08F272BB004A47F5 /* regcomp.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D3ED008F272A7004A47F5 /* regcomp.c */; }; @@ -59,7 +59,7 @@ F96D45B008F272BC004A47F5 /* tclPathObj.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D3F1108F272A7004A47F5 /* tclPathObj.c */; }; F96D45B108F272BC004A47F5 /* tclPipe.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D3F1208F272A7004A47F5 /* tclPipe.c */; }; F96D45B208F272BC004A47F5 /* tclPkg.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D3F1308F272A7004A47F5 /* tclPkg.c */; }; - F96D45B308F272BC004A47F5 /* tclPkgConfig.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D3F1408F272A7004A47F5 /* tclPkgConfig.c */; settings = {COMPILER_FLAGS = "-DCFG_INSTALL_LIBDIR=\\\"${LIBDIR}\\\" -DCFG_INSTALL_BINDIR=\\\"${BINDIR}\\\" -DCFG_INSTALL_SCRDIR=\\\"${TCL_LIBRARY}\\\" -DCFG_INSTALL_INCDIR=\\\"${INCLUDEDIR}\\\" -DCFG_INSTALL_DOCDIR=\\\"${MANDIR}\\\" -DCFG_RUNTIME_LIBDIR=\\\"${LIBDIR}\\\" -DCFG_RUNTIME_BINDIR=\\\"${BINDIR}\\\" -DCFG_RUNTIME_SCRDIR=\\\"${TCL_LIBRARY}\\\" -DCFG_RUNTIME_INCDIR=\\\"${INCLUDEDIR}\\\" -DCFG_RUNTIME_DOCDIR=\\\"${MANDIR}\\\""; }; }; + F96D45B308F272BC004A47F5 /* tclPkgConfig.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D3F1408F272A7004A47F5 /* tclPkgConfig.c */; settings = {COMPILER_FLAGS = "-DCFG_INSTALL_LIBDIR=\\\"$(LIBDIR)\\\" -DCFG_INSTALL_BINDIR=\\\"$(BINDIR)\\\" -DCFG_INSTALL_SCRDIR=\\\"$(TCL_LIBRARY)\\\" -DCFG_INSTALL_INCDIR=\\\"$(INCLUDEDIR)\\\" -DCFG_INSTALL_DOCDIR=\\\"$(MANDIR)\\\" -DCFG_RUNTIME_LIBDIR=\\\"$(LIBDIR)\\\" -DCFG_RUNTIME_BINDIR=\\\"$(BINDIR)\\\" -DCFG_RUNTIME_SCRDIR=\\\"$(TCL_LIBRARY)\\\" -DCFG_RUNTIME_INCDIR=\\\"$(INCLUDEDIR)\\\" -DCFG_RUNTIME_DOCDIR=\\\"$(MANDIR)\\\""; }; }; F96D45B608F272BC004A47F5 /* tclPosixStr.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D3F1708F272A7004A47F5 /* tclPosixStr.c */; }; F96D45B708F272BC004A47F5 /* tclPreserve.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D3F1808F272A7004A47F5 /* tclPreserve.c */; }; F96D45B808F272BC004A47F5 /* tclProc.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D3F1908F272A7004A47F5 /* tclProc.c */; }; @@ -143,7 +143,7 @@ F96D4ACB08F272C9004A47F5 /* tclUnixEvent.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D446008F272B9004A47F5 /* tclUnixEvent.c */; }; F96D4ACC08F272C9004A47F5 /* tclUnixFCmd.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D446108F272B9004A47F5 /* tclUnixFCmd.c */; }; F96D4ACD08F272C9004A47F5 /* tclUnixFile.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D446208F272B9004A47F5 /* tclUnixFile.c */; }; - F96D4ACE08F272C9004A47F5 /* tclUnixInit.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D446308F272B9004A47F5 /* tclUnixInit.c */; settings = {COMPILER_FLAGS = "-DTCL_LIBRARY=\\\"${TCL_LIBRARY}\\\" -DTCL_PACKAGE_PATH=\\\"${TCL_PACKAGE_PATH}\\\""; }; }; + F96D4ACE08F272C9004A47F5 /* tclUnixInit.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D446308F272B9004A47F5 /* tclUnixInit.c */; settings = {COMPILER_FLAGS = "-DTCL_LIBRARY=\\\"$(TCL_LIBRARY)\\\" -DTCL_PACKAGE_PATH=\\\"$(TCL_PACKAGE_PATH)\\\""; }; }; F96D4ACF08F272C9004A47F5 /* tclUnixNotfy.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D446408F272B9004A47F5 /* tclUnixNotfy.c */; }; F96D4AD008F272C9004A47F5 /* tclUnixPipe.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D446508F272B9004A47F5 /* tclUnixPipe.c */; }; F96D4AD208F272CA004A47F5 /* tclUnixSock.c in Sources */ = {isa = PBXBuildFile; fileRef = F96D446708F272B9004A47F5 /* tclUnixSock.c */; }; @@ -896,10 +896,13 @@ F96D449808F272BA004A47F5 /* tclWinThrd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tclWinThrd.c; sourceTree = "<group>"; }; F96D449908F272BA004A47F5 /* tclWinThrd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tclWinThrd.h; sourceTree = "<group>"; }; F96D449A08F272BA004A47F5 /* tclWinTime.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tclWinTime.c; sourceTree = "<group>"; }; + F97AE7F10B65C1E900310EA2 /* Tcl-Common.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Tcl-Common.xcconfig"; sourceTree = "<group>"; }; + F97AE82B0B65C69B00310EA2 /* Tcl-Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Tcl-Release.xcconfig"; sourceTree = "<group>"; }; + F97AE8330B65C87F00310EA2 /* Tcl-Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "Tcl-Debug.xcconfig"; sourceTree = "<group>"; }; F9903CAF094FAADA004613E9 /* tclTomMath.decls */ = {isa = PBXFileReference; explicitFileType = text.script; fileEncoding = 4; path = tclTomMath.decls; sourceTree = "<group>"; }; F9903CB0094FAADA004613E9 /* tclTomMathDecls.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tclTomMathDecls.h; sourceTree = "<group>"; }; - F9A3084B08F2D4CE00BAE1AB /* tclsh8.5 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; name = tclsh8.5; path = ../tclsh8.5; sourceTree = BUILT_PRODUCTS_DIR; }; - F9A3084E08F2D4F400BAE1AB /* Tcl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Tcl.framework; path = ../Tcl.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F9A3084B08F2D4CE00BAE1AB /* tclsh */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = tclsh; sourceTree = BUILT_PRODUCTS_DIR; }; + F9A3084E08F2D4F400BAE1AB /* Tcl.framework */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.framework; path = Tcl.framework; sourceTree = BUILT_PRODUCTS_DIR; }; F9ECB1120B26521500A28025 /* pkgIndex.tcl */ = {isa = PBXFileReference; explicitFileType = text.script; fileEncoding = 4; path = pkgIndex.tcl; sourceTree = "<group>"; }; F9ECB1130B26521500A28025 /* platform.tcl */ = {isa = PBXFileReference; explicitFileType = text.script; fileEncoding = 4; path = platform.tcl; sourceTree = "<group>"; }; F9ECB1140B26521500A28025 /* shell.tcl */ = {isa = PBXFileReference; explicitFileType = text.script; fileEncoding = 4; path = shell.tcl; sourceTree = "<group>"; }; @@ -936,10 +939,11 @@ 1AB674ADFE9D54B511CA2CBB /* Products */ = { isa = PBXGroup; children = ( + F9A3084B08F2D4CE00BAE1AB /* tclsh */, 8DD76FB20486AB0100D96B5E /* tcltest */, - F9A3084B08F2D4CE00BAE1AB /* tclsh8.5 */, F9A3084E08F2D4F400BAE1AB /* Tcl.framework */, ); + includeInIndex = 0; name = Products; sourceTree = "<group>"; }; @@ -1526,10 +1530,13 @@ F96D432E08F272B5004A47F5 /* configure.ac */, F96D432F08F272B5004A47F5 /* GNUmakefile */, F96D433108F272B5004A47F5 /* README */, - F96D433208F272B5004A47F5 /* Tcl-Info.plist.in */, F96D433908F272B5004A47F5 /* tclMacOSXBundle.c */, F96D433D08F272B5004A47F5 /* tclMacOSXFCmd.c */, F96D433E08F272B5004A47F5 /* tclMacOSXNotify.c */, + F96D433208F272B5004A47F5 /* Tcl-Info.plist.in */, + F97AE7F10B65C1E900310EA2 /* Tcl-Common.xcconfig */, + F97AE8330B65C87F00310EA2 /* Tcl-Debug.xcconfig */, + F97AE82B0B65C69B00310EA2 /* Tcl-Release.xcconfig */, ); path = macosx; sourceTree = "<group>"; @@ -1834,23 +1841,6 @@ }; /* End PBXGroup section */ -/* Begin PBXLegacyTarget section */ - F9E61D16090A3E94002B3151 /* Tcl */ = { - isa = PBXLegacyTarget; - buildArgumentsString = "-c 'cd \"${TCL_SRCROOT}/macosx\" && a=`echo $0 | sed -e s/clean/distclean/ -e \\'s/..\\*/\\&-/\\'` && CFLAGS=\"${CFLAGS}\" gnumake $a\"\"${MAKE_TARGET} INSTALL_ROOT=\"${DSTROOT}\" INSTALL_PATH=\"${INSTALL_PATH}\" PREFIX=\"${PREFIX}\" BINDIR=\"${BINDIR}\" MANDIR=\"${MANDIR}\" $EXTRA_MAKE_FLAGS ${ALL_SETTINGS}' ${ACTION} \"\""; - buildConfigurationList = F95CC8AB09158F3100EA5ACE /* Build configuration list for PBXLegacyTarget "Tcl" */; - buildPhases = ( - ); - buildToolPath = /bin/bash; - buildWorkingDirectory = "${SRCROOT}"; - dependencies = ( - ); - name = Tcl; - passBuildSettingsInEnvironment = 0; - productName = Tcl; - }; -/* End PBXLegacyTarget section */ - /* Begin PBXNativeTarget section */ 8DD76FA90486AB0100D96B5E /* tcltest */ = { isa = PBXNativeTarget; @@ -1866,7 +1856,7 @@ dependencies = ( ); name = tcltest; - productInstallPath = "${BINDIR}"; + productInstallPath = "$(BINDIR)"; productName = tcltest; productReference = 8DD76FB20486AB0100D96B5E /* tcltest */; productType = "com.apple.product-type.tool"; @@ -1886,6 +1876,21 @@ productName = tests; productType = "com.apple.product-type.bundle"; }; + F9E61D16090A3E94002B3151 /* Tcl */ = { + isa = PBXNativeTarget; + buildConfigurationList = F95CC8AB09158F3100EA5ACE /* Build configuration list for PBXNativeTarget "Tcl" */; + buildPhases = ( + F97AF02F0B665DA900310EA2 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Tcl; + productName = tclsh; + productReference = F9A3084B08F2D4CE00BAE1AB /* tclsh */; + productType = "com.apple.product-type.tool"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -1911,18 +1916,18 @@ files = ( ); inputPaths = ( - "${DERIVED_FILE_DIR}/tcl/tclConfig.sh", - "${TCL_SRCROOT}/generic/tclStubLib.c", - "${TCL_SRCROOT}/unix/dltest/pkga.c", - "${TCL_SRCROOT}/unix/dltest/pkgb.c", - "${TCL_SRCROOT}/unix/dltest/pkgc.c", - "${TCL_SRCROOT}/unix/dltest/pkgd.c", - "${TCL_SRCROOT}/unix/dltest/pkge.c", - "${TCL_SRCROOT}/unix/dltest/pkgf.c", - "${TCL_SRCROOT}/unix/dltest/pkgua.c", + "$(DERIVED_FILE_DIR)/tcl/tclConfig.sh", + "$(TCL_SRCROOT)/generic/tclStubLib.c", + "$(TCL_SRCROOT)/unix/dltest/pkga.c", + "$(TCL_SRCROOT)/unix/dltest/pkgb.c", + "$(TCL_SRCROOT)/unix/dltest/pkgc.c", + "$(TCL_SRCROOT)/unix/dltest/pkgd.c", + "$(TCL_SRCROOT)/unix/dltest/pkge.c", + "$(TCL_SRCROOT)/unix/dltest/pkgf.c", + "$(TCL_SRCROOT)/unix/dltest/pkgua.c", ); outputPaths = ( - "${DERIVED_FILE_DIR}/tcl/dltest.marker", + "$(DERIVED_FILE_DIR)/tcl/dltest.marker", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/bash; @@ -1941,22 +1946,35 @@ shellPath = /bin/bash; shellScript = "if [ \"${ACTION:-build}\" == \"build\" ]; then\nif [ -z \"${HOME}\" ]; then export HOME=\"$(echo ~)\"; fi\ncd \"${TARGET_TEMP_DIR}\"; rm -rf \"${DERIVED_FILE_DIR}\"; mkdir -p \"${DERIVED_FILE_DIR}\"\nprintf '%s%s%s%s%s' '\npackage require tcltest 2.2\nnamespace import tcltest::*\nconfigure -testdir [file normalize {' \"${TCL_SRCROOT}\" '/tests}]\nconfigure -tmpdir [file normalize {' \"${DERIVED_FILE_DIR}\" '}]\nconfigure -verbose [concat [configure -verbose] line]\n# following test only fails when testsuite is run from inside Xcode, so skip it\nconfigure -skip [concat [configure -skip] stack-3.1]\nrunAllTests\n' | \"${TEST_RIG}\"; TEST_RIG_RESULT=$?\n[ ${TEST_RIG_RESULT} -ne 0 ] && echo \"tcltest:0: error: tcltest exited abnormally with code ${TEST_RIG_RESULT}.\"\nexit ${TEST_RIG_RESULT}\nfi"; }; + F97AF02F0B665DA900310EA2 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/bash; + shellScript = "if [ -e \"${BUILT_PRODUCTS_DIR}/tclsh\" ]; then\n mv -f \"${BUILT_PRODUCTS_DIR}/tclsh\" \"${BUILT_PRODUCTS_DIR}/tclsh${VERSION}\"\nfi\ngnumake -C \"${TCL_SRCROOT}/macosx\" -j \"$(sysctl -n hw.activecpu)\" \"$(echo \"${ACTION}\" | sed -e s/build// -e s/clean/distclean/ -e s/..\\*/\\&-/)${MAKE_TARGET}\" CFLAGS_WARNING=\"${WARNING_CFLAGS}\" SYMROOT=\"${BUILT_PRODUCTS_DIR}\" OBJ_DIR=\"${OBJECT_FILE_DIR}\" INSTALL_ROOT=\"${DSTROOT}\" PREFIX=\"${PREFIX}\" BINDIR=\"${BINDIR}\" LIBDIR=\"${FRAMEWORK_INSTALL_PATH}\" MANDIR=\"${MANDIR}\" EXTRA_CONFIGURE_ARGS=\"${CONFIGURE_ARGS}\" ${EXTRA_MAKE_FLAGS}\nresult=$?\nif [ -e \"${BUILT_PRODUCTS_DIR}/tclsh${VERSION}\" ]; then\n mv -f \"${BUILT_PRODUCTS_DIR}/tclsh${VERSION}\" \"${BUILT_PRODUCTS_DIR}/tclsh\"\nfi\nif [ -e \"${BUILT_PRODUCTS_DIR}/tcltest\" ]; then\n\trm -f \"${BUILT_PRODUCTS_DIR}/tcltest\"\nfi\necho \"Done\"\nexit ${result}\n"; + }; F9A5C5F508F651A2008AE941 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${TCL_SRCROOT}/macosx/configure.ac", - "${TCL_SRCROOT}/unix/configure.in", - "${TCL_SRCROOT}/unix/tcl.m4", - "${TCL_SRCROOT}/unix/aclocal.m4", - "${TCL_SRCROOT}/unix/tclConfig.sh.in", - "${TCL_SRCROOT}/unix/Makefile.in", - "${TCL_SRCROOT}/unix/dltest/Makefile.in", + "$(TCL_SRCROOT)/macosx/configure.ac", + "$(TCL_SRCROOT)/unix/configure.in", + "$(TCL_SRCROOT)/unix/tcl.m4", + "$(TCL_SRCROOT)/unix/aclocal.m4", + "$(TCL_SRCROOT)/unix/tclConfig.sh.in", + "$(TCL_SRCROOT)/unix/Makefile.in", + "$(TCL_SRCROOT)/unix/dltest/Makefile.in", ); outputPaths = ( - "${DERIVED_FILE_DIR}/tcl/tclConfig.sh", + "$(DERIVED_FILE_DIR)/tcl/tclConfig.sh", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/bash; @@ -2140,171 +2158,67 @@ F91BCC4F093152310042A6BF /* ReleaseUniversal */ = { isa = XCBuildConfiguration; buildSettings = { - BINDIR = "${PREFIX}/bin"; - CFLAGS = "-Wno-deprecated-declarations ${CFLAGS}"; - INSTALL_PATH = /Library/Frameworks; - MAKE_TARGET = deploy; - MANDIR = "${PREFIX}/man"; - PREFIX = /usr/local; - PRODUCT_NAME = Tcl; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; + PRODUCT_NAME = tclsh; }; name = ReleaseUniversal; }; F91BCC50093152310042A6BF /* ReleaseUniversal */ = { isa = XCBuildConfiguration; buildSettings = { + PRODUCT_NAME = tcltest; + }; + name = ReleaseUniversal; + }; + F91BCC51093152310042A6BF /* ReleaseUniversal */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F97AE82B0B65C69B00310EA2 /* Tcl-Release.xcconfig */; + buildSettings = { ARCHS = ( ppc, ppc64, i386, x86_64, ); - BINDIR = "${PREFIX}/bin"; - CONFIGURE_ARGS = "--enable-threads ${CONFIGURE_ARGS}"; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEPLOYMENT_POSTPROCESSING = YES; - GCC_DEBUGGING_SYMBOLS = full; - GCC_DYNAMIC_NO_PIC = YES; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = ""; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = s; - GCC_PREFIX_HEADER = "${DERIVED_FILE_DIR}/tcl/tclConfig.h"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_TCL_CONFIG_H, - "${GCC_PREPROCESSOR_DEFINITIONS}", - ); - GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; - HEADER_SEARCH_PATHS = "${DERIVED_FILE_DIR}/tcl"; - INCLUDEDIR = "${PREFIX}/include"; - INSTALL_PATH = "${BINDIR}"; - LIBDIR = "${PREFIX}/lib"; - MANDIR = "${PREFIX}/man"; + CFLAGS = "-arch ppc -arch ppc64 -arch i386 -arch x86_64 $(CFLAGS)"; + MACOSX_DEPLOYMENT_TARGET = 10.4; OTHER_LDFLAGS = ( - "-headerpad_max_install_names", "-Wl,-no_arch_warnings", + "$(OTHER_LDFLAGS)", ); - PER_ARCH_CFLAGS_ppc = "-mcpu=G3 -mtune=G4"; - PER_ARCH_CFLAGS_ppc64 = "-mcpu=G5 -mpowerpc64"; PREBINDING = NO; - PREFIX = /usr/local; - PRODUCT_NAME = tcltest; - SEPARATE_STRIP = YES; - TCL_LIBRARY = "${LIBDIR}/tcl${VERSION}"; - TCL_PACKAGE_PATH = "\"${LIBDIR}\""; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; - VERSION = 8.5; - WARNING_CFLAGS = ( - "-Wall", - "-Wno-implicit-int", - "-Wextra", - "-Wno-unused-parameter", - "-Wno-missing-field-initializers", - ); - ZERO_LINK = NO; - }; - name = ReleaseUniversal; - }; - F91BCC51093152310042A6BF /* ReleaseUniversal */ = { - isa = XCBuildConfiguration; - buildSettings = { - CFLAGS = "-arch ppc -arch ppc64 -arch i386 -arch x86_64 -isysroot ${SDKROOT} -mmacosx-version-min=10.4"; - CONFIGURE_ARGS = "--disable-symbols"; - GCC_PREPROCESSOR_DEFINITIONS = NDEBUG; - MACOSX_DEPLOYMENT_TARGET = 10.4; - SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; }; name = ReleaseUniversal; }; F95CC8AC09158F3100EA5ACE /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - BINDIR = "${PREFIX}/bin"; - CFLAGS = "-Wno-deprecated-declarations ${CFLAGS}"; - INSTALL_PATH = /Library/Frameworks; - MAKE_TARGET = develop; - MANDIR = "${PREFIX}/man"; - PREFIX = /usr/local; - PRODUCT_NAME = Tcl; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; + PRODUCT_NAME = tclsh; }; name = Debug; }; F95CC8AD09158F3100EA5ACE /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - BINDIR = "${PREFIX}/bin"; - CFLAGS = "-Wno-deprecated-declarations ${CFLAGS}"; - INSTALL_PATH = /Library/Frameworks; - MAKE_TARGET = deploy; - MANDIR = "${PREFIX}/man"; - PREFIX = /usr/local; - PRODUCT_NAME = Tcl; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; + PRODUCT_NAME = tclsh; }; name = Release; }; F95CC8AE09158F3100EA5ACE /* DebugNoFixZL */ = { isa = XCBuildConfiguration; buildSettings = { - BINDIR = "${PREFIX}/bin"; - CFLAGS = "-Wno-deprecated-declarations ${CFLAGS}"; - INSTALL_PATH = /Library/Frameworks; - MAKE_TARGET = develop; - MANDIR = "${PREFIX}/man"; - PREFIX = /usr/local; - PRODUCT_NAME = Tcl; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; + PRODUCT_NAME = tclsh; }; name = DebugNoFixZL; }; F95CC8B109158F3100EA5ACE /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - BINDIR = "${PREFIX}/bin"; - CONFIGURE_ARGS = "--enable-threads ${CONFIGURE_ARGS}"; - DEAD_CODE_STRIPPING = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEPLOYMENT_POSTPROCESSING = NO; - GCC_DEBUGGING_SYMBOLS = default; - GCC_DYNAMIC_NO_PIC = YES; GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = ""; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREFIX_HEADER = "${DERIVED_FILE_DIR}/tcl/tclConfig.h"; GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_TCL_CONFIG_H, - "${GCC_PREPROCESSOR_DEFINITIONS}", + "__private_extern__=extern", + "$(GCC_PREPROCESSOR_DEFINITIONS)", ); - GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; - HEADER_SEARCH_PATHS = "${DERIVED_FILE_DIR}/tcl"; - INCLUDEDIR = "${PREFIX}/include"; - INSTALL_PATH = "${BINDIR}"; - LIBDIR = "${PREFIX}/lib"; - MANDIR = "${PREFIX}/man"; - OTHER_LDFLAGS = "-headerpad_max_install_names"; - PER_ARCH_CFLAGS_ppc = "-mcpu=G3 -mtune=G4"; - PER_ARCH_CFLAGS_ppc64 = "-mcpu=G5 -mpowerpc64"; - PREBINDING = NO; - PREFIX = /usr/local; PRODUCT_NAME = tcltest; - SEPARATE_STRIP = YES; - TCL_LIBRARY = "${LIBDIR}/tcl${VERSION}"; - TCL_PACKAGE_PATH = "\"${LIBDIR}\""; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; - VERSION = 8.5; - WARNING_CFLAGS = ( - "-Wall", - "-Wno-implicit-int", - "-Wextra", - "-Wno-unused-parameter", - "-Wno-missing-field-initializers", - ); ZERO_LINK = YES; }; name = Debug; @@ -2312,123 +2226,41 @@ F95CC8B209158F3100EA5ACE /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - BINDIR = "${PREFIX}/bin"; - CONFIGURE_ARGS = "--enable-threads ${CONFIGURE_ARGS}"; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEPLOYMENT_POSTPROCESSING = YES; - GCC_DEBUGGING_SYMBOLS = full; - GCC_DYNAMIC_NO_PIC = YES; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = ""; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = s; - GCC_PREFIX_HEADER = "${DERIVED_FILE_DIR}/tcl/tclConfig.h"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_TCL_CONFIG_H, - "${GCC_PREPROCESSOR_DEFINITIONS}", - ); - GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; - HEADER_SEARCH_PATHS = "${DERIVED_FILE_DIR}/tcl"; - INCLUDEDIR = "${PREFIX}/include"; - INSTALL_PATH = "${BINDIR}"; - LIBDIR = "${PREFIX}/lib"; - MANDIR = "${PREFIX}/man"; - OTHER_LDFLAGS = "-headerpad_max_install_names"; - PER_ARCH_CFLAGS_ppc = "-mcpu=G3 -mtune=G4"; - PER_ARCH_CFLAGS_ppc64 = "-mcpu=G5 -mpowerpc64"; - PREBINDING = NO; - PREFIX = /usr/local; PRODUCT_NAME = tcltest; - SEPARATE_STRIP = YES; - TCL_LIBRARY = "${LIBDIR}/tcl${VERSION}"; - TCL_PACKAGE_PATH = "\"${LIBDIR}\""; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; - VERSION = 8.5; - WARNING_CFLAGS = ( - "-Wall", - "-Wno-implicit-int", - "-Wextra", - "-Wno-unused-parameter", - "-Wno-missing-field-initializers", - ); - ZERO_LINK = NO; }; name = Release; }; F95CC8B309158F3100EA5ACE /* DebugNoFixZL */ = { isa = XCBuildConfiguration; buildSettings = { - BINDIR = "${PREFIX}/bin"; - CONFIGURE_ARGS = "--enable-threads ${CONFIGURE_ARGS}"; - DEAD_CODE_STRIPPING = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - DEPLOYMENT_POSTPROCESSING = NO; - GCC_DEBUGGING_SYMBOLS = default; - GCC_DYNAMIC_NO_PIC = YES; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - GCC_GENERATE_DEBUGGING_SYMBOLS = YES; - GCC_MODEL_TUNING = ""; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREFIX_HEADER = "${DERIVED_FILE_DIR}/tcl/tclConfig.h"; - GCC_PREPROCESSOR_DEFINITIONS = ( - HAVE_TCL_CONFIG_H, - "${GCC_PREPROCESSOR_DEFINITIONS}", - ); - GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; - HEADER_SEARCH_PATHS = "${DERIVED_FILE_DIR}/tcl"; - INCLUDEDIR = "${PREFIX}/include"; - INSTALL_PATH = "${BINDIR}"; - LIBDIR = "${PREFIX}/lib"; - MANDIR = "${PREFIX}/man"; - OTHER_LDFLAGS = "-headerpad_max_install_names"; - PER_ARCH_CFLAGS_ppc = "-mcpu=G3 -mtune=G4"; - PER_ARCH_CFLAGS_ppc64 = "-mcpu=G5 -mpowerpc64"; - PREBINDING = NO; - PREFIX = /usr/local; PRODUCT_NAME = tcltest; - SEPARATE_STRIP = YES; - TCL_LIBRARY = "${LIBDIR}/tcl${VERSION}"; - TCL_PACKAGE_PATH = "\"${LIBDIR}\""; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; - VERSION = 8.5; - WARNING_CFLAGS = ( - "-Wall", - "-Wno-implicit-int", - "-Wextra", - "-Wno-unused-parameter", - "-Wno-missing-field-initializers", - ); - ZERO_LINK = NO; }; name = DebugNoFixZL; }; F95CC8B609158F3100EA5ACE /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = F97AE8330B65C87F00310EA2 /* Tcl-Debug.xcconfig */; buildSettings = { - CONFIGURE_ARGS = "--enable-symbols"; - GCC_PREPROCESSOR_DEFINITIONS = "__private_extern__=extern"; MACOSX_DEPLOYMENT_TARGET = 10.2; + PREBINDING = NO; }; name = Debug; }; F95CC8B709158F3100EA5ACE /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = F97AE82B0B65C69B00310EA2 /* Tcl-Release.xcconfig */; buildSettings = { - CONFIGURE_ARGS = "--disable-symbols"; - GCC_PREPROCESSOR_DEFINITIONS = NDEBUG; MACOSX_DEPLOYMENT_TARGET = 10.2; + PREBINDING = YES; }; name = Release; }; F95CC8B809158F3100EA5ACE /* DebugNoFixZL */ = { isa = XCBuildConfiguration; + baseConfigurationReference = F97AE8330B65C87F00310EA2 /* Tcl-Debug.xcconfig */; buildSettings = { - CONFIGURE_ARGS = "--enable-symbols"; - GCC_PREPROCESSOR_DEFINITIONS = ""; MACOSX_DEPLOYMENT_TARGET = 10.2; + PREBINDING = NO; }; name = DebugNoFixZL; }; @@ -2437,8 +2269,7 @@ buildSettings = { PRODUCT_NAME = tests; TCLTEST_OPTIONS = ""; - TCL_LIBRARY = "${TCL_SRCROOT}/library"; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; + TCL_LIBRARY = "$(TCL_SRCROOT)/library"; TEST_RIG = "$(OBJROOT)/$(CONFIGURATION)/tcltest"; }; name = Debug; @@ -2448,8 +2279,7 @@ buildSettings = { PRODUCT_NAME = tests; TCLTEST_OPTIONS = ""; - TCL_LIBRARY = "${TCL_SRCROOT}/library"; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; + TCL_LIBRARY = "$(TCL_SRCROOT)/library"; TEST_RIG = "$(OBJROOT)/$(CONFIGURATION)/tcltest"; }; name = Release; @@ -2459,8 +2289,7 @@ buildSettings = { PRODUCT_NAME = tests; TCLTEST_OPTIONS = ""; - TCL_LIBRARY = "${TCL_SRCROOT}/library"; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; + TCL_LIBRARY = "$(TCL_SRCROOT)/library"; TEST_RIG = "$(OBJROOT)/$(CONFIGURATION)/tcltest"; }; name = DebugNoFixZL; @@ -2470,22 +2299,189 @@ buildSettings = { PRODUCT_NAME = tests; TCLTEST_OPTIONS = ""; - TCL_LIBRARY = "${TCL_SRCROOT}/library"; - TCL_SRCROOT = "${SRCROOT}/../../tcl"; + TCL_LIBRARY = "$(TCL_SRCROOT)/library"; TEST_RIG = "$(OBJROOT)/$(CONFIGURATION)/tcltest"; }; name = ReleaseUniversal; }; + F97AED080B660A6C00310EA2 /* ReleaseUniversal10.4uSDK */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tests; + TCLTEST_OPTIONS = ""; + TCL_LIBRARY = "$(TCL_SRCROOT)/library"; + TEST_RIG = "$(OBJROOT)/$(CONFIGURATION)/tcltest"; + }; + name = ReleaseUniversal10.4uSDK; + }; + F97AED0F0B660AA300310EA2 /* ReleasePPC10.3.9SDK */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tests; + TCLTEST_OPTIONS = ""; + TCL_LIBRARY = "$(TCL_SRCROOT)/library"; + TEST_RIG = "$(OBJROOT)/$(CONFIGURATION)/tcltest"; + }; + name = ReleasePPC10.3.9SDK; + }; + F97AED160B660AF100310EA2 /* ReleasePPC10.2.8SDK */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tests; + TCLTEST_OPTIONS = ""; + TCL_LIBRARY = "$(TCL_SRCROOT)/library"; + TEST_RIG = "$(OBJROOT)/$(CONFIGURATION)/tcltest"; + }; + name = ReleasePPC10.2.8SDK; + }; + F97AED1B0B660B2100310EA2 /* Debug64bit */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tclsh; + }; + name = Debug64bit; + }; + F97AED1C0B660B2100310EA2 /* Debug64bit */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tcltest; + }; + name = Debug64bit; + }; + F97AED1D0B660B2100310EA2 /* Debug64bit */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tests; + TCLTEST_OPTIONS = ""; + TCL_LIBRARY = "$(TCL_SRCROOT)/library"; + TEST_RIG = "$(OBJROOT)/$(CONFIGURATION)/tcltest"; + }; + name = Debug64bit; + }; + F97AED1E0B660B2100310EA2 /* Debug64bit */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F97AE8330B65C87F00310EA2 /* Tcl-Debug.xcconfig */; + buildSettings = { + ARCHS = "$(NATIVE_ARCH_64_BIT)"; + CONFIGURE_ARGS = "--enable-64bit $(CONFIGURE_ARGS)"; + CPPFLAGS = "-arch $(NATIVE_ARCH_64_BIT) $(CPPFLAGS)"; + MACOSX_DEPLOYMENT_TARGET = 10.2; + PREBINDING = NO; + }; + name = Debug64bit; + }; + F9DB62080B65ADA800A370FB /* ReleaseUniversal10.4uSDK */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tclsh; + }; + name = ReleaseUniversal10.4uSDK; + }; + F9DB62090B65ADA800A370FB /* ReleaseUniversal10.4uSDK */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tcltest; + }; + name = ReleaseUniversal10.4uSDK; + }; + F9DB620A0B65ADA800A370FB /* ReleaseUniversal10.4uSDK */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F97AE82B0B65C69B00310EA2 /* Tcl-Release.xcconfig */; + buildSettings = { + ARCHS = ( + ppc, + ppc64, + i386, + x86_64, + ); + CFLAGS = "-arch ppc -arch ppc64 -arch i386 -arch x86_64 $(CFLAGS)"; + CPPFLAGS = "-isysroot $(SDKROOT) $(CPPFLAGS)"; + MACOSX_DEPLOYMENT_TARGET = 10.4; + OTHER_LDFLAGS = ( + "-Wl,-no_arch_warnings", + "$(OTHER_LDFLAGS)", + ); + PREBINDING = NO; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + }; + name = ReleaseUniversal10.4uSDK; + }; + F9DB621F0B65AFDE00A370FB /* ReleasePPC10.3.9SDK */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tclsh; + }; + name = ReleasePPC10.3.9SDK; + }; + F9DB62200B65AFDE00A370FB /* ReleasePPC10.3.9SDK */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tcltest; + }; + name = ReleasePPC10.3.9SDK; + }; + F9DB62210B65AFDE00A370FB /* ReleasePPC10.3.9SDK */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F97AE82B0B65C69B00310EA2 /* Tcl-Release.xcconfig */; + buildSettings = { + ARCHS = ppc; + CFLAGS = "$(PER_ARCH_CFLAGS_ppc) $(CFLAGS)"; + CPPFLAGS = "-arch ppc -isysroot $(SDKROOT) $(CPPFLAGS)"; + MACOSX_DEPLOYMENT_TARGET = 10.2; + PREBINDING = YES; + SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk; + }; + name = ReleasePPC10.3.9SDK; + }; + F9DB62350B65B03A00A370FB /* ReleasePPC10.2.8SDK */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tclsh; + }; + name = ReleasePPC10.2.8SDK; + }; + F9DB62360B65B03A00A370FB /* ReleasePPC10.2.8SDK */ = { + isa = XCBuildConfiguration; + buildSettings = { + PRODUCT_NAME = tcltest; + }; + name = ReleasePPC10.2.8SDK; + }; + F9DB62370B65B03A00A370FB /* ReleasePPC10.2.8SDK */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F97AE82B0B65C69B00310EA2 /* Tcl-Release.xcconfig */; + buildSettings = { + ARCHS = ppc; + CC = "$(CC)-$(GCC_VERSION)"; + CFLAGS = "$(PER_ARCH_CFLAGS_ppc) -fconstant-cfstrings $(CFLAGS)"; + CPPFLAGS = "-arch ppc -D__CONSTANT_CFSTRINGS__ -DMAC_OS_X_VERSION_MIN_REQUIRED=1020 -nostdinc -isystem $(SDKROOT)/usr/include/gcc/darwin/$(GCC_VERSION) -isystem $(SDKROOT)/usr/include -F$(SDKROOT)/System/Library/Frameworks"; + DEBUG_INFORMATION_FORMAT = stabs; + GCC_VERSION = 3.3; + LDFLAGS = "-L$(SDKROOT)/usr/lib/gcc/darwin/$(GCC_VERSION) -Wl,-syslibroot,$(SDKROOT) "; + MACOSX_DEPLOYMENT_TARGET = 10.2; + PREBINDING = YES; + SDKROOT = /Developer/SDKs/MacOSX10.2.8.sdk; + WARNING_CFLAGS = ( + "$(WARNING_CFLAGS_GCC3)", + "-Wno-long-double", + ); + }; + name = ReleasePPC10.2.8SDK; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - F95CC8AB09158F3100EA5ACE /* Build configuration list for PBXLegacyTarget "Tcl" */ = { + F95CC8AB09158F3100EA5ACE /* Build configuration list for PBXNativeTarget "Tcl" */ = { isa = XCConfigurationList; buildConfigurations = ( F95CC8AC09158F3100EA5ACE /* Debug */, - F95CC8AD09158F3100EA5ACE /* Release */, F95CC8AE09158F3100EA5ACE /* DebugNoFixZL */, + F97AED1B0B660B2100310EA2 /* Debug64bit */, + F95CC8AD09158F3100EA5ACE /* Release */, F91BCC4F093152310042A6BF /* ReleaseUniversal */, + F9DB62080B65ADA800A370FB /* ReleaseUniversal10.4uSDK */, + F9DB621F0B65AFDE00A370FB /* ReleasePPC10.3.9SDK */, + F9DB62350B65B03A00A370FB /* ReleasePPC10.2.8SDK */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; @@ -2494,9 +2490,13 @@ isa = XCConfigurationList; buildConfigurations = ( F95CC8B109158F3100EA5ACE /* Debug */, - F95CC8B209158F3100EA5ACE /* Release */, F95CC8B309158F3100EA5ACE /* DebugNoFixZL */, + F97AED1C0B660B2100310EA2 /* Debug64bit */, + F95CC8B209158F3100EA5ACE /* Release */, F91BCC50093152310042A6BF /* ReleaseUniversal */, + F9DB62090B65ADA800A370FB /* ReleaseUniversal10.4uSDK */, + F9DB62200B65AFDE00A370FB /* ReleasePPC10.3.9SDK */, + F9DB62360B65B03A00A370FB /* ReleasePPC10.2.8SDK */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; @@ -2505,9 +2505,13 @@ isa = XCConfigurationList; buildConfigurations = ( F95CC8B609158F3100EA5ACE /* Debug */, - F95CC8B709158F3100EA5ACE /* Release */, F95CC8B809158F3100EA5ACE /* DebugNoFixZL */, + F97AED1E0B660B2100310EA2 /* Debug64bit */, + F95CC8B709158F3100EA5ACE /* Release */, F91BCC51093152310042A6BF /* ReleaseUniversal */, + F9DB620A0B65ADA800A370FB /* ReleaseUniversal10.4uSDK */, + F9DB62210B65AFDE00A370FB /* ReleasePPC10.3.9SDK */, + F9DB62370B65B03A00A370FB /* ReleasePPC10.2.8SDK */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; @@ -2516,9 +2520,13 @@ isa = XCConfigurationList; buildConfigurations = ( F97258A90A86873D00096C78 /* Debug */, - F97258AA0A86873D00096C78 /* Release */, F97258AB0A86873D00096C78 /* DebugNoFixZL */, + F97AED1D0B660B2100310EA2 /* Debug64bit */, + F97258AA0A86873D00096C78 /* Release */, F97258AC0A86873D00096C78 /* ReleaseUniversal */, + F97AED080B660A6C00310EA2 /* ReleaseUniversal10.4uSDK */, + F97AED0F0B660AA300310EA2 /* ReleasePPC10.3.9SDK */, + F97AED160B660AF100310EA2 /* ReleasePPC10.2.8SDK */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; |