38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
|
//
|
||
|
// Tcl-Common.xcconfig --
|
||
|
//
|
||
|
// This file contains the Xcode build settings comon to all
|
||
|
// project configurations in Tcl.xcodeproj.
|
||
|
//
|
||
|
// Copyright (c) 2007-2008 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.
|
||
|
|
||
|
HEADER_SEARCH_PATHS = "$(DERIVED_FILE_DIR)/tcl" $(HEADER_SEARCH_PATHS)
|
||
|
OTHER_LDFLAGS = -headerpad_max_install_names -sectcreate __TEXT __info_plist "$(DERIVED_FILE_DIR)/tcl/Tclsh-Info.plist" $(OTHER_LDFLAGS)
|
||
|
INSTALL_PATH = $(BINDIR)
|
||
|
INSTALL_MODE_FLAG = go-w,a+rX
|
||
|
GCC_PREFIX_HEADER = $(DERIVED_FILE_DIR)/tcl/tclConfig.h
|
||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
|
||
|
GCC_NO_COMMON_BLOCKS = YES
|
||
|
GCC_DYNAMIC_NO_PIC = YES
|
||
|
GCC_VERSION = 4.2
|
||
|
GCC = gcc-$(GCC_VERSION)
|
||
|
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)
|
||
|
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 --enable-dtrace
|
||
|
TCL_LIBRARY = $(LIBDIR)/tcl$(VERSION)
|
||
|
TCL_PACKAGE_PATH = "$(LIBDIR)"
|
||
|
TCL_DEFS = HAVE_TCL_CONFIG_H
|
||
|
VERSION = 8.6
|