8.1.6
by Yavor Doganov
* New upstream release: |
1 |
#
|
2 |
# Makefile for GNUstep Base Library documentation.
|
|
3 |
#
|
|
4 |
# Copyright (C) 2002 Free Software Foundation, Inc.
|
|
5 |
#
|
|
6 |
# Written by: Richard Frith-Macdonald <rfm.gnu.org>
|
|
7 |
#
|
|
8 |
# This file is part of the GNUstep Base Library.
|
|
9 |
#
|
|
10 |
# This library is free software; you can redistribute it and/or
|
|
11 |
# modify it under the terms of the GNU Lesser General Public
|
|
12 |
# License as published by the Free Software Foundation; either
|
|
13 |
# version 2 of the License, or (at your option) any later version.
|
|
14 |
#
|
|
15 |
# This library is distributed in the hope that it will be useful,
|
|
16 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
18 |
# Library General Public License for more details.
|
|
19 |
#
|
|
20 |
# You should have received a copy of the GNU Lesser General Public
|
|
21 |
# License along with this library; if not, write to the Free
|
|
22 |
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
23 |
# Boston, MA 02111 USA
|
|
24 |
#
|
|
25 |
||
26 |
MAKEFILE_NAME = DocMakefile |
|
27 |
||
28 |
include $(GNUSTEP_MAKEFILES)/common.make
|
|
29 |
include ../config.mak
|
|
30 |
||
31 |
DOCUMENT_NAME = Base BaseAdditions |
|
32 |
||
33 |
Base_DOC_INSTALL_DIR = Developer |
|
34 |
BaseAdditions_DOC_INSTALL_DIR = Developer |
|
35 |
||
36 |
Base_AGSDOC_FILES = \ |
|
37 |
../Documentation/Base.gsdoc \
|
|
38 |
NSArchiver.h \
|
|
39 |
NSAffineTransform.h \
|
|
40 |
NSArray.h \
|
|
41 |
NSAttributedString.h \
|
|
42 |
NSAutoreleasePool.h \
|
|
43 |
NSBundle.h \
|
|
44 |
NSCalendarDate.h \
|
|
45 |
NSCharacterSet.h \
|
|
46 |
NSClassDescription.h \
|
|
47 |
NSCoder.h \
|
|
48 |
NSConnection.h \
|
|
49 |
NSData.h \
|
|
50 |
NSDateFormatter.h \
|
|
51 |
NSDate.h \
|
|
52 |
NSDebug.h \
|
|
53 |
NSDecimal.h \
|
|
54 |
NSDecimalNumber.h \
|
|
55 |
NSDictionary.h \
|
|
56 |
NSDistantObject.h \
|
|
57 |
NSDistributedLock.h \
|
|
58 |
NSDistributedNotificationCenter.h \
|
|
59 |
NSEnumerator.h \
|
|
60 |
NSError.h \
|
|
61 |
NSException.h \
|
|
62 |
NSFileHandle.h \
|
|
63 |
NSFileManager.h \
|
|
64 |
NSFormatter.h \
|
|
65 |
NSGeometry.h \
|
|
66 |
NSHashTable.h \
|
|
67 |
NSHost.h \
|
|
68 |
NSHTTPCookie.h \
|
|
69 |
NSHTTPCookieStorage.h \
|
|
70 |
NSIndexPath.h \
|
|
71 |
NSIndexSet.h \
|
|
72 |
NSInvocation.h \
|
|
73 |
NSKeyedArchiver.h \
|
|
74 |
NSKeyValueCoding.h \
|
|
75 |
NSKeyValueObserving.h \
|
|
76 |
NSLock.h \
|
|
77 |
NSMapTable.h \
|
|
78 |
NSMethodSignature.h \
|
|
79 |
NSNetServices.h \
|
|
80 |
NSNotification.h \
|
|
81 |
NSNotificationQueue.h \
|
|
82 |
NSNull.h \
|
|
83 |
NSNumberFormatter.h \
|
|
84 |
NSObjCRuntime.h \
|
|
85 |
NSObject.h \
|
|
86 |
NSPathUtilities.h \
|
|
87 |
NSPointerFunctions.h \
|
|
88 |
NSPointerArray.h \
|
|
89 |
NSPortCoder.h \
|
|
90 |
NSPort.h \
|
|
91 |
NSPortMessage.h \
|
|
92 |
NSPortNameServer.h \
|
|
93 |
NSProcessInfo.h \
|
|
94 |
NSPropertyList.h \
|
|
95 |
NSProtocolChecker.h \
|
|
96 |
NSProxy.h \
|
|
97 |
NSRange.h \
|
|
98 |
NSRunLoop.h \
|
|
99 |
NSScanner.h \
|
|
100 |
NSSerialization.h \
|
|
101 |
NSSet.h \
|
|
102 |
NSStream.h \
|
|
103 |
NSString.h \
|
|
104 |
NSTask.h \
|
|
105 |
NSThread.h \
|
|
106 |
NSTimer.h \
|
|
107 |
NSTimeZone.h \
|
|
108 |
NSUndoManager.h \
|
|
109 |
NSURLAuthenticationChallenge.h \
|
|
110 |
NSURLCache.h \
|
|
111 |
NSURLConnection.h \
|
|
112 |
NSURLCredential.h \
|
|
113 |
NSURLCredentialStorage.h \
|
|
114 |
NSURLDownload.h \
|
|
115 |
NSURLError.h \
|
|
116 |
NSURL.h \
|
|
117 |
NSURLHandle.h \
|
|
118 |
NSURLProtectionSpace.h \
|
|
119 |
NSURLProtocol.h \
|
|
120 |
NSURLRequest.h \
|
|
121 |
NSURLResponse.h \
|
|
122 |
NSUserDefaults.h \
|
|
123 |
NSValue.h \
|
|
124 |
NSValueTransformer.h \
|
|
125 |
NSXMLDocument.h \
|
|
126 |
NSXMLDTD.h \
|
|
127 |
NSXMLDTDNode.h \
|
|
128 |
NSXMLElement.h \
|
|
129 |
NSXMLNode.h \
|
|
130 |
NSXMLNodeOptions.h \
|
|
131 |
NSXMLParser.h \
|
|
132 |
NSZone.h
|
|
133 |
||
134 |
||
135 |
||
136 |
BaseAdditions_AGSDOC_FILES = \ |
|
137 |
../Documentation/BaseAdditions.gsdoc \
|
|
138 |
GNUstep.h \
|
|
139 |
GSBlocks.h \
|
|
140 |
GSVersionMacros.h \
|
|
141 |
GSObjCRuntime.h \
|
|
142 |
GSUnion.h \
|
|
143 |
GSIArray.h \
|
|
144 |
GSIMap.h \
|
|
145 |
GCObject.h \
|
|
146 |
GSLock.h \
|
|
147 |
GSFunctions.h \
|
|
148 |
GSMime.h \
|
|
149 |
GSXML.h \
|
|
150 |
GSLocale.h \
|
|
151 |
NSArray+GNUstepBase.h \
|
|
152 |
NSAttributedString+GNUstepBase.h \
|
|
153 |
NSBundle+GNUstepBase.h \
|
|
154 |
NSCalendarDate+GNUstepBase.h \
|
|
155 |
NSData+GNUstepBase.h \
|
|
156 |
NSDebug+GNUstepBase.h \
|
|
157 |
NSFileHandle+GNUstepBase.h \
|
|
158 |
NSLock+GNUstepBase.h \
|
|
159 |
NSMutableString+GNUstepBase.h \
|
|
160 |
NSNumber+GNUstepBase.h \
|
|
161 |
NSObject+GNUstepBase.h \
|
|
162 |
NSProcessInfo+GNUstepBase.h \
|
|
163 |
NSString+GNUstepBase.h \
|
|
164 |
NSTask+GNUstepBase.h \
|
|
165 |
NSThread+GNUstepBase.h \
|
|
166 |
NSURL+GNUstepBase.h \
|
|
167 |
Unicode.h \
|
|
168 |
GCObject.h \
|
|
169 |
||
170 |
||
171 |
#
|
|
172 |
# Hack ... using the -DocumentationDirectory flag overrides the value
|
|
173 |
# used by the make package, and puts our output in the documentation
|
|
174 |
# directory.
|
|
175 |
#
|
|
176 |
Base_AGSDOC_FLAGS = \ |
|
177 |
-MakeFrames YES \
|
|
178 |
-DocumentationDirectory ../Documentation/Base \
|
|
179 |
-HeaderDirectory ../Headers/Foundation \
|
|
180 |
-Declared Foundation \
|
|
181 |
-Standards YES \
|
|
182 |
-ConstantsTemplate TypesAndConstants \
|
|
183 |
-FunctionsTemplate Functions \
|
|
184 |
-MacrosTemplate Functions \
|
|
185 |
-TypedefsTemplate TypesAndConstants \
|
|
186 |
-VariablesTemplate TypesAndConstants \
|
|
187 |
-WordMap '{\ |
|
188 |
DEFINE_BLOCK_TYPE="//";\ |
|
189 |
FOUNDATION_EXPORT=extern;\ |
|
190 |
FOUNDATION_STATIC_INLINE="";\ |
|
191 |
GS_ATTRIB_DEPRECATED="";\ |
|
192 |
GS_DECLARE="";\ |
|
193 |
GS_DEPRECATED_FUNC="";\ |
|
194 |
GS_EXPORT=extern;\ |
|
195 |
GS_GC_STRONG="";\ |
|
196 |
GS_GEOM_ATTR="";\ |
|
197 |
GS_GEOM_SCOPE=extern;\ |
|
198 |
GS_NORETURN_METHOD="";\ |
|
199 |
GS_PRIVATE_INTERNAL="//";\ |
|
200 |
GS_RANGE_ATTR="";\ |
|
201 |
GS_RANGE_SCOPE=extern;\ |
|
202 |
GS_ROOT_CLASS="";\ |
|
203 |
GS_STATIC_INLINE="";\ |
|
204 |
GS_UNUSED_ARG="";\ |
|
205 |
GS_UNUSED_FUNC="";\ |
|
206 |
GS_UNUSED_IVAR="";\ |
|
207 |
GS_ZONE_ATTR="";\ |
|
208 |
GS_ZONE_SCOPE=extern;\ |
|
209 |
INLINE=inline;\ |
|
210 |
NS_AUTOMATED_REFCOUNT_UNAVAILABLE="";\ |
|
211 |
NS_CONSUMED="";\ |
|
212 |
NS_CONSUMES_SELF="";\ |
|
213 |
NS_RETURNS_NOT_RETAINED="";\ |
|
214 |
NS_RETURNS_RETAINED="";\ |
|
215 |
WINAPI="";\ |
|
216 |
__strong="";\ |
|
217 |
__weak="";\ |
|
218 |
}' -Up Base |
|
219 |
||
220 |
BaseAdditions_AGSDOC_FLAGS = \ |
|
221 |
-MakeFrames YES \
|
|
222 |
-DocumentationDirectory ../Documentation/BaseAdditions \
|
|
223 |
-HeaderDirectory ../Headers/GNUstepBase \
|
|
224 |
-Declared GNUstepBase \
|
|
225 |
-Standards YES \
|
|
226 |
-DTDs ../Tools \
|
|
227 |
-ConstantsTemplate TypesAndConstants \
|
|
228 |
-FunctionsTemplate Functions \
|
|
229 |
-MacrosTemplate Functions \
|
|
230 |
-TypedefsTemplate TypesAndConstants \
|
|
231 |
-VariablesTemplate TypesAndConstants \
|
|
232 |
-WordMap '{\ |
|
233 |
DEFINE_BLOCK_TYPE="//";\ |
|
234 |
FOUNDATION_EXPORT=extern;\ |
|
235 |
FOUNDATION_STATIC_INLINE="";\ |
|
236 |
GS_ATTRIB_DEPRECATED="";\ |
|
237 |
GS_DECLARE="";\ |
|
238 |
GS_EXPORT=extern;\ |
|
239 |
GS_GEOM_ATTR="";\ |
|
240 |
GS_GEOM_SCOPE=extern;\ |
|
241 |
GS_NORETURN_METHOD="";\ |
|
242 |
GS_PRIVATE_INTERNAL="//";\ |
|
243 |
GS_RANGE_ATTR="";\ |
|
244 |
GS_RANGE_SCOPE=extern;\ |
|
245 |
GS_STATIC_INLINE="";\ |
|
246 |
GS_UNUSED_IVAR="";\ |
|
247 |
GS_ZONE_ATTR="";\ |
|
248 |
GS_ZONE_SCOPE=extern;\ |
|
249 |
INLINE=inline;\ |
|
250 |
NS_CONSUMED="";\ |
|
251 |
NS_CONSUMES_SELF="";\ |
|
252 |
NS_RETURNS_NOT_RETAINED="";\ |
|
253 |
NS_RETURNS_RETAINED="";\ |
|
254 |
WINAPI="";\ |
|
255 |
}' -Up BaseAdditions |
|
256 |
||
257 |
# Use local version of autogsdoc in case it is not installed
|
|
258 |
AUTOGSDOC=../Tools/$(GNUSTEP_OBJ_DIR_NAME)/autogsdoc |
|
259 |
||
260 |
# Fool make into thinking we are installed even if we are not
|
|
261 |
BASE_MAKE_LOADED=yes |
|
262 |
||
263 |
include $(GNUSTEP_MAKEFILES)/documentation.make
|
|
264 |
||
265 |
#
|
|
266 |
# Ensure that our destination subdirectory exists in the Documentation
|
|
267 |
# directory, and temporarily copy the base source file here for autogsdoc
|
|
268 |
# to use.
|
|
269 |
#
|
|
270 |
before-all:: ../Documentation/Base \ |
|
271 |
../Documentation/Base/Functions.gsdoc \ |
|
272 |
../Documentation/Base/TypesAndConstants.gsdoc \ |
|
273 |
../Documentation/BaseAdditions \ |
|
274 |
../Documentation/BaseAdditions/Functions.gsdoc \ |
|
275 |
../Documentation/BaseAdditions/TypesAndConstants.gsdoc |
|
276 |
cp ../Documentation/Base.gsdoc . |
|
277 |
cp ../Documentation/BaseAdditions.gsdoc . |
|
278 |
||
279 |
../Documentation/Base: |
|
280 |
$(MKDIRS) ../Documentation/Base |
|
281 |
||
282 |
../Documentation/Base/Functions.gsdoc: ../Documentation/Functions.gsdoc |
|
283 |
cp ../Documentation/Functions.gsdoc ../Documentation/Base |
|
284 |
||
285 |
../Documentation/Base/TypesAndConstants.gsdoc: \ |
|
286 |
../Documentation/TypesAndConstants.gsdoc |
|
287 |
cp ../Documentation/TypesAndConstants.gsdoc ../Documentation/Base |
|
288 |
||
289 |
../Documentation/BaseAdditions: |
|
290 |
$(MKDIRS) ../Documentation/BaseAdditions |
|
291 |
||
292 |
../Documentation/BaseAdditions/Functions.gsdoc: \ |
|
293 |
../Documentation/Functions.gsdoc |
|
294 |
cp ../Documentation/Functions.gsdoc ../Documentation/BaseAdditions |
|
295 |
||
296 |
../Documentation/BaseAdditions/TypesAndConstants.gsdoc: \ |
|
297 |
../Documentation/TypesAndConstants.gsdoc |
|
298 |
cp ../Documentation/TypesAndConstants.gsdoc \
|
|
299 |
../Documentation/BaseAdditions |
|
300 |
||
301 |
#
|
|
302 |
# Work around our screwy doc generation implementation, sigh...
|
|
303 |
#
|
|
304 |
before-clean:: |
|
305 |
if [ -e obj ]; then \
|
|
306 |
mv obj obj-save-link; \
|
|
307 |
fi
|
|
308 |
||
309 |
#
|
|
310 |
# Clean up temporary files used while generating documentation.
|
|
311 |
#
|
|
312 |
after-clean:: |
|
313 |
$(RM) Base.gsdoc |
|
314 |
$(RM) BaseAdditions.gsdoc |
|
315 |
if [ -d Base ]; then \
|
|
316 |
$(RM) Base/stamp; \
|
|
317 |
$(RM) Base/dependencies; \
|
|
318 |
rmdir Base; \
|
|
319 |
$(RM) BaseAdditions/stamp; \
|
|
320 |
$(RM) BaseAdditions/dependencies; \
|
|
321 |
rmdir BaseAdditions; \
|
|
322 |
fi
|
|
323 |
if [ -e obj-save-link ]; then \
|
|
324 |
mv obj-save-link obj; \
|
|
325 |
fi
|
|
326 |