summaryrefslogtreecommitdiffstats
path: root/macosx/Tcl-Common.xcconfig
diff options
context:
space:
mode:
authordas <das>2007-01-28 01:42:04 (GMT)
committerdas <das>2007-01-28 01:42:04 (GMT)
commit4f2fa1f435bb268038217130a7187bf487818c36 (patch)
treeb873d21c42354c8ccbc8d1bb28c48fc3613bd22e /macosx/Tcl-Common.xcconfig
parentc3cb90f8f7050dde3edaa63f5f3644220af6ffce (diff)
downloadtcl-4f2fa1f435bb268038217130a7187bf487818c36.zip
tcl-4f2fa1f435bb268038217130a7187bf487818c36.tar.gz
tcl-4f2fa1f435bb268038217130a7187bf487818c36.tar.bz2
* macosx/Tcl.xcodeproj/project.pbxproj: extract build settings that
* macosx/Tcl.xcodeproj/default.pbxuser: were common to multiple * macosx/Tcl-Common.xcconfig (new file): configurations into external * macosx/Tcl-Debug.xcconfig (new file): xcconfig files; add extra * macosx/Tcl-Release.xcconfig (new file): configurations for building with SDKs and 64bit; convert legacy jam-based 'Tcl' target to native target with single script phase; correct syntax of build setting references to use $() throughout. * macosx/README: document new Tcl.xcodeproj configurations; other minor updates/corrections. * generic/tcl.h: update location of version numbers in macosx files. * macosx/Tcl.xcode/project.pbxproj: restore 'tcltest' target to working * macosx/Tcl.xcode/default.pbxuser: order by replicating applicable changes to Tcl.xcodeproj since 2006-07-20.
Diffstat (limited to 'macosx/Tcl-Common.xcconfig')
-rw-r--r--macosx/Tcl-Common.xcconfig39
1 files changed, 39 insertions, 0 deletions
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