Update various 'sh boot's to 'perl boot'
[ghc-hetmet.git] / distrib / MacOS / GHC.xcodeproj / project.pbxproj
1 // !$*UTF8*$!
2 {
3         archiveVersion = 1;
4         classes = {
5         };
6         objectVersion = 44;
7         objects = {
8
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 */
13
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 */
20
21 /* Begin PBXGroup section */
22                 034768DDFF38A45A11DB9C8B /* Products */ = {
23                         isa = PBXGroup;
24                         children = (
25                                 8D07F2C80486CC7A007CD1D0 /* GHC.framework */,
26                                 E7D5AE720DF3CEE3001262D2 /* GHC.framework */,
27                         );
28                         name = Products;
29                         sourceTree = "<group>";
30                 };
31                 0867D691FE84028FC02AAC07 /* GHC */ = {
32                         isa = PBXGroup;
33                         children = (
34                                 08FB77ACFE841707C02AAC07 /* Source */,
35                                 089C1665FE841158C02AAC07 /* Resources */,
36                                 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */,
37                                 034768DDFF38A45A11DB9C8B /* Products */,
38                         );
39                         name = GHC;
40                         sourceTree = "<group>";
41                 };
42                 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = {
43                         isa = PBXGroup;
44                         children = (
45                         );
46                         name = "External Frameworks and Libraries";
47                         sourceTree = "<group>";
48                 };
49                 089C1665FE841158C02AAC07 /* Resources */ = {
50                         isa = PBXGroup;
51                         children = (
52                                 8D07F2C70486CC7A007CD1D0 /* Info.plist */,
53                                 089C1666FE841158C02AAC07 /* InfoPlist.strings */,
54                         );
55                         name = Resources;
56                         sourceTree = "<group>";
57                 };
58                 08FB77ACFE841707C02AAC07 /* Source */ = {
59                         isa = PBXGroup;
60                         children = (
61                         );
62                         name = Source;
63                         sourceTree = "<group>";
64                 };
65 /* End PBXGroup section */
66
67 /* Begin PBXNativeTarget section */
68                 8D07F2BC0486CC7A007CD1D0 /* GHC-relocatable */ = {
69                         isa = PBXNativeTarget;
70                         buildConfigurationList = 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC-relocatable" */;
71                         buildPhases = (
72                                 8D07F2BF0486CC7A007CD1D0 /* Resources */,
73                                 E76B00450D52DFDB00A05A2F /* ShellScript */,
74                         );
75                         buildRules = (
76                         );
77                         comments = "Supported targets: build\n\nPrecondition: Fully compiled tree (i.e., \"perl 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.";
78                         dependencies = (
79                         );
80                         name = "GHC-relocatable";
81                         productInstallPath = "$(HOME)/Library/Frameworks";
82                         productName = GHC;
83                         productReference = 8D07F2C80486CC7A007CD1D0 /* GHC.framework */;
84                         productType = "com.apple.product-type.framework";
85                 };
86                 E72A15E70D54ADB90059C234 /* GHC-systemwide */ = {
87                         isa = PBXNativeTarget;
88                         buildConfigurationList = E72A15EB0D54ADB90059C234 /* Build configuration list for PBXNativeTarget "GHC-systemwide" */;
89                         buildPhases = (
90                                 E72A15E80D54ADB90059C234 /* Resources */,
91                                 E72A15EA0D54ADB90059C234 /* ShellScript */,
92                         );
93                         buildRules = (
94                         );
95                         comments = "Supported targets: build, install\n\nPrecondition: We are in a distribution tree, not a vanilla tree from darcs - i.e., \"perl 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";
96                         dependencies = (
97                         );
98                         name = "GHC-systemwide";
99                         productInstallPath = "$(HOME)/Library/Frameworks";
100                         productName = GHC;
101                         productReference = E7D5AE720DF3CEE3001262D2 /* GHC.framework */;
102                         productType = "com.apple.product-type.framework";
103                 };
104 /* End PBXNativeTarget section */
105
106 /* Begin PBXProject section */
107                 0867D690FE84028FC02AAC07 /* Project object */ = {
108                         isa = PBXProject;
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 */;
114                         projectDirPath = "";
115                         projectRoot = "";
116                         targets = (
117                                 E72A15E70D54ADB90059C234 /* GHC-systemwide */,
118                                 8D07F2BC0486CC7A007CD1D0 /* GHC-relocatable */,
119                         );
120                 };
121 /* End PBXProject section */
122
123 /* Begin PBXResourcesBuildPhase section */
124                 8D07F2BF0486CC7A007CD1D0 /* Resources */ = {
125                         isa = PBXResourcesBuildPhase;
126                         buildActionMask = 2147483647;
127                         files = (
128                                 8D07F2C00486CC7A007CD1D0 /* InfoPlist.strings in Resources */,
129                         );
130                         runOnlyForDeploymentPostprocessing = 0;
131                 };
132                 E72A15E80D54ADB90059C234 /* Resources */ = {
133                         isa = PBXResourcesBuildPhase;
134                         buildActionMask = 2147483647;
135                         files = (
136                                 E72A15E90D54ADB90059C234 /* InfoPlist.strings in Resources */,
137                         );
138                         runOnlyForDeploymentPostprocessing = 0;
139                 };
140 /* End PBXResourcesBuildPhase section */
141
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.";
147                         files = (
148                         );
149                         inputPaths = (
150                         );
151                         outputPaths = (
152                         );
153                         runOnlyForDeploymentPostprocessing = 0;
154                         shellPath = /bin/sh;
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=\nelse\n  MAKE_ACTION=${ACTION}\nfi\n\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} < /dev/null || exit 1\nmake DESTDIR=${DSTROOT} || exit 1";
156                 };
157                 E76B00450D52DFDB00A05A2F /* ShellScript */ = {
158                         isa = PBXShellScriptBuildPhase;
159                         buildActionMask = 2147483647;
160                         comments = "Generate the binary distribution tree.";
161                         files = (
162                         );
163                         inputPaths = (
164                         );
165                         outputPaths = (
166                                 "$(TARGET_BUILD_DIR)/$(CONTENTS_FOLDER_PATH)/ghc",
167                         );
168                         runOnlyForDeploymentPostprocessing = 0;
169                         shellPath = /bin/sh;
170                         shellScript = "if [ ${ACTION} = build ]; then\n  make -C ../.. BIN_DIST_NAME=ghc binary-dist\nfi\n";
171                 };
172 /* End PBXShellScriptBuildPhase section */
173
174 /* Begin PBXVariantGroup section */
175                 089C1666FE841158C02AAC07 /* InfoPlist.strings */ = {
176                         isa = PBXVariantGroup;
177                         children = (
178                                 089C1667FE841158C02AAC07 /* English */,
179                         );
180                         name = InfoPlist.strings;
181                         sourceTree = "<group>";
182                 };
183 /* End PBXVariantGroup section */
184
185 /* Begin XCBuildConfiguration section */
186                 4FADC24308B4156D00ABE55E /* Debug */ = {
187                         isa = XCBuildConfiguration;
188                         buildSettings = {
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;
203                                 PRODUCT_NAME = GHC;
204                                 WRAPPER_EXTENSION = framework;
205                                 ZERO_LINK = YES;
206                         };
207                         name = Debug;
208                 };
209                 4FADC24408B4156D00ABE55E /* Release */ = {
210                         isa = XCBuildConfiguration;
211                         buildSettings = {
212                                 ARCHS = (
213                                         ppc,
214                                         i386,
215                                 );
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;
227                                 PRODUCT_NAME = GHC;
228                                 VERSIONING_SYSTEM = "";
229                                 WRAPPER_EXTENSION = framework;
230                         };
231                         name = Release;
232                 };
233                 4FADC24708B4156D00ABE55E /* Debug */ = {
234                         isa = XCBuildConfiguration;
235                         buildSettings = {
236                                 GCC_WARN_ABOUT_RETURN_TYPE = YES;
237                                 GCC_WARN_UNUSED_VARIABLE = YES;
238                                 PREBINDING = NO;
239                                 SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
240                         };
241                         name = Debug;
242                 };
243                 4FADC24808B4156D00ABE55E /* Release */ = {
244                         isa = XCBuildConfiguration;
245                         buildSettings = {
246                                 GCC_WARN_ABOUT_RETURN_TYPE = YES;
247                                 GCC_WARN_UNUSED_VARIABLE = YES;
248                                 PREBINDING = NO;
249                                 SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
250                                 SHORT_VERSION_STRING = "";
251                         };
252                         name = Release;
253                 };
254                 E72A15ED0D54ADB90059C234 /* Release */ = {
255                         isa = XCBuildConfiguration;
256                         buildSettings = {
257                                 ARCHS = (
258                                         ppc,
259                                         i386,
260                                 );
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;
272                                 PRODUCT_NAME = GHC;
273                                 VERSIONING_SYSTEM = "";
274                                 WRAPPER_EXTENSION = framework;
275                         };
276                         name = Release;
277                 };
278 /* End XCBuildConfiguration section */
279
280 /* Begin XCConfigurationList section */
281                 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC-relocatable" */ = {
282                         isa = XCConfigurationList;
283                         buildConfigurations = (
284                                 4FADC24308B4156D00ABE55E /* Debug */,
285                                 4FADC24408B4156D00ABE55E /* Release */,
286                         );
287                         defaultConfigurationIsVisible = 0;
288                         defaultConfigurationName = Release;
289                 };
290                 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "GHC" */ = {
291                         isa = XCConfigurationList;
292                         buildConfigurations = (
293                                 4FADC24708B4156D00ABE55E /* Debug */,
294                                 4FADC24808B4156D00ABE55E /* Release */,
295                         );
296                         defaultConfigurationIsVisible = 0;
297                         defaultConfigurationName = Release;
298                 };
299                 E72A15EB0D54ADB90059C234 /* Build configuration list for PBXNativeTarget "GHC-systemwide" */ = {
300                         isa = XCConfigurationList;
301                         buildConfigurations = (
302                                 E72A15ED0D54ADB90059C234 /* Release */,
303                         );
304                         defaultConfigurationIsVisible = 0;
305                         defaultConfigurationName = Release;
306                 };
307 /* End XCConfigurationList section */
308         };
309         rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
310 }