First stab at an installer package for the Mac
[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 /* End PBXBuildFile section */
12
13 /* Begin PBXFileReference section */
14                 089C1667FE841158C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
15                 8D07F2C70486CC7A007CD1D0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
16                 8D07F2C80486CC7A007CD1D0 /* GHC.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GHC.framework; sourceTree = BUILT_PRODUCTS_DIR; };
17 /* End PBXFileReference section */
18
19 /* Begin PBXGroup section */
20                 034768DDFF38A45A11DB9C8B /* Products */ = {
21                         isa = PBXGroup;
22                         children = (
23                                 8D07F2C80486CC7A007CD1D0 /* GHC.framework */,
24                         );
25                         name = Products;
26                         sourceTree = "<group>";
27                 };
28                 0867D691FE84028FC02AAC07 /* GHC */ = {
29                         isa = PBXGroup;
30                         children = (
31                                 08FB77ACFE841707C02AAC07 /* Source */,
32                                 089C1665FE841158C02AAC07 /* Resources */,
33                                 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */,
34                                 034768DDFF38A45A11DB9C8B /* Products */,
35                         );
36                         name = GHC;
37                         sourceTree = "<group>";
38                 };
39                 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = {
40                         isa = PBXGroup;
41                         children = (
42                         );
43                         name = "External Frameworks and Libraries";
44                         sourceTree = "<group>";
45                 };
46                 089C1665FE841158C02AAC07 /* Resources */ = {
47                         isa = PBXGroup;
48                         children = (
49                                 8D07F2C70486CC7A007CD1D0 /* Info.plist */,
50                                 089C1666FE841158C02AAC07 /* InfoPlist.strings */,
51                         );
52                         name = Resources;
53                         sourceTree = "<group>";
54                 };
55                 08FB77ACFE841707C02AAC07 /* Source */ = {
56                         isa = PBXGroup;
57                         children = (
58                         );
59                         name = Source;
60                         sourceTree = "<group>";
61                 };
62 /* End PBXGroup section */
63
64 /* Begin PBXNativeTarget section */
65                 8D07F2BC0486CC7A007CD1D0 /* GHC */ = {
66                         isa = PBXNativeTarget;
67                         buildConfigurationList = 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC" */;
68                         buildPhases = (
69                                 8D07F2BF0486CC7A007CD1D0 /* Resources */,
70                                 E76B00450D52DFDB00A05A2F /* ShellScript */,
71                         );
72                         buildRules = (
73                         );
74                         comments = "This project creates a Mac OS X framework that encapsulates a (relocatable) binary GHC distribution.";
75                         dependencies = (
76                         );
77                         name = GHC;
78                         productInstallPath = "$(HOME)/Library/Frameworks";
79                         productName = GHC;
80                         productReference = 8D07F2C80486CC7A007CD1D0 /* GHC.framework */;
81                         productType = "com.apple.product-type.framework";
82                 };
83 /* End PBXNativeTarget section */
84
85 /* Begin PBXProject section */
86                 0867D690FE84028FC02AAC07 /* Project object */ = {
87                         isa = PBXProject;
88                         buildConfigurationList = 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "GHC" */;
89                         compatibilityVersion = "Xcode 3.0";
90                         hasScannedForEncodings = 1;
91                         mainGroup = 0867D691FE84028FC02AAC07 /* GHC */;
92                         productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
93                         projectDirPath = "";
94                         projectRoot = "";
95                         targets = (
96                                 8D07F2BC0486CC7A007CD1D0 /* GHC */,
97                         );
98                 };
99 /* End PBXProject section */
100
101 /* Begin PBXResourcesBuildPhase section */
102                 8D07F2BF0486CC7A007CD1D0 /* Resources */ = {
103                         isa = PBXResourcesBuildPhase;
104                         buildActionMask = 2147483647;
105                         files = (
106                                 8D07F2C00486CC7A007CD1D0 /* InfoPlist.strings in Resources */,
107                         );
108                         runOnlyForDeploymentPostprocessing = 0;
109                 };
110 /* End PBXResourcesBuildPhase section */
111
112 /* Begin PBXShellScriptBuildPhase section */
113                 E76B00450D52DFDB00A05A2F /* ShellScript */ = {
114                         isa = PBXShellScriptBuildPhase;
115                         buildActionMask = 2147483647;
116                         comments = "Generate the binary distribution tree.";
117                         files = (
118                         );
119                         inputPaths = (
120                         );
121                         outputPaths = (
122                                 "$(TARGET_BUILD_DIR)/$(CONTENTS_FOLDER_PATH)/ghc",
123                         );
124                         runOnlyForDeploymentPostprocessing = 0;
125                         shellPath = /bin/sh;
126                         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";
127                 };
128 /* End PBXShellScriptBuildPhase section */
129
130 /* Begin PBXVariantGroup section */
131                 089C1666FE841158C02AAC07 /* InfoPlist.strings */ = {
132                         isa = PBXVariantGroup;
133                         children = (
134                                 089C1667FE841158C02AAC07 /* English */,
135                         );
136                         name = InfoPlist.strings;
137                         sourceTree = "<group>";
138                 };
139 /* End PBXVariantGroup section */
140
141 /* Begin XCBuildConfiguration section */
142                 4FADC24308B4156D00ABE55E /* Debug */ = {
143                         isa = XCBuildConfiguration;
144                         buildSettings = {
145                                 COPY_PHASE_STRIP = NO;
146                                 DYLIB_COMPATIBILITY_VERSION = 1;
147                                 DYLIB_CURRENT_VERSION = 1;
148                                 FRAMEWORK_VERSION = A;
149                                 GCC_DYNAMIC_NO_PIC = NO;
150                                 GCC_ENABLE_FIX_AND_CONTINUE = YES;
151                                 GCC_MODEL_TUNING = G5;
152                                 GCC_OPTIMIZATION_LEVEL = 0;
153                                 GCC_PRECOMPILE_PREFIX_HEADER = YES;
154                                 GCC_PREFIX_HEADER = GHC_Prefix.pch;
155                                 INFOPLIST_FILE = Info.plist;
156                                 INSTALL_PATH = "$(HOME)/Library/Frameworks";
157                                 LIBRARY_STYLE = DYNAMIC;
158                                 MACH_O_TYPE = mh_dylib;
159                                 PRODUCT_NAME = GHC;
160                                 WRAPPER_EXTENSION = framework;
161                                 ZERO_LINK = YES;
162                         };
163                         name = Debug;
164                 };
165                 4FADC24408B4156D00ABE55E /* Release */ = {
166                         isa = XCBuildConfiguration;
167                         buildSettings = {
168                                 ARCHS = (
169                                         ppc,
170                                         i386,
171                                 );
172                                 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
173                                 DYLIB_COMPATIBILITY_VERSION = 1;
174                                 DYLIB_CURRENT_VERSION = 1;
175                                 FRAMEWORK_VERSION = A;
176                                 GCC_MODEL_TUNING = G5;
177                                 GCC_PRECOMPILE_PREFIX_HEADER = YES;
178                                 GCC_PREFIX_HEADER = GHC_Prefix.pch;
179                                 INFOPLIST_FILE = Info.plist;
180                                 INSTALL_PATH = "$(HOME)/Library/Frameworks";
181                                 LIBRARY_STYLE = DYNAMIC;
182                                 MACH_O_TYPE = mh_dylib;
183                                 PRODUCT_NAME = GHC;
184                                 VERSIONING_SYSTEM = "";
185                                 WRAPPER_EXTENSION = framework;
186                         };
187                         name = Release;
188                 };
189                 4FADC24708B4156D00ABE55E /* Debug */ = {
190                         isa = XCBuildConfiguration;
191                         buildSettings = {
192                                 GCC_WARN_ABOUT_RETURN_TYPE = YES;
193                                 GCC_WARN_UNUSED_VARIABLE = YES;
194                                 PREBINDING = NO;
195                                 SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
196                         };
197                         name = Debug;
198                 };
199                 4FADC24808B4156D00ABE55E /* Release */ = {
200                         isa = XCBuildConfiguration;
201                         buildSettings = {
202                                 GCC_WARN_ABOUT_RETURN_TYPE = YES;
203                                 GCC_WARN_UNUSED_VARIABLE = YES;
204                                 PREBINDING = NO;
205                                 SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
206                                 SHORT_VERSION_STRING = "";
207                         };
208                         name = Release;
209                 };
210 /* End XCBuildConfiguration section */
211
212 /* Begin XCConfigurationList section */
213                 4FADC24208B4156D00ABE55E /* Build configuration list for PBXNativeTarget "GHC" */ = {
214                         isa = XCConfigurationList;
215                         buildConfigurations = (
216                                 4FADC24308B4156D00ABE55E /* Debug */,
217                                 4FADC24408B4156D00ABE55E /* Release */,
218                         );
219                         defaultConfigurationIsVisible = 0;
220                         defaultConfigurationName = Release;
221                 };
222                 4FADC24608B4156D00ABE55E /* Build configuration list for PBXProject "GHC" */ = {
223                         isa = XCConfigurationList;
224                         buildConfigurations = (
225                                 4FADC24708B4156D00ABE55E /* Debug */,
226                                 4FADC24808B4156D00ABE55E /* Release */,
227                         );
228                         defaultConfigurationIsVisible = 0;
229                         defaultConfigurationName = Release;
230                 };
231 /* End XCConfigurationList section */
232         };
233         rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
234 }