~ubuntu-branches/ubuntu/utopic/gnustep-base/utopic

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
#
#  Makefile for GNUstep Base Library documentation.
#  
#  Copyright (C) 2002 Free Software Foundation, Inc.
#
#  Written by:	Richard Frith-Macdonald <rfm.gnu.org>
#
#  This file is part of the GNUstep Base Library.
#
#  This library is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Lesser General Public
#  License as published by the Free Software Foundation; either
#  version 2 of the License, or (at your option) any later version.
#
#  This library is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
#  Library General Public License for more details.
#
#  You should have received a copy of the GNU Lesser General Public
#  License along with this library; if not, write to the Free
#  Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
#  Boston, MA 02111 USA
#

MAKEFILE_NAME = DocMakefile

include $(GNUSTEP_MAKEFILES)/common.make
include ../config.mak

DOCUMENT_NAME = Base BaseAdditions

Base_DOC_INSTALL_DIR = Developer
BaseAdditions_DOC_INSTALL_DIR = Developer

Base_AGSDOC_FILES = \
../Documentation/Base.gsdoc \
NSArchiver.h \
NSAffineTransform.h \
NSArray.h \
NSAttributedString.h \
NSAutoreleasePool.h \
NSBundle.h \
NSCalendarDate.h \
NSCharacterSet.h \
NSClassDescription.h \
NSCoder.h \
NSConnection.h \
NSData.h \
NSDateFormatter.h \
NSDate.h \
NSDebug.h \
NSDecimal.h \
NSDecimalNumber.h \
NSDictionary.h \
NSDistantObject.h \
NSDistributedLock.h \
NSDistributedNotificationCenter.h \
NSEnumerator.h \
NSError.h \
NSException.h \
NSFileHandle.h \
NSFileManager.h \
NSFormatter.h \
NSGeometry.h \
NSHashTable.h \
NSHost.h \
NSHTTPCookie.h \
NSHTTPCookieStorage.h \
NSIndexPath.h \
NSIndexSet.h \
NSInvocation.h \
NSKeyedArchiver.h \
NSKeyValueCoding.h \
NSKeyValueObserving.h \
NSLock.h \
NSMapTable.h \
NSMethodSignature.h \
NSNetServices.h \
NSNotification.h \
NSNotificationQueue.h \
NSNull.h \
NSNumberFormatter.h \
NSObjCRuntime.h \
NSObject.h \
NSPathUtilities.h \
NSPointerFunctions.h \
NSPointerArray.h \
NSPortCoder.h \
NSPort.h \
NSPortMessage.h \
NSPortNameServer.h \
NSProcessInfo.h \
NSPropertyList.h \
NSProtocolChecker.h \
NSProxy.h \
NSRange.h \
NSRunLoop.h \
NSScanner.h \
NSSerialization.h \
NSSet.h \
NSStream.h \
NSString.h \
NSTask.h \
NSThread.h \
NSTimer.h \
NSTimeZone.h \
NSUndoManager.h \
NSURLAuthenticationChallenge.h \
NSURLCache.h \
NSURLConnection.h \
NSURLCredential.h \
NSURLCredentialStorage.h \
NSURLDownload.h \
NSURLError.h \
NSURL.h \
NSURLHandle.h \
NSURLProtectionSpace.h \
NSURLProtocol.h \
NSURLRequest.h \
NSURLResponse.h \
NSUserDefaults.h \
NSValue.h \
NSValueTransformer.h \
NSXMLDocument.h \
NSXMLDTD.h \
NSXMLDTDNode.h \
NSXMLElement.h \
NSXMLNode.h \
NSXMLNodeOptions.h \
NSXMLParser.h \
NSZone.h



BaseAdditions_AGSDOC_FILES = \
../Documentation/BaseAdditions.gsdoc \
GNUstep.h \
GSBlocks.h \
GSVersionMacros.h \
GSObjCRuntime.h \
GSUnion.h \
GSIArray.h \
GSIMap.h \
GCObject.h \
GSLock.h \
GSFunctions.h \
GSMime.h \
GSXML.h \
GSLocale.h \
NSArray+GNUstepBase.h \
NSAttributedString+GNUstepBase.h \
NSBundle+GNUstepBase.h \
NSCalendarDate+GNUstepBase.h \
NSData+GNUstepBase.h \
NSDebug+GNUstepBase.h \
NSFileHandle+GNUstepBase.h \
NSLock+GNUstepBase.h \
NSMutableString+GNUstepBase.h \
NSNumber+GNUstepBase.h \
NSObject+GNUstepBase.h \
NSProcessInfo+GNUstepBase.h \
NSString+GNUstepBase.h \
NSTask+GNUstepBase.h \
NSThread+GNUstepBase.h \
NSURL+GNUstepBase.h \
Unicode.h \
GCObject.h \


