9 /* Begin PBXBuildFile section */
10 8D07F2C00486CC7A007CD1D0 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; };
11 E72A15E90D54ADB90059C234 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C1666FE841158C02AAC07 /* InfoPlist.strings */; };
12 /* End PBXBuildFile section */
14 /* Begin PBXFileReference section */
15 089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
16 8D07F2C70486CC7A007CD1D0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
17 8D07F2C80486CC7A007CD1D0 /* GHC.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GHC.framework; sourceTree = BUILT_PRODUCTS_DIR; };
18 E7D5AE720DF3CEE3001262D2 /* GHC.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GHC.framework; sourceTree = BUILT_PRODUCTS_DIR; };
19 /* End PBXFileReference section */
21 /* Begin PBXGroup section */
22 034768DDFF38A45A11DB9C8B /* Products */ = {
25 8D07F2C80486CC7A007CD1D0 /* GHC.framework */,
26 E7D5AE720DF3CEE3001262D2 /* GHC.framework */,
29 sourceTree = "<group>";
31 0867D691FE84028FC02AAC07 /* GHC */ = {
34 08FB77ACFE841707C02AAC07 /* Source */,
35 089C1665FE841158C02AAC07 /* Resources */,
36 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */,
37 034768DDFF38A45A11DB9C8B /* Products */,
40 sourceTree = "<group>";
42 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = {
46 name = "External Frameworks and Libraries";
47 sourceTree = "<group>";
49 089C1665FE841158C02AAC07 /* Resources */ = {
52 8D07F2C70486CC7A007CD1D0 /* Info.plist */,
53 089C1666FE841158C02AAC07 /* InfoPlist.strings */,
56 sourceTree = "<group>";
58 08FB77ACFE841707C02AAC07 /* Source */ = {
63 sourceTree = "<group>";
65 /* End PBXGroup section */
67 /* Begin PBXNativeTarget section */
68 8D07F2BC0486CC7A007CD1D0 /* GHC-relocatable */ = {
69 isa = PBXNativeTarget;
70 buildConfigurationList = 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC-relocatable" */;
72 8D07F2BF0486CC7A007CD1D0 /* Resources */,
73 E76B00450D52DFDB00A05A2F /* ShellScript */,
77 comments = "Supported targets: build\n\nPrecondition: Fully compiled tree (i.e., \"sh boot; ./configure; make\" was already executed)\n\nThis project creates a Mac OS X framework that encapsulates a *relocatable* *binary* GHC distribution.\n\n* The framework is versioned using GHC's ProjectVersionInt. and we call the current version directory in the following CONTENTS_FOLDER_BUILD.\n\n* This target installs into CONTENTS_FOLDER_BUILD/ghc/ the same contents that is in a binary-dist tar ball.\n\n* The idea is that at framework installation time, a post install script will perform \n\n ./configure --prefix=CONTENTS_FOLDER_INSTALL/usr; make install \n\n in that ghc/ directory, where CONTENTS_FOLDER_INSTALL is the path that CONTENTS_FOLDER_BUILD has after the package containing the framework was installed by the package installer. This effectively rellocates the ghc installation to its final destination.";
80 name = "GHC-relocatable";
81 productInstallPath = "$(HOME)/Library/Frameworks";
83 productReference = 8D07F2C80486CC7A007CD1D0 /* GHC.framework */;
84 productType = "com.apple.product-type.framework";
86 E72A15E70D54ADB90059C234 /* GHC-systemwide */ = {
87 isa = PBXNativeTarget;
88 buildConfigurationList = E72A15EB0D54ADB90059C234 /* Build configuration list for PBXNativeTarget "GHC-systemwide" */;
90 E72A15E80D54ADB90059C234 /* Resources */,
91 E72A15EA0D54ADB90059C234 /* ShellScript */,
95 comments = "Supported targets: build, install\n\nPrecondition: We are in a distribution tree, not a vanilla tree from darcs - i.e., \"sh boot; ./configure\" was already executed.\n\nAs part of the build target, ./configure will be executed again (setting a --prefix). Additional arguments to ./configure can be specified by way of the environment variable XCODE_EXTRA_CONFIGURE_ARGS.\n\nThis project creates a Mac OS X framework at /Library/Frameworks.\n\n* The framework is versioned using GHC's ProjectVersionInt.\n\n* The target configures the tree for the deployment location and builds the tree.\n\n* This target installs the framework not into its final destination, but into a build directory using the DESTDIR feature of GHC build system (unless the deployment flag in the build rules is set).\n\n* The idea is that the framework at the build location is being turned into a package and the package installer eventually puts its at its final destination. \n";
98 name = "GHC-systemwide";
99 productInstallPath = "$(HOME)/Library/Frameworks";
101 productReference = E7D5AE720DF3CEE3001262D2 /* GHC.framework */;
102 productType = "com.apple.product-type.framework";
104 /* End PBXNativeTarget section */
106 /* Begin PBXProject section */
107 0867D690FE84028FC02AAC07 /* Project object */ = {
109 buildConfigurationList = 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "GHC" */;
110 compatibilityVersion = "Xcode 3.0";
111 hasScannedForEncodings = 1;
112 mainGroup = 0867D691FE84028FC02AAC07 /* GHC */;
113 productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
117 E72A15E70D54ADB90059C234 /* GHC-systemwide */,
118 8D07F2BC0486CC7A007CD1D0 /* GHC-relocatable */,
121 /* End PBXProject section */
123 /* Begin PBXResourcesBuildPhase section */
124 8D07F2BF0486CC7A007CD1D0 /* Resources */ = {
125 isa = PBXResourcesBuildPhase;
126 buildActionMask = 2147483647;
128 8D07F2C00486CC7A007CD1D0 /* InfoPlist.strings in Resources */,
130 runOnlyForDeploymentPostprocessing = 0;
132 E72A15E80D54ADB90059C234 /* Resources */ = {
133 isa = PBXResourcesBuildPhase;
134 buildActionMask = 2147483647;
136 E72A15E90D54ADB90059C234 /* InfoPlist.strings in Resources */,
138 runOnlyForDeploymentPostprocessing = 0;
140 /* End PBXResourcesBuildPhase section */
142 /* Begin PBXShellScriptBuildPhase section */
143 E72A15EA0D54ADB90059C234 /* ShellScript */ = {
144 isa = PBXShellScriptBuildPhase;
145 buildActionMask = 2147483647;
146 comments = "Build and install both code and documentation. Building includes configuring the tree with the right prefix.\n\nNB: Why use a run script build phase instead of an external target (with a dependency)? Because we need to be underneath the GHC target to get the right build settings.";
153 runOnlyForDeploymentPostprocessing = 0;
155 shellScript = "# We need to be at the top of the ghc tree\ncd ../..\n\nPREFIX=${INSTALL_PATH}/${CONTENTS_FOLDER_PATH}/usr\n\nif [ ${ACTION} = build ]; then\n # put explicit --prefix last, in case the extra configure args contain a prefix\n ./configure ${XCODE_EXTRA_CONFIGURE_ARGS} --prefix=${PREFIX} || exit 1\n MAKE_ACTION=\n DOCS_ACTION=html\nelse\n MAKE_ACTION=${ACTION}\n DOCS_ACTION=install-docs\nfi\n\n# - Yes, it's the vanilla install target that must see HADDOCK_DOCS=YES, not the install-docs target.\n# - We must explictly force the creation of a symbol table in .a files on BSD, and not all versions of Cabal\n# do that consistently; hence, the EXTRA_AR_ARGS.\nmake DESTDIR=${DSTROOT} HADDOCK_DOCS=YES EXTRA_AR_ARGS=-s ${MAKE_ACTION} || exit 1\nmake DESTDIR=${DSTROOT} XMLDocWays=html ${DOCS_ACTION} || exit 1";
157 E76B00450D52DFDB00A05A2F /* ShellScript */ = {
158 isa = PBXShellScriptBuildPhase;
159 buildActionMask = 2147483647;
160 comments = "Generate the binary distribution tree.";
166 "$(TARGET_BUILD_DIR)/$(CONTENTS_FOLDER_PATH)/ghc",
168 runOnlyForDeploymentPostprocessing = 0;
170 shellScript = "if [ ${ACTION} = build ]; then\n make -C ../.. BIN_DIST_TOPDIR_ABS=${TARGET_BUILD_DIR}/${CONTENTS_FOLDER_PATH} BIN_DIST_NAME=ghc binary-dist\nfi\n";
172 /* End PBXShellScriptBuildPhase section */
174 /* Begin PBXVariantGroup section */
175 089C1666FE841158C02AAC07 /* InfoPlist.strings */ = {
176 isa = PBXVariantGroup;
178 089C1667FE841158C02AAC07 /* English */,
180 name = InfoPlist.strings;
181 sourceTree = "<group>";
183 /* End PBXVariantGroup section */
185 /* Begin XCBuildConfiguration section */
186 4FADC24308B4156D00ABE55E /* Debug */ = {
187 isa = XCBuildConfiguration;
189 COPY_PHASE_STRIP = NO;
190 DYLIB_COMPATIBILITY_VERSION = 1;
191 DYLIB_CURRENT_VERSION = 1;
192 FRAMEWORK_VERSION = A;
193 GCC_DYNAMIC_NO_PIC = NO;
194 GCC_ENABLE_FIX_AND_CONTINUE = YES;
195 GCC_MODEL_TUNING = G5;
196 GCC_OPTIMIZATION_LEVEL = 0;
197 GCC_PRECOMPILE_PREFIX_HEADER = YES;
198 GCC_PREFIX_HEADER = GHC_Prefix.pch;
199 INFOPLIST_FILE = Info.plist;
200 INSTALL_PATH = "$(HOME)/Library/Frameworks";
201 LIBRARY_STYLE = DYNAMIC;
202 MACH_O_TYPE = mh_dylib;
204 WRAPPER_EXTENSION = framework;
209 4FADC24408B4156D00ABE55E /* Release */ = {
210 isa = XCBuildConfiguration;
216 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
217 DYLIB_COMPATIBILITY_VERSION = 1;
218 DYLIB_CURRENT_VERSION = 1;
219 FRAMEWORK_VERSION = A;
220 GCC_MODEL_TUNING = G5;
221 GCC_PRECOMPILE_PREFIX_HEADER = YES;
222 GCC_PREFIX_HEADER = GHC_Prefix.pch;
223 INFOPLIST_FILE = Info.plist;
224 INSTALL_PATH = "$(HOME)/Library/Frameworks";
225 LIBRARY_STYLE = DYNAMIC;
226 MACH_O_TYPE = mh_dylib;
228 VERSIONING_SYSTEM = "";
229 WRAPPER_EXTENSION = framework;
233 4FADC24708B4156D00ABE55E /* Debug */ = {
234 isa = XCBuildConfiguration;
236 GCC_WARN_ABOUT_RETURN_TYPE = YES;
237 GCC_WARN_UNUSED_VARIABLE = YES;
239 SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
243 4FADC24808B4156D00ABE55E /* Release */ = {
244 isa = XCBuildConfiguration;
246 GCC_WARN_ABOUT_RETURN_TYPE = YES;
247 GCC_WARN_UNUSED_VARIABLE = YES;
249 SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
250 SHORT_VERSION_STRING = "";
254 E72A15ED0D54ADB90059C234 /* Release */ = {
255 isa = XCBuildConfiguration;
261 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
262 DYLIB_COMPATIBILITY_VERSION = 1;
263 DYLIB_CURRENT_VERSION = 1;
264 FRAMEWORK_VERSION = A;
265 GCC_MODEL_TUNING = G5;
266 GCC_PRECOMPILE_PREFIX_HEADER = YES;
267 GCC_PREFIX_HEADER = GHC_Prefix.pch;
268 INFOPLIST_FILE = Info.plist;
269 INSTALL_PATH = /Library/Frameworks;
270 LIBRARY_STYLE = DYNAMIC;
271 MACH_O_TYPE = mh_dylib;
273 VERSIONING_SYSTEM = "";
274 WRAPPER_EXTENSION = framework;
278 /* End XCBuildConfiguration section */
280 /* Begin XCConfigurationList section */
281 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC-relocatable" */ = {
282 isa = XCConfigurationList;
283 buildConfigurations = (
284 4FADC24308B4156D00ABE55E /* Debug */,
285 4FADC24408B4156D00ABE55E /* Release */,
287 defaultConfigurationIsVisible = 0;
288 defaultConfigurationName = Release;
290 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "GHC" */ = {
291 isa = XCConfigurationList;
292 buildConfigurations = (
293 4FADC24708B4156D00ABE55E /* Debug */,
294 4FADC24808B4156D00ABE55E /* Release */,
296 defaultConfigurationIsVisible = 0;
297 defaultConfigurationName = Release;
299 E72A15EB0D54ADB90059C234 /* Build configuration list for PBXNativeTarget "GHC-systemwide" */ = {
300 isa = XCConfigurationList;
301 buildConfigurations = (
302 E72A15ED0D54ADB90059C234 /* Release */,
304 defaultConfigurationIsVisible = 0;
305 defaultConfigurationName = Release;
307 /* End XCConfigurationList section */
309 rootObject = 0867D690FE84028FC02AAC07 /* Project object */;