| 1 |
// |
| 2 |
// Tcl-Common.xcconfig -- |
| 3 |
// |
| 4 |
// This file contains the Xcode build settings comon to all |
| 5 |
// project configurations in Tcl.xcodeproj. |
| 6 |
// |
| 7 |
// Copyright (c) 2007-2008 Daniel A. Steffen <[email protected]> |
| 8 |
// |
| 9 |
// See the file "license.terms" for information on usage and redistribution |
| 10 |
// of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
| 11 |
|
| 12 |
HEADER_SEARCH_PATHS = "$(DERIVED_FILE_DIR)/tcl" $(HEADER_SEARCH_PATHS) |
| 13 |
OTHER_LDFLAGS = -headerpad_max_install_names -sectcreate __TEXT __info_plist "$(DERIVED_FILE_DIR)/tcl/Tclsh-Info.plist" $(OTHER_LDFLAGS) |
| 14 |
INSTALL_PATH = $(BINDIR) |
| 15 |
INSTALL_MODE_FLAG = go-w,a+rX |
| 16 |
GCC_PREFIX_HEADER = $(DERIVED_FILE_DIR)/tcl/tclConfig.h |
| 17 |
GCC_GENERATE_DEBUGGING_SYMBOLS = YES |
| 18 |
GCC_NO_COMMON_BLOCKS = YES |
| 19 |
GCC_DYNAMIC_NO_PIC = YES |
| 20 |
GCC_VERSION = 4.2 |
| 21 |
GCC = gcc-$(GCC_VERSION) |
| 22 |
WARNING_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-value -Winit-self -Wpointer-arith -Wcast-align -Wdisabled-optimization -Winline $(WARNING_CFLAGS) |
| 23 |
BINDIR = $(PREFIX)/bin |
| 24 |
CFLAGS = $(CFLAGS) |
| 25 |
CPPFLAGS = -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) $(CPPFLAGS) |
| 26 |
FRAMEWORK_INSTALL_PATH = /Library/Frameworks |
| 27 |
INCLUDEDIR = $(PREFIX)/include |
| 28 |
LIBDIR = $(PREFIX)/lib |
| 29 |
MANDIR = $(PREFIX)/man |
| 30 |
PER_ARCH_CFLAGS_ppc = -mcpu=G3 -mtune=G4 $(PER_ARCH_CFLAGS_ppc) |
| 31 |
PER_ARCH_CFLAGS_ppc64 = -mcpu=G5 -mpowerpc64 $(PER_ARCH_CFLAGS_ppc64) |
| 32 |
PREFIX = /usr/local |
| 33 |
TCL_CONFIGURE_ARGS = --enable-threads --enable-dtrace |
| 34 |
TCL_LIBRARY = $(LIBDIR)/tcl$(VERSION) |
| 35 |
TCL_PACKAGE_PATH = "$(LIBDIR)" |
| 36 |
TCL_DEFS = HAVE_TCL_CONFIG_H |
| 37 |
VERSION = 8.6 |