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 E72A15EE0D54ADB90059C234 /* GHC.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GHC.framework; sourceTree = BUILT_PRODUCTS_DIR; };
19 E72A15EF0D54ADB90059C234 /* Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info copy.plist"; sourceTree = "<group>"; };
20 /* End PBXFileReference section */
22 /* Begin PBXGroup section */
23 034768DDFF38A45A11DB9C8B /* Products */ = {
26 8D07F2C80486CC7A007CD1D0 /* GHC.framework */,
27 E72A15EE0D54ADB90059C234 /* GHC.framework */,
30 sourceTree = "<group>";
32 0867D691FE84028FC02AAC07 /* GHC */ = {
35 08FB77ACFE841707C02AAC07 /* Source */,
36 089C1665FE841158C02AAC07 /* Resources */,
37 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */,
38 034768DDFF38A45A11DB9C8B /* Products */,
41 sourceTree = "<group>";
43 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = {
47 name = "External Frameworks and Libraries";
48 sourceTree = "<group>";
50 089C1665FE841158C02AAC07 /* Resources */ = {
53 8D07F2C70486CC7A007CD1D0 /* Info.plist */,
54 089C1666FE841158C02AAC07 /* InfoPlist.strings */,
55 E72A15EF0D54ADB90059C234 /* Info copy.plist */,
58 sourceTree = "<group>";
60 08FB77ACFE841707C02AAC07 /* Source */ = {
65 sourceTree = "<group>";
67 /* End PBXGroup section */
69 /* Begin PBXNativeTarget section */
70 8D07F2BC0486CC7A007CD1D0 /* GHC-relocatable */ = {
71 isa = PBXNativeTarget;
72 buildConfigurationList = 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC-relocatable" */;
74 8D07F2BF0486CC7A007CD1D0 /* Resources */,
75 E76B00450D52DFDB00A05A2F /* ShellScript */,
79 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.";
82 name = "GHC-relocatable";
83 productInstallPath = "$(HOME)/Library/Frameworks";
85 productReference = 8D07F2C80486CC7A007CD1D0 /* GHC.framework */;
86 productType = "com.apple.product-type.framework";
88 E72A15E70D54ADB90059C234 /* GHC-systemwide */ = {
89 isa = PBXNativeTarget;
90 buildConfigurationList = E72A15EB0D54ADB90059C234 /* Build configuration list for PBXNativeTarget "GHC-systemwide" */;
92 E72A15E80D54ADB90059C234 /* Resources */,
93 E72A15EA0D54ADB90059C234 /* ShellScript */,
97 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";
100 name = "GHC-systemwide";
101 productInstallPath = "$(HOME)/Library/Frameworks";
103 productReference = E72A15EE0D54ADB90059C234 /* GHC.framework */;
104 productType = "com.apple.product-type.framework";
106 /* End PBXNativeTarget section */
108 /* Begin PBXProject section */
109 0867D690FE84028FC02AAC07 /* Project object */ = {
111 buildConfigurationList = 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "GHC" */;
112 compatibilityVersion = "Xcode 3.0";
113 hasScannedForEncodings = 1;
114 mainGroup = 0867D691FE84028FC02AAC07 /* GHC */;
115 productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
119 E72A15E70D54ADB90059C234 /* GHC-systemwide */,
120 8D07F2BC0486CC7A007CD1D0 /* GHC-relocatable */,
123 /* End PBXProject section */
125 /* Begin PBXResourcesBuildPhase section */
126 8D07F2BF0486CC7A007CD1D0 /* Resources */ = {
127 isa = PBXResourcesBuildPhase;
128 buildActionMask = 2147483647;
130 8D07F2C00486CC7A007CD1D0 /* InfoPlist.strings in Resources */,
132 runOnlyForDeploymentPostprocessing = 0;
134 E72A15E80D54ADB90059C234 /* Resources */ = {
135 isa = PBXResourcesBuildPhase;
136 buildActionMask = 2147483647;
138 E72A15E90D54ADB90059C234 /* InfoPlist.strings in Resources */,
140 runOnlyForDeploymentPostprocessing = 0;
142 /* End PBXResourcesBuildPhase section */
144 /* Begin PBXShellScriptBuildPhase section */
145 E72A15EA0D54ADB90059C234 /* ShellScript */ = {
146 isa = PBXShellScriptBuildPhase;
147 buildActionMask = 2147483647;
148 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.";
155 runOnlyForDeploymentPostprocessing = 0;
157 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}\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}\nmake DESTDIR=${DSTROOT} XMLDocWays=html ${DOCS_ACTION}";
159 E76B00450D52DFDB00A05A2F /* ShellScript */ = {
160 isa = PBXShellScriptBuildPhase;
161 buildActionMask = 2147483647;
162 comments = "Generate the binary distribution tree.";
168 "$(TARGET_BUILD_DIR)/$(CONTENTS_FOLDER_PATH)/ghc",
170 runOnlyForDeploymentPostprocessing = 0;
172 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";
174 /* End PBXShellScriptBuildPhase section */
176 /* Begin PBXVariantGroup section */
177 089C1666FE841158C02AAC07 /* InfoPlist.strings */ = {
178 isa = PBXVariantGroup;
180 089C1667FE841158C02AAC07 /* English */,
182 name = InfoPlist.strings;
183 sourceTree = "<group>";
185 /* End PBXVariantGroup section */
187 /* Begin XCBuildConfiguration section */
188 4FADC24308B4156D00ABE55E /* Debug */ = {
189 isa = XCBuildConfiguration;
191 COPY_PHASE_STRIP = NO;
192 DYLIB_COMPATIBILITY_VERSION = 1;
193 DYLIB_CURRENT_VERSION = 1;
194 FRAMEWORK_VERSION = A;
195 GCC_DYNAMIC_NO_PIC = NO;
196 GCC_ENABLE_FIX_AND_CONTINUE = YES;
197 GCC_MODEL_TUNING = G5;
198 GCC_OPTIMIZATION_LEVEL = 0;
199 GCC_PRECOMPILE_PREFIX_HEADER = YES;
200 GCC_PREFIX_HEADER = GHC_Prefix.pch;
201 INFOPLIST_FILE = Info.plist;
202 INSTALL_PATH = "$(HOME)/Library/Frameworks";
203 LIBRARY_STYLE = DYNAMIC;
204 MACH_O_TYPE = mh_dylib;
206 WRAPPER_EXTENSION = framework;
211 4FADC24408B4156D00ABE55E /* Release */ = {
212 isa = XCBuildConfiguration;
218 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
219 DYLIB_COMPATIBILITY_VERSION = 1;
220 DYLIB_CURRENT_VERSION = 1;
221 FRAMEWORK_VERSION = A;
222 GCC_MODEL_TUNING = G5;
223 GCC_PRECOMPILE_PREFIX_HEADER = YES;
224 GCC_PREFIX_HEADER = GHC_Prefix.pch;
225 INFOPLIST_FILE = Info.plist;
226 INSTALL_PATH = "$(HOME)/Library/Frameworks";
227 LIBRARY_STYLE = DYNAMIC;
228 MACH_O_TYPE = mh_dylib;
230 VERSIONING_SYSTEM = "";
231 WRAPPER_EXTENSION = framework;
235 4FADC24708B4156D00ABE55E /* Debug */ = {
236 isa = XCBuildConfiguration;
238 GCC_WARN_ABOUT_RETURN_TYPE = YES;
239 GCC_WARN_UNUSED_VARIABLE = YES;
241 SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
245 4FADC24808B4156D00ABE55E /* Release */ = {
246 isa = XCBuildConfiguration;
248 GCC_WARN_ABOUT_RETURN_TYPE = YES;
249 GCC_WARN_UNUSED_VARIABLE = YES;
251 SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
252 SHORT_VERSION_STRING = "";
256 E72A15EC0D54ADB90059C234 /* Debug */ = {
257 isa = XCBuildConfiguration;
259 COPY_PHASE_STRIP = NO;
260 DYLIB_COMPATIBILITY_VERSION = 1;
261 DYLIB_CURRENT_VERSION = 1;
262 FRAMEWORK_VERSION = A;
263 GCC_DYNAMIC_NO_PIC = NO;
264 GCC_ENABLE_FIX_AND_CONTINUE = YES;
265 GCC_MODEL_TUNING = G5;
266 GCC_OPTIMIZATION_LEVEL = 0;
267 GCC_PRECOMPILE_PREFIX_HEADER = YES;
268 GCC_PREFIX_HEADER = GHC_Prefix.pch;
269 INFOPLIST_FILE = "/Users/chak/Code/ghc/distrib/MacOS/Info copy.plist";
270 INSTALL_PATH = "$(HOME)/Library/Frameworks";
271 LIBRARY_STYLE = DYNAMIC;
272 MACH_O_TYPE = mh_dylib;
274 WRAPPER_EXTENSION = framework;
279 E72A15ED0D54ADB90059C234 /* Release */ = {
280 isa = XCBuildConfiguration;
286 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
287 DYLIB_COMPATIBILITY_VERSION = 1;
288 DYLIB_CURRENT_VERSION = 1;
289 FRAMEWORK_VERSION = A;
290 GCC_MODEL_TUNING = G5;
291 GCC_PRECOMPILE_PREFIX_HEADER = YES;
292 GCC_PREFIX_HEADER = GHC_Prefix.pch;
293 INFOPLIST_FILE = "/Users/chak/Code/ghc/distrib/MacOS/Info copy.plist";
294 INSTALL_PATH = /Library/Frameworks;
295 LIBRARY_STYLE = DYNAMIC;
296 MACH_O_TYPE = mh_dylib;
298 VERSIONING_SYSTEM = "";
299 WRAPPER_EXTENSION = framework;
303 /* End XCBuildConfiguration section */
305 /* Begin XCConfigurationList section */
306 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC-relocatable" */ = {
307 isa = XCConfigurationList;
308 buildConfigurations = (
309 4FADC24308B4156D00ABE55E /* Debug */,
310 4FADC24408B4156D00ABE55E /* Release */,
312 defaultConfigurationIsVisible = 0;
313 defaultConfigurationName = Release;
315 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "GHC" */ = {
316 isa = XCConfigurationList;
317 buildConfigurations = (
318 4FADC24708B4156D00ABE55E /* Debug */,
319 4FADC24808B4156D00ABE55E /* Release */,
321 defaultConfigurationIsVisible = 0;
322 defaultConfigurationName = Release;
324 E72A15EB0D54ADB90059C234 /* Build configuration list for PBXNativeTarget "GHC-systemwide" */ = {
325 isa = XCConfigurationList;
326 buildConfigurations = (
327 E72A15EC0D54ADB90059C234 /* Debug */,
328 E72A15ED0D54ADB90059C234 /* Release */,
330 defaultConfigurationIsVisible = 0;
331 defaultConfigurationName = Release;
333 /* End XCConfigurationList section */
335 rootObject = 0867D690FE84028FC02AAC07 /* Project object */;