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 <das@users.sourceforge.net> |
---|
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 | // RCS: @(#) $Id: Tcl-Common.xcconfig,v 1.10 2008/03/12 22:17:57 das Exp $ |
---|
13 | // |
---|
14 | |
---|
15 | HEADER_SEARCH_PATHS = "$(DERIVED_FILE_DIR)/tcl" $(HEADER_SEARCH_PATHS) |
---|
16 | OTHER_LDFLAGS = -headerpad_max_install_names -sectcreate __TEXT __info_plist "$(DERIVED_FILE_DIR)/tcl/Tclsh-Info.plist" $(OTHER_LDFLAGS) |
---|
17 | INSTALL_PATH = $(BINDIR) |
---|
18 | INSTALL_MODE_FLAG = go-w,a+rX |
---|
19 | GCC_PREFIX_HEADER = $(DERIVED_FILE_DIR)/tcl/tclConfig.h |
---|
20 | GCC_GENERATE_DEBUGGING_SYMBOLS = YES |
---|
21 | GCC_NO_COMMON_BLOCKS = YES |
---|
22 | GCC_DYNAMIC_NO_PIC = YES |
---|
23 | GCC = $(DEVELOPER_DIR)/usr/bin/gcc |
---|
24 | GCC_VERSION = 4.0 |
---|
25 | CC = $(GCC)-$(GCC_VERSION) |
---|
26 | LD = $(CC) |
---|
27 | WARNING_CFLAGS_GCC3 = -Wall -Wno-implicit-int -Wno-unused-parameter -Wno-deprecated-declarations |
---|
28 | WARNING_CFLAGS = -Wextra -Wno-missing-field-initializers -Winit-self -Wpointer-arith -Wcast-align -Wdisabled-optimization -Winline $(WARNING_CFLAGS_GCC3) $(WARNING_CFLAGS) |
---|
29 | BINDIR = $(PREFIX)/bin |
---|
30 | CFLAGS = $(CFLAGS) |
---|
31 | CPPFLAGS = -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) $(CPPFLAGS) |
---|
32 | FRAMEWORK_INSTALL_PATH = /Library/Frameworks |
---|
33 | INCLUDEDIR = $(PREFIX)/include |
---|
34 | LIBDIR = $(PREFIX)/lib |
---|
35 | MANDIR = $(PREFIX)/man |
---|
36 | PER_ARCH_CFLAGS_ppc = -mcpu=G3 -mtune=G4 $(PER_ARCH_CFLAGS_ppc) |
---|
37 | PER_ARCH_CFLAGS_ppc64 = -mcpu=G5 -mpowerpc64 $(PER_ARCH_CFLAGS_ppc64) |
---|
38 | PREFIX = /usr/local |
---|
39 | TCL_CONFIGURE_ARGS = --enable-threads --enable-dtrace |
---|
40 | TCL_LIBRARY = $(LIBDIR)/tcl$(VERSION) |
---|
41 | TCL_PACKAGE_PATH = "$(LIBDIR)" |
---|
42 | TCL_DEFS = HAVE_TCL_CONFIG_H |
---|
43 | VERSION = 8.5 |
---|