#
# Hack ... using the -DocumentationDirectory flag overrides the value
# used by the make package, and puts our output in the documentation
# directory.
#
Base_AGSDOC_FLAGS = \
	-MakeFrames YES \
	-DocumentationDirectory ../Documentation/Base \
	-HeaderDirectory ../Headers/Foundation \
	-Declared Foundation \
	-Standards YES \
	-ConstantsTemplate TypesAndConstants \
	-FunctionsTemplate Functions \
	-MacrosTemplate Functions \
	-TypedefsTemplate TypesAndConstants \
	-VariablesTemplate TypesAndConstants \
	-WordMap '{\
	DEFINE_BLOCK_TYPE="//";\
	FOUNDATION_EXPORT=extern;\
	FOUNDATION_STATIC_INLINE="";\
	GS_ATTRIB_DEPRECATED="";\
	GS_DECLARE="";\
	GS_DEPRECATED_FUNC="";\
	GS_EXPORT=extern;\
	GS_GC_STRONG="";\
	GS_GEOM_ATTR="";\
	GS_GEOM_SCOPE=extern;\
	GS_NORETURN_METHOD="";\
	GS_PRIVATE_INTERNAL="//";\
	GS_RANGE_ATTR="";\
	GS_RANGE_SCOPE=extern;\
	GS_ROOT_CLASS="";\
	GS_STATIC_INLINE="";\
	GS_UNUSED_ARG="";\
	GS_UNUSED_FUNC="";\
	GS_UNUSED_IVAR="";\
	GS_ZONE_ATTR="";\
	GS_ZONE_SCOPE=extern;\
	INLINE=inline;\
	NS_AUTOMATED_REFCOUNT_UNAVAILABLE="";\
	NS_CONSUMED="";\
	NS_CONSUMES_SELF="";\
	NS_RETURNS_NOT_RETAINED="";\
	NS_RETURNS_RETAINED="";\
	WINAPI="";\
	__strong="";\
	__weak="";\
	}' -Up Base

BaseAdditions_AGSDOC_FLAGS = \
	-MakeFrames YES \
	-DocumentationDirectory ../Documentation/BaseAdditions \
	-HeaderDirectory ../Headers/GNUstepBase \
	-Declared GNUstepBase \
	-Standards YES \
	-DTDs ../Tools \
	-ConstantsTemplate TypesAndConstants \
	-FunctionsTemplate Functions \
	-MacrosTemplate Functions \
	-TypedefsTemplate TypesAndConstants \
	-VariablesTemplate TypesAndConstants \
	-WordMap '{\
	DEFINE_BLOCK_TYPE="//";\
	FOUNDATION_EXPORT=extern;\
	FOUNDATION_STATIC_INLINE="";\
	GS_ATTRIB_DEPRECATED="";\
	GS_DECLARE="";\
	GS_EXPORT=extern;\
	GS_GEOM_ATTR="";\
	GS_GEOM_SCOPE=extern;\
	GS_NORETURN_METHOD="";\
	GS_PRIVATE_INTERNAL="//";\
	GS_RANGE_ATTR="";\
	GS_RANGE_SCOPE=extern;\
	GS_STATIC_INLINE="";\
	GS_UNUSED_IVAR="";\
	GS_ZONE_ATTR="";\
	GS_ZONE_SCOPE=extern;\
	INLINE=inline;\
	NS_CONSUMED="";\
	NS_CONSUMES_SELF="";\
	NS_RETURNS_NOT_RETAINED="";\
	NS_RETURNS_RETAINED="";\
	WINAPI="";\
	}' -Up BaseAdditions

# Use local version of autogsdoc in case it is not installed
AUTOGSDOC=../Tools/$(GNUSTEP_OBJ_DIR_NAME)/autogsdoc

# Fool make into thinking we are installed even if we are not
BASE_MAKE_LOADED=yes

include $(GNUSTEP_MAKEFILES)/documentation.make

#
# Ensure that our destination subdirectory exists in the Documentation
# directory, and temporarily copy the base source file here for autogsdoc
# to use.
#
before-all::	../Documentation/Base \
	../Documentation/Base/Functions.gsdoc \
	../Documentation/Base/TypesAndConstants.gsdoc \
	../Documentation/BaseAdditions \
	../Documentation/BaseAdditions/Functions.gsdoc \
	../Documentation/BaseAdditions/TypesAndConstants.gsdoc
	cp ../Documentation/Base.gsdoc .
	cp ../Documentation/BaseAdditions.gsdoc .

../Documentation/Base:
	$(MKDIRS) ../Documentation/Base

../Documentation/Base/Functions.gsdoc: ../Documentation/Functions.gsdoc
	cp ../Documentation/Functions.gsdoc ../Documentation/Base

../Documentation/Base/TypesAndConstants.gsdoc: \
	../Documentation/TypesAndConstants.gsdoc
	cp ../Documentation/TypesAndConstants.gsdoc ../Documentation/Base

../Documentation/BaseAdditions:
	$(MKDIRS) ../Documentation/BaseAdditions

../Documentation/BaseAdditions/Functions.gsdoc: \
	../Documentation/Functions.gsdoc
	cp ../Documentation/Functions.gsdoc ../Documentation/BaseAdditions

../Documentation/BaseAdditions/TypesAndConstants.gsdoc: \
	../Documentation/TypesAndConstants.gsdoc
	cp ../Documentation/TypesAndConstants.gsdoc \
	../Documentation/BaseAdditions

#
# Work around our screwy doc generation implementation, sigh...
#
before-clean::
	if [ -e obj ]; then \
	  mv obj obj-save-link; \
	fi

#
# Clean up temporary files used while generating documentation.
#
after-clean::
	$(RM) Base.gsdoc
	$(RM) BaseAdditions.gsdoc
	if [ -d Base ]; then \
	  $(RM) Base/stamp; \
	  $(RM) Base/dependencies; \
	  rmdir Base; \
	  $(RM) BaseAdditions/stamp; \
	  $(RM) BaseAdditions/dependencies; \
	  rmdir BaseAdditions; \
	fi
	if [ -e obj-save-link ]; then \
	  mv obj-save-link obj; \
	fi