Re: static to override dylib
Re: static to override dylib
- Subject: Re: static to override dylib
- From: email@hidden
- Date: Tue, 15 Jul 2008 13:22:03 -0400 (EDT)
Just thinking out loud... Wouldn't it make sense that if you explicitly
include libxyz.a that this would tell the linker that you do not want to
link against libxyz.dylib? This would sure simplify things and save a lot
of headaches.
This is in fact the recommended solution. Given -lxyz, the linker will
always prefer libxyz.dylib to libxyz.a in the same directory. You override
this by providing an explicit full path to /usr/lib/libxyz.a, which you can
do in Other Linker Flags in Xcode.
I am unable to produce this linking behavior using the
_recommended_ approach:
To start afresh I removed my custom "libiconv.a" and "iconv.h"
from "Groups & Files" and commented out my #include and those
2 functions that uses iconv, clean all, build, the result is an
executable without the dylib
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.10)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 18.0.0)
then, I
1. uncommented my #include and uncommented the 2 functions
2. added the custom "libiconv.a" and "iconv.h" back to "Groups & Files"
3. Project -> Edit Project Setting -> Build(tab)
OTHER_LDFLAGS = /tmp/libiconv/Build/lib/.libs/libiconv.a
(file exists on disk as)
-rw-r--r-- 1 j wheel 6106960 Jul 15 11:16 /tmp/libiconv/Build/lib/.libs/libiconv.a
4. clean all and build
the resulting executable still links to the /usr/lib's dylib
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.10)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 18.0.0)
Xcode IDE: 1099.0
Xcode Core: 1100.0
ToolSupport: 1086.0
using Xcode 3.1 on 10.5.4
Darwin crag.local 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53
PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386
and yes the custom library is a universal
/tmp/libiconv/Build/lib/.libs/libiconv.a: Mach-O universal binary with 4 architectures
/tmp/libiconv/Build/lib/.libs/libiconv.a (for architecture ppc): current ar archive random library
/tmp/libiconv/Build/lib/.libs/libiconv.a (for architecture ppc64): current ar archive random library
/tmp/libiconv/Build/lib/.libs/libiconv.a (for architecture i386): current ar archive random library
/tmp/libiconv/Build/lib/.libs/libiconv.a (for architecture x86_64): current ar archive random library
attached is a copy of my project.pbxproj and debug.xcconfig
What am I missing?
-- debug.xcconfig --
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
SYMROOT = $(SRCROOT)/../../build_mac
OBJROOT = $(SYMROOT)/Intermediates
SHARED_PRECOMPS_DIR = $(SYMROOT)/Intermediates/Precompiled
CONFIGURATION_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)
CONFIGURATION_TEMP_DIR = $(PROJECT_TEMP_DIR)/$(CONFIGURATION)
HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon
ALWAYS_SEARCH_USER_PATHS = NO
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../../xdk11_mac/Include/MACMach" "$(SRCROOT)/../../xdk11_mac/Include" $(inheri
ted);
ARCHS = i386 ppc
GCC_OPTIMIZATION_LEVEL = 0
GCC_WARN_UNUSED_VARIABLE = YES
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
GCC_PRECOMPILE_PREFIX_HEADER = YES
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = YES
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO
GCC_WARN_ABOUT_RETURN_TYPE = YES
GCC_MODEL_TUNING = G5
GCC_ENABLE_CPP_RTTI = YES
GCC_ENABLE_CPP_EXCEPTIONS = YES
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_PREFIX_HEADER = ../../xdk11_mac/Include/MACMach/prefix.pch
EXPORTED_SYMBOLS_FILE = ../../xdk11_mac/Include/MACmach/xtra_exports.txt
GENERATE_PKGINFO_FILE = YES
WRAPPER_EXTENSION = xtra
INFOPLIST_FILE = Info.plist
PREBINDING = NO
STRIP_STYLE = non-global
DEBUG_INFORMATION_FORMAT = dwarf
ZERO_LINK = NO
INFOPLIST_PREPROCESS = YES
INFOPLIST_PREPROCESSOR_DEFINITIONS = VerString="1.1-dev" CopyrightString="PRegEx 1.1-dev" Exec="PRegEx"
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = _MACINTOSH
PRODUCT_NAME = PRegEx
-- project.pbxproj --
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objects = {
/* Begin PBXBuildFile section */
8D01CCCE0486CAD60068D4B7 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 08EA7FFBFE8413EDC02AAC07 /* Carbon.framework */; };
D92A34FF0DE39FC500014914 /* pcre_ord2utf8.c in Sources */ = {isa = PBXBuildFile; fileRef = D92A34FE0DE39FC500014914 /* pcre_ord2utf8.c */; };
D9543D210DC9491600A300D5 /* re_main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D9543D1C0DC9491600A300D5 /* re_main.cpp */; };
D9543D220DC9491600A300D5 /* re_reg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D9543D1E0DC9491600A300D5 /* re_reg.cpp */; };
D9543D230DC9491600A300D5 /* re_xtra.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D9543D200DC9491600A300D5 /* re_xtra.cpp */; };
D9543D8E0DCC0B5B00A300D5 /* CFMRuntime.lib in Resources */ = {isa = PBXBuildFile; fileRef = D9543D8B0DCC0B5B00A300D5 /* CFMRuntime.lib */; };
D9543D8F0DCC0B5B00A300D5 /* libXSupport.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D9543D8C0DCC0B5B00A300D5 /* libXSupport.a */; };
D9543D900DCC0B5B00A300D5 /* xsupport.lib in Resources */ = {isa = PBXBuildFile; fileRef = D9543D8D0DCC0B5B00A300D5 /* xsupport.lib */; };
D97B25620DDDE01B00962F62 /* pcre_chartables.c in Sources */ = {isa = PBXBuildFile; fileRef = D97B25610DDDE01B00962F62 /* pcre_chartables.c */; };
D993663D0DEDECB300A44B8C /* pcre_compile.c in Sources */ = {isa = PBXBuildFile; fileRef = D993663C0DEDECB300A44B8C /* pcre_compile.c */; };
D9B766390DDCBB09009C286E /* pcre_exec.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B766330DDCBB09009C286E /* pcre_exec.c */; };
D9B7663A0DDCBB09009C286E /* pcre_fullinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B766340DDCBB09009C286E /* pcre_fullinfo.c */; };
D9B7663B0DDCBB09009C286E /* pcre_get.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B766350DDCBB09009C286E /* pcre_get.c */; };
D9B7663C0DDCBB09009C286E /* pcre_globals.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B766360DDCBB09009C286E /* pcre_globals.c */; };
D9B766430DDCBB49009C286E /* pcre_version.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B7663D0DDCBB49009C286E /* pcre_version.c */; };
D9B766440DDCBB49009C286E /* pcre_xclass.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B7663E0DDCBB49009C286E /* pcre_xclass.c */; };
D9B766450DDCBB49009C286E /* pcre_try_flipped.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B7663F0DDCBB49009C286E /* pcre_try_flipped.c */; };
D9B766460DDCBB49009C286E /* pcre_study.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B766400DDCBB49009C286E /* pcre_study.c */; };
D9B766470DDCBB49009C286E /* pcre_tables.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B766410DDCBB49009C286E /* pcre_tables.c */; };
D9B766480DDCBB49009C286E /* pcre_newline.c in Sources */ = {isa = PBXBuildFile; fileRef = D9B766420DDCBB49009C286E /* pcre_newline.c */; };
D9D3D86F0DE331EC007D5E63 /* pcre_ucp_searchfuncs.c in Sources */ = {isa = PBXBuildFile; fileRef = D9D3D86E0DE331EC007D5E63 /* pcre_ucp_searchfuncs.c */; };
D9D3D8730DE3320F007D5E63 /* pcre_valid_utf8.c in Sources */ = {isa = PBXBuildFile; fileRef = D9D3D8720DE3320F007D5E63 /* pcre_valid_utf8.c */; };
D9E786290E2D0EA600487CFC /* libiconv.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D9E786280E2D0EA600487CFC /* libiconv.a */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
08EA7FFBFE8413EDC02AAC07 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
372142E60BA0E66200B77770 /* xtra_exports.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = xtra_exports.txt; path = ../../xdk11_mac/Include/MACMach/xtra_exports.txt; sourceTree = SOURCE_ROOT; };
37338C840ADC5D630003801C /* PRegEx.xtra */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PRegEx.xtra; sourceTree = BUILT_PRODUCTS_DIR; };
374214500B12C41700164777 /* PRegEx.Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xcconfig; path = PRegEx.Debug.xcconfig; sourceTree = "<group>"; };
374214510B12C41700164777 /* PRegEx.Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.xcconfig; path = PRegEx.Release.xcconfig; sourceTree = "<group>"; };
374214F20B12CB9B00164777 /* prefix.pch */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = prefix.pch; path = ../../xdk11_mac/Include/MACMach/prefix.pch; sourceTree = "<group>"; };
8D01CCD10486CAD60068D4B7 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
D92A34FE0DE39FC500014914 /* pcre_ord2utf8.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_ord2utf8.c; path = "../../pcre-7.6/pcre_ord2utf8.c"; sourceTree = SOURCE_ROOT; };
D9543D1C0DC9491600A300D5 /* re_main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = re_main.cpp; path = ../source/re_main.cpp; sourceTree = SOURCE_ROOT; };
D9543D1D0DC9491600A300D5 /* re_main.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = re_main.h; path = ../source/re_main.h; sourceTree = SOURCE_ROOT; };
D9543D1E0DC9491600A300D5 /* re_reg.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = re_reg.cpp; path = ../source/re_reg.cpp; sourceTree = SOURCE_ROOT; };
D9543D1F0DC9491600A300D5 /* re_reg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = re_reg.h; path = ../source/re_reg.h; sourceTree = SOURCE_ROOT; };
D9543D200DC9491600A300D5 /* re_xtra.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = re_xtra.cpp; path = ../source/re_xtra.cpp; sourceTree = SOURCE_ROOT; };
D9543D8B0DCC0B5B00A300D5 /* CFMRuntime.lib */ = {isa = PBXFileReference; lastKnownFileType = file; name = CFMRuntime.lib; path = ../../xdk11_mac/Lib/MacOSX/CFMRuntime.lib; sourceTree = "<group>"; };
D9543D8C0DCC0B5B00A300D5 /* libXSupport.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libXSupport.a; path = ../../xdk11_mac/Lib/MacOSX/libXSupport.a; sourceTree = "<group>"; };
D9543D8D0DCC0B5B00A300D5 /* xsupport.lib */ = {isa = PBXFileReference; lastKnownFileType = file; name = xsupport.lib; path = ../../xdk11_mac/Lib/MacOSX/xsupport.lib; sourceTree = "<group>"; };
D97B25610DDDE01B00962F62 /* pcre_chartables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pcre_chartables.c; sourceTree = "<group>"; };
D993663C0DEDECB300A44B8C /* pcre_compile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pcre_compile.c; sourceTree = "<group>"; };
D99B05980DD82BA100AC780D /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; };
D99B059A0DD82C1000AC780D /* pcre.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pcre.h; sourceTree = "<group>"; };
D9B766330DDCBB09009C286E /* pcre_exec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_exec.c; path = "../../pcre-7.6/pcre_exec.c"; sourceTree = SOURCE_ROOT; };
D9B766340DDCBB09009C286E /* pcre_fullinfo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_fullinfo.c; path = "../../pcre-7.6/pcre_fullinfo.c"; sourceTree = SOURCE_ROOT; };
D9B766350DDCBB09009C286E /* pcre_get.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_get.c; path = "../../pcre-7.6/pcre_get.c"; sourceTree = SOURCE_ROOT; };
D9B766360DDCBB09009C286E /* pcre_globals.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_globals.c; path = "../../pcre-7.6/pcre_globals.c"; sourceTree = SOURCE_ROOT; };
D9B766370DDCBB09009C286E /* pcre_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pcre_internal.h; path = "../../pcre-7.6/pcre_internal.h"; sourceTree = SOURCE_ROOT; };
D9B7663D0DDCBB49009C286E /* pcre_version.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_version.c; path = "../../pcre-7.6/pcre_version.c"; sourceTree = SOURCE_ROOT; };
D9B7663E0DDCBB49009C286E /* pcre_xclass.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_xclass.c; path = "../../pcre-7.6/pcre_xclass.c"; sourceTree = SOURCE_ROOT; };
D9B7663F0DDCBB49009C286E /* pcre_try_flipped.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_try_flipped.c; path = "../../pcre-7.6/pcre_try_flipped.c"; sourceTree = SOURCE_ROOT; };
D9B766400DDCBB49009C286E /* pcre_study.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_study.c; path = "../../pcre-7.6/pcre_study.c"; sourceTree = SOURCE_ROOT; };
D9B766410DDCBB49009C286E /* pcre_tables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_tables.c; path = "../../pcre-7.6/pcre_tables.c"; sourceTree = SOURCE_ROOT; };
D9B766420DDCBB49009C286E /* pcre_newline.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_newline.c; path = "../../pcre-7.6/pcre_newline.c"; sourceTree = SOURCE_ROOT; };
D9D3D86E0DE331EC007D5E63 /* pcre_ucp_searchfuncs.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_ucp_searchfuncs.c; path = "../../pcre-7.6/pcre_ucp_searchfuncs.c"; sourceTree = SOURCE_ROOT; };
D9D3D8720DE3320F007D5E63 /* pcre_valid_utf8.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_valid_utf8.c; path = "../../pcre-7.6/pcre_valid_utf8.c"; sourceTree = SOURCE_ROOT; };
D9E786270E2D0E9100487CFC /* iconv.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = iconv.h; path = /tmp/libiconv/Build/include/iconv.h; sourceTree = "<absolute>"; };
D9E786280E2D0EA600487CFC /* libiconv.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libiconv.a; path = /tmp/libiconv/Build/lib/.libs/libiconv.a; sourceTree = "<absolute>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
8D01CCCD0486CAD60068D4B7 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
8D01CCCE0486CAD60068D4B7 /* Carbon.framework in Frameworks */,
D9543D8F0DCC0B5B00A300D5 /* libXSupport.a in Frameworks */,
D9E786290E2D0EA600487CFC /* libiconv.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
089C166AFE841209C02AAC07 /* Script */ = {
isa = PBXGroup;
children = (
08FB77ADFE841716C02AAC07 /* Source */,
D9ADB16B0DCD87BF00E7D2EF /* config */,
089C167CFE841241C02AAC07 /* Resources */,
089C1671FE841209C02AAC07 /* External Frameworks and Libraries */,
19C28FB4FE9D528D11CA2CBB /* Products */,
);
name = Script;
sourceTree = "<group>";
};
089C1671FE841209C02AAC07 /* External Frameworks and Libraries */ = {
isa = PBXGroup;
children = (
D9E786280E2D0EA600487CFC /* libiconv.a */,
D9543D8B0DCC0B5B00A300D5 /* CFMRuntime.lib */,
D9543D8C0DCC0B5B00A300D5 /* libXSupport.a */,
D9543D8D0DCC0B5B00A300D5 /* xsupport.lib */,
08EA7FFBFE8413EDC02AAC07 /* Carbon.framework */,
);
name = "External Frameworks and Libraries";
sourceTree = "<group>";
};
089C167CFE841241C02AAC07 /* Resources */ = {
isa = PBXGroup;
children = (
8D01CCD10486CAD60068D4B7 /* Info.plist */,
);
name = Resources;
sourceTree = "<group>";
};
08FB77ADFE841716C02AAC07 /* Source */ = {
isa = PBXGroup;
children = (
D9E786270E2D0E9100487CFC /* iconv.h */,
D9543D1C0DC9491600A300D5 /* re_main.cpp */,
D9543D1D0DC9491600A300D5 /* re_main.h */,
D9543D1E0DC9491600A300D5 /* re_reg.cpp */,
D9543D1F0DC9491600A300D5 /* re_reg.h */,
D9543D200DC9491600A300D5 /* re_xtra.cpp */,
D9ADB16D0DCD87F600E7D2EF /* pcre-7.6 */,
D9ADB0E60DCD874F00E7D2EF /* pcre_custom */,
D9D9DFAE0E017B77001076F6 /* libiconv-1.12 */,
);
name = Source;
sourceTree = "<group>";
};
19C28FB4FE9D528D11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
37338C840ADC5D630003801C /* PRegEx.xtra */,
);
name = Products;
sourceTree = "<group>";
};
D92A35000DE39FDD00014914 /* unicode */ = {
isa = PBXGroup;
children = (
D9D3D86E0DE331EC007D5E63 /* pcre_ucp_searchfuncs.c */,
D9D3D8720DE3320F007D5E63 /* pcre_valid_utf8.c */,
D92A34FE0DE39FC500014914 /* pcre_ord2utf8.c */,
);
name = unicode;
sourceTree = "<group>";
};
D9926AF00DE3A20000DF597F /* interface */ = {
isa = PBXGroup;
children = (
D9B766370DDCBB09009C286E /* pcre_internal.h */,
D9B766360DDCBB09009C286E /* pcre_globals.c */,
);
name = interface;
sourceTree = "<group>";
};
D9ADB0E60DCD874F00E7D2EF /* pcre_custom */ = {
isa = PBXGroup;
children = (
D993663C0DEDECB300A44B8C /* pcre_compile.c */,
D97B25610DDDE01B00962F62 /* pcre_chartables.c */,
D99B059A0DD82C1000AC780D /* pcre.h */,
D99B05980DD82BA100AC780D /* config.h */,
);
name = pcre_custom;
path = ../source/pcre_custom;
sourceTree = SOURCE_ROOT;
};
D9ADB16B0DCD87BF00E7D2EF /* config */ = {
isa = PBXGroup;
children = (
374214F20B12CB9B00164777 /* prefix.pch */,
374214500B12C41700164777 /* PRegEx.Debug.xcconfig */,
374214510B12C41700164777 /* PRegEx.Release.xcconfig */,
372142E60BA0E66200B77770 /* xtra_exports.txt */,
);
name = config;
sourceTree = "<group>";
};
D9ADB16D0DCD87F600E7D2EF /* pcre-7.6 */ = {
isa = PBXGroup;
children = (
D9926AF00DE3A20000DF597F /* interface */,
D9B766330DDCBB09009C286E /* pcre_exec.c */,
D9B766340DDCBB09009C286E /* pcre_fullinfo.c */,
D9B766350DDCBB09009C286E /* pcre_get.c */,
D9B766420DDCBB49009C286E /* pcre_newline.c */,
D9B766400DDCBB49009C286E /* pcre_study.c */,
D9B766410DDCBB49009C286E /* pcre_tables.c */,
D9B7663F0DDCBB49009C286E /* pcre_try_flipped.c */,
D9B7663D0DDCBB49009C286E /* pcre_version.c */,
D9B7663E0DDCBB49009C286E /* pcre_xclass.c */,
D92A35000DE39FDD00014914 /* unicode */,
);
name = "pcre-7.6";
sourceTree = "<group>";
};
D9D9DFAE0E017B77001076F6 /* libiconv-1.12 */ = {
isa = PBXGroup;
children = (
);
name = "libiconv-1.12";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
8D01CCC60486CAD60068D4B7 /* PRegEx */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4FADC23308B4156C00ABE55E /* Build configuration list for PBXNativeTarget "PRegEx" */;
buildPhases = (
374E50DB0ADB038A00C9101E /* Rez */,
8D01CCC90486CAD60068D4B7 /* Resources */,
8D01CCCB0486CAD60068D4B7 /* Sources */,
8D01CCCD0486CAD60068D4B7 /* Frameworks */,
37313A250BA763EF0002B990 /* ShellScript */,
);
buildRules = (
);
dependencies = (
);
name = PRegEx;
productInstallPath = "$(HOME)/Library/Bundles";
productName = Script;
productReference = 37338C840ADC5D630003801C /* PRegEx.xtra */;
productType = "com.apple.product-type.bundle";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 4FADC23708B4156C00ABE55E /* Build configuration list for PBXProject "PRegEx" */;
compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
mainGroup = 089C166AFE841209C02AAC07 /* Script */;
projectDirPath = "";
projectRoot = "";
targets = (
8D01CCC60486CAD60068D4B7 /* PRegEx */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
8D01CCC90486CAD60068D4B7 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D9543D8E0DCC0B5B00A300D5 /* CFMRuntime.lib in Resources */,
D9543D900DCC0B5B00A300D5 /* xsupport.lib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXRezBuildPhase section */
374E50DB0ADB038A00C9101E /* Rez */ = {
isa = PBXRezBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXRezBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
37313A250BA763EF0002B990 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/bash;
shellScript = "# for the release build, we do a \"strip\" on the output file\nif [ $ACTION = \"build\" -a $CONFIGURATION = \"Release\" ]\nthen\n\tstrip -x \"$BUILT_PRODUCTS_DIR/$EXECUTABLE_PATH\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
8D01CCCB0486CAD60068D4B7 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D9543D210DC9491600A300D5 /* re_main.cpp in Sources */,
D9543D220DC9491600A300D5 /* re_reg.cpp in Sources */,
D9543D230DC9491600A300D5 /* re_xtra.cpp in Sources */,
D9B766390DDCBB09009C286E /* pcre_exec.c in Sources */,
D9B7663A0DDCBB09009C286E /* pcre_fullinfo.c in Sources */,
D9B7663B0DDCBB09009C286E /* pcre_get.c in Sources */,
D9B7663C0DDCBB09009C286E /* pcre_globals.c in Sources */,
D9B766430DDCBB49009C286E /* pcre_version.c in Sources */,
D9B766440DDCBB49009C286E /* pcre_xclass.c in Sources */,
D9B766450DDCBB49009C286E /* pcre_try_flipped.c in Sources */,
D9B766460DDCBB49009C286E /* pcre_study.c in Sources */,
D9B766470DDCBB49009C286E /* pcre_tables.c in Sources */,
D9B766480DDCBB49009C286E /* pcre_newline.c in Sources */,
D97B25620DDDE01B00962F62 /* pcre_chartables.c in Sources */,
D9D3D86F0DE331EC007D5E63 /* pcre_ucp_searchfuncs.c in Sources */,
D9D3D8730DE3320F007D5E63 /* pcre_valid_utf8.c in Sources */,
D92A34FF0DE39FC500014914 /* pcre_ord2utf8.c in Sources */,
D993663D0DEDECB300A44B8C /* pcre_compile.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
4FADC23408B4156C00ABE55E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
EXECUTABLE_EXTENSION = "";
EXPORTED_SYMBOLS_FILE = ../../xdk11_mac/Include/MACmach/xtra_exports.txt;
INSTALL_PATH = "$(HOME)/Library/Bundles";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5)",
/tmp/libiconv/Build/lib/.libs,
);
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../xdk11_mac/Lib/MacOSX\"";
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/../../pcre-7.6\"";
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3 = "\"$(SRCROOT)/../../build_mac/libiconv/lib\"";
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4 = "\"$(SRCROOT)\"";
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_5 = "\"$(SRCROOT)/../../libiconv-1.12/lib/.libs\"";
};
name = Debug;
};
4FADC23508B4156C00ABE55E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
EXPORTED_SYMBOLS_FILE = ../../xdk11_mac/Include/MACmach/xtra_exports.txt;
INSTALL_PATH = "$(HOME)/Library/Bundles";
LIBRARY_SEARCH_PATHS = (
"$(inherited)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4)",
/tmp/libiconv/Build/lib/.libs,
);
LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/../../build_mac/libiconv/lib\"";
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)/../../xdk11_mac/Lib/MacOSX\"";
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SRCROOT)/../../pcre-7.6\"";
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_3 = "\"$(SRCROOT)\"";
LIBRARY_SEARCH_PATHS_QUOTED_FOR_TARGET_4 = "\"$(SRCROOT)/../../libiconv-1.12/lib/.libs\"";
};
name = Release;
};
4FADC23808B4156C00ABE55E /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 374214500B12C41700164777 /* PRegEx.Debug.xcconfig */;
buildSettings = {
COPY_PHASE_STRIP = YES;
EXPORTED_SYMBOLS_FILE = ../../xdk11_mac/Include/MACmach/xtra_exports.txt;
GCC_PREFIX_HEADER = ../../xdk11_mac/Include/MACMach/prefix.pch;
GENERATE_MASTER_OBJECT_FILE = NO;
LIBRARY_SEARCH_PATHS = "/System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ImageIO.framework/Versions/Current/Resources\n/System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ImageIO.framework/Versions/Current/Resources\n/System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ImageIO.framework/Versions/Current/Resources\n/System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ImageIO.framework/Versions/Current/Resources";
OTHER_CFLAGS = (
"-D",
HAVE_CONFIG_H,
);
OTHER_LDFLAGS = /tmp/libiconv/Build/lib/.libs/libiconv.a;
PREBINDING = NO;
PRELINK_LIBS = "";
STRIP_INSTALLED_PRODUCT = YES;
SYMROOT = "$(SRCROOT)/../../build_mac";
USER_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../../xdk11_mac/Include/MACMach\" \"$(SRCROOT)/../../xdk11_mac/Include\" \"$(SRCROOT)/../../pcre-7.6\" $(inherited)";
};
name = Debug;
};
4FADC23908B4156C00ABE55E /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 374214500B12C41700164777 /* PRegEx.Debug.xcconfig */;
buildSettings = {
EXPORTED_SYMBOLS_FILE = ../../xdk11_mac/Include/MACmach/xtra_exports.txt;
GCC_PREFIX_HEADER = ../../xdk11_mac/Include/MACMach/prefix.pch;
LIBRARY_SEARCH_PATHS = /System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/ImageIO.framework/Versions/Current/Resources;
OTHER_CFLAGS = (
"-D",
HAVE_CONFIG_H,
);
SYMROOT = "$(SRCROOT)/../../build_mac";
USER_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../../xdk11_mac/Include/MACMach\" \"$(SRCROOT)/../../xdk11_mac/Include\" \"$(SRCROOT)/../../pcre-7.6\" $(inherited)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
4FADC23308B4156C00ABE55E /* Build configuration list for PBXNativeTarget "PRegEx" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4FADC23408B4156C00ABE55E /* Debug */,
4FADC23508B4156C00ABE55E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4FADC23708B4156C00ABE55E /* Build configuration list for PBXProject "PRegEx" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4FADC23808B4156C00ABE55E /* Debug */,
4FADC23908B4156C00ABE55E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 089C1669FE841209C02AAC07 /* Project object */;
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden