2002-08-16 08:35:18 +00:00
|
|
|
#
|
|
|
|
# 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
|
2007-09-14 11:36:11 +00:00
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
2002-08-16 08:35:18 +00:00
|
|
|
# License as published by the Free Software Foundation; either
|
2008-06-08 10:38:33 +00:00
|
|
|
# version 2 of the License, or (at your option) any later version.
|
2002-08-16 08:35:18 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2007-09-14 11:36:11 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
2002-08-16 08:35:18 +00:00
|
|
|
# License along with this library; if not, write to the Free
|
2006-06-14 09:12:30 +00:00
|
|
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02111 USA
|
2002-08-16 08:35:18 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
MAKEFILE_NAME = DocMakefile
|
|
|
|
|
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
2004-05-28 19:44:29 +00:00
|
|
|
include ../config.mak
|
2002-08-16 08:35:18 +00:00
|
|
|
|
2003-01-23 10:51:51 +00:00
|
|
|
DOCUMENT_NAME = Base BaseAdditions
|
2002-08-16 08:35:18 +00:00
|
|
|
|
|
|
|
Base_DOC_INSTALL_DIR = Developer
|
2003-01-23 10:51:51 +00:00
|
|
|
BaseAdditions_DOC_INSTALL_DIR = Developer
|
2002-08-16 08:35:18 +00:00
|
|
|
|
|
|
|
Base_AGSDOC_FILES = \
|
|
|
|
../Documentation/Base.gsdoc \
|
|
|
|
NSArchiver.h \
|
2008-10-01 15:28:51 +00:00
|
|
|
NSAffineTransform.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSArray.h \
|
|
|
|
NSAttributedString.h \
|
|
|
|
NSAutoreleasePool.h \
|
|
|
|
NSBundle.h \
|
|
|
|
NSCalendarDate.h \
|
|
|
|
NSCharacterSet.h \
|
|
|
|
NSClassDescription.h \
|
|
|
|
NSCoder.h \
|
|
|
|
NSConnection.h \
|
|
|
|
NSData.h \
|
|
|
|
NSDateFormatter.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSDate.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSDebug.h \
|
|
|
|
NSDecimal.h \
|
|
|
|
NSDecimalNumber.h \
|
|
|
|
NSDictionary.h \
|
|
|
|
NSDistantObject.h \
|
|
|
|
NSDistributedLock.h \
|
|
|
|
NSDistributedNotificationCenter.h \
|
|
|
|
NSEnumerator.h \
|
2004-05-17 09:24:29 +00:00
|
|
|
NSError.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSException.h \
|
|
|
|
NSFileHandle.h \
|
|
|
|
NSFileManager.h \
|
|
|
|
NSFormatter.h \
|
|
|
|
NSGeometry.h \
|
|
|
|
NSHashTable.h \
|
|
|
|
NSHost.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSHTTPCookie.h \
|
|
|
|
NSHTTPCookieStorage.h \
|
2006-02-12 19:02:58 +00:00
|
|
|
NSIndexPath.h \
|
2004-06-22 22:35:33 +00:00
|
|
|
NSIndexSet.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSInvocation.h \
|
2004-01-22 09:37:07 +00:00
|
|
|
NSKeyedArchiver.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSKeyValueCoding.h \
|
2005-07-01 17:31:07 +00:00
|
|
|
NSKeyValueObserving.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSLock.h \
|
|
|
|
NSMapTable.h \
|
|
|
|
NSMethodSignature.h \
|
2007-01-07 13:32:12 +00:00
|
|
|
NSNetServices.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSNotification.h \
|
|
|
|
NSNotificationQueue.h \
|
|
|
|
NSNull.h \
|
|
|
|
NSNumberFormatter.h \
|
|
|
|
NSObjCRuntime.h \
|
|
|
|
NSObject.h \
|
2002-10-09 11:30:37 +00:00
|
|
|
NSPathUtilities.h \
|
2009-01-23 17:49:37 +00:00
|
|
|
NSPointerFunctions.h \
|
|
|
|
NSPointerArray.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSPortCoder.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSPort.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSPortMessage.h \
|
|
|
|
NSPortNameServer.h \
|
|
|
|
NSProcessInfo.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSPropertyList.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSProtocolChecker.h \
|
|
|
|
NSProxy.h \
|
|
|
|
NSRange.h \
|
|
|
|
NSRunLoop.h \
|
|
|
|
NSScanner.h \
|
2003-07-22 08:52:37 +00:00
|
|
|
NSSerialization.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSSet.h \
|
2006-02-15 17:34:47 +00:00
|
|
|
NSStream.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSString.h \
|
|
|
|
NSTask.h \
|
|
|
|
NSThread.h \
|
|
|
|
NSTimer.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSTimeZone.h \
|
|
|
|
NSUndoManager.h \
|
|
|
|
NSURLAuthenticationChallenge.h \
|
|
|
|
NSURLCache.h \
|
|
|
|
NSURLConnection.h \
|
|
|
|
NSURLCredential.h \
|
|
|
|
NSURLCredentialStorage.h \
|
|
|
|
NSURLDownload.h \
|
|
|
|
NSURLError.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSURL.h \
|
|
|
|
NSURLHandle.h \
|
2006-06-16 15:21:39 +00:00
|
|
|
NSURLProtectionSpace.h \
|
|
|
|
NSURLProtocol.h \
|
|
|
|
NSURLRequest.h \
|
|
|
|
NSURLResponse.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSUserDefaults.h \
|
|
|
|
NSValue.h \
|
2007-01-07 13:32:12 +00:00
|
|
|
NSValueTransformer.h \
|
2009-02-09 16:16:11 +00:00
|
|
|
NSXMLDocument.h \
|
|
|
|
NSXMLDTD.h \
|
|
|
|
NSXMLDTDNode.h \
|
|
|
|
NSXMLElement.h \
|
|
|
|
NSXMLNode.h \
|
|
|
|
NSXMLNodeOptions.h \
|
2004-10-20 10:48:04 +00:00
|
|
|
NSXMLParser.h \
|
2002-08-16 08:35:18 +00:00
|
|
|
NSZone.h
|
|
|
|
|
2006-06-16 15:21:39 +00:00
|
|
|
|
|
|
|
|
2003-01-23 10:51:51 +00:00
|
|
|
BaseAdditions_AGSDOC_FILES = \
|
|
|
|
../Documentation/BaseAdditions.gsdoc \
|
2008-03-19 06:59:43 +00:00
|
|
|
GNUstep.h \
|
2010-02-10 17:15:09 +00:00
|
|
|
GSBlocks.h \
|
|
|
|
GSVersionMacros.h \
|
|
|
|
GSObjCRuntime.h \
|
2003-01-23 10:51:51 +00:00
|
|
|
GSCategories.h \
|
2010-02-10 17:15:09 +00:00
|
|
|
GSFileHandle.h \
|
|
|
|
GSUnion.h \
|
2003-01-23 10:51:51 +00:00
|
|
|
GSIArray.h \
|
|
|
|
GSIMap.h \
|
2010-02-10 17:15:09 +00:00
|
|
|
GCObject.h \
|
2003-10-27 13:23:19 +00:00
|
|
|
GSLock.h \
|
2010-02-10 17:15:09 +00:00
|
|
|
GSFunctions.h \
|
2003-01-23 10:51:51 +00:00
|
|
|
GSMime.h \
|
|
|
|
GSXML.h \
|
2010-02-10 17:15:09 +00:00
|
|
|
GSLocale.h \
|
|
|
|
NSArray+GNUstepBase.h \
|
|
|
|
NSAttributedString+GNUstepBase.h \
|
|
|
|
NSBundle+GNUstepBase.h \
|
|
|
|
NSCalendarDate+GNUstepBase.h \
|
|
|
|
NSData+GNUstepBase.h \
|
|
|
|
NSFileHandle+GNUstepBase.h \
|
|
|
|
NSInvocation+GNUstepBase.h \
|
|
|
|
NSLock+GNUstepBase.h \
|
|
|
|
NSMutableString+GNUstepBase.h \
|
|
|
|
NSNumber+GNUstepBase.h \
|
|
|
|
NSObject+GNUstepBase.h \
|
|
|
|
NSProcessInfo+GNUstepBase.h \
|
|
|
|
NSString+GNUstepBase.h \
|
|
|
|
NSTask+GNUstepBase.h \
|
|
|
|
NSURL+GNUstepBase.h \
|
2003-01-23 10:51:51 +00:00
|
|
|
behavior.h \
|
|
|
|
Unicode.h \
|
|
|
|
GCObject.h \
|
|
|
|
|
|
|
|
|
2002-08-16 08:35:18 +00:00
|
|
|
#
|
|
|
|
# Hack ... using the -DocumentationDirectory flag overrides the value
|
|
|
|
# used by the make package, and puts our output in the documentation
|
|
|
|
# directory.
|
|
|
|
#
|
|
|
|
Base_AGSDOC_FLAGS = \
|
2004-05-28 19:44:29 +00:00
|
|
|
-MakeFrames YES \
|
2002-08-16 08:35:18 +00:00
|
|
|
-DocumentationDirectory ../Documentation/Base \
|
|
|
|
-HeaderDirectory ../Headers/Foundation \
|
|
|
|
-Declared Foundation \
|
|
|
|
-Standards YES \
|
2002-09-19 06:10:00 +00:00
|
|
|
-ConstantsTemplate TypesAndConstants \
|
|
|
|
-FunctionsTemplate Functions \
|
2002-10-09 10:47:26 +00:00
|
|
|
-MacrosTemplate Functions \
|
2002-09-19 06:10:00 +00:00
|
|
|
-TypedefsTemplate TypesAndConstants \
|
2002-09-19 09:06:32 +00:00
|
|
|
-VariablesTemplate TypesAndConstants \
|
2002-08-16 08:35:18 +00:00
|
|
|
-WordMap '{\
|
|
|
|
FOUNDATION_EXPORT=extern;FOUNDATION_STATIC_INLINE="";\
|
2003-03-23 07:06:27 +00:00
|
|
|
GS_STATIC_INLINE="";\
|
2002-08-16 08:35:18 +00:00
|
|
|
GS_GEOM_SCOPE=extern;GS_GEOM_ATTR="";\
|
|
|
|
GS_EXPORT=extern;GS_DECLARE="";\
|
|
|
|
GS_RANGE_SCOPE=extern;GS_RANGE_ATTR="";\
|
|
|
|
GS_ZONE_SCOPE=extern;GS_ZONE_ATTR="";\
|
2002-12-31 19:47:26 +00:00
|
|
|
INLINE=inline;\
|
2009-08-25 11:13:00 +00:00
|
|
|
WINAPI="";\
|
2002-08-16 08:35:18 +00:00
|
|
|
}' -Up Base
|
|
|
|
|
2003-01-23 10:51:51 +00:00
|
|
|
BaseAdditions_AGSDOC_FLAGS = \
|
2004-05-28 19:44:29 +00:00
|
|
|
-MakeFrames YES \
|
2003-01-23 10:51:51 +00:00
|
|
|
-DocumentationDirectory ../Documentation/BaseAdditions \
|
2003-07-31 23:49:32 +00:00
|
|
|
-HeaderDirectory ../Headers/Additions/GNUstepBase \
|
|
|
|
-Declared GNUstepBase \
|
2003-01-23 10:51:51 +00:00
|
|
|
-Standards YES \
|
|
|
|
-ConstantsTemplate TypesAndConstants \
|
|
|
|
-FunctionsTemplate Functions \
|
|
|
|
-MacrosTemplate Functions \
|
|
|
|
-TypedefsTemplate TypesAndConstants \
|
|
|
|
-VariablesTemplate TypesAndConstants \
|
|
|
|
-WordMap '{\
|
|
|
|
FOUNDATION_EXPORT=extern;FOUNDATION_STATIC_INLINE="";\
|
2005-12-20 19:17:46 +00:00
|
|
|
GS_ATTRIB_DEPRECATED="";\
|
|
|
|
GS_STATIC_INLINE="";\
|
2003-01-23 10:51:51 +00:00
|
|
|
GS_GEOM_SCOPE=extern;GS_GEOM_ATTR="";\
|
|
|
|
GS_EXPORT=extern;GS_DECLARE="";\
|
|
|
|
GS_RANGE_SCOPE=extern;GS_RANGE_ATTR="";\
|
|
|
|
GS_ZONE_SCOPE=extern;GS_ZONE_ATTR="";\
|
|
|
|
INLINE=inline;\
|
|
|
|
}' -Up BaseAdditions
|
|
|
|
|
2002-08-16 08:35:18 +00:00
|
|
|
# Use local version of autogsdoc in case it is not installed
|
2006-06-14 09:12:30 +00:00
|
|
|
AUTOGSDOC=../Tools/$(GNUSTEP_OBJ_DIR_NAME)/autogsdoc
|
2002-08-16 08:35:18 +00:00
|
|
|
|
2004-05-28 19:44:29 +00:00
|
|
|
# Fool make into thinking we are installed even if we are not
|
|
|
|
BASE_MAKE_LOADED=yes
|
|
|
|
|
2002-08-16 08:35:18 +00:00
|
|
|
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.
|
|
|
|
#
|
2002-10-09 11:30:37 +00:00
|
|
|
before-all:: ../Documentation/Base \
|
|
|
|
../Documentation/Base/Functions.gsdoc \
|
2003-01-23 10:51:51 +00:00
|
|
|
../Documentation/Base/TypesAndConstants.gsdoc \
|
|
|
|
../Documentation/BaseAdditions \
|
|
|
|
../Documentation/BaseAdditions/Functions.gsdoc \
|
|
|
|
../Documentation/BaseAdditions/TypesAndConstants.gsdoc
|
2002-08-16 08:35:18 +00:00
|
|
|
cp ../Documentation/Base.gsdoc .
|
2003-01-23 10:51:51 +00:00
|
|
|
cp ../Documentation/BaseAdditions.gsdoc .
|
2002-08-16 08:35:18 +00:00
|
|
|
|
2002-10-09 11:30:37 +00:00
|
|
|
../Documentation/Base:
|
|
|
|
$(MKDIRS) ../Documentation/Base
|
|
|
|
|
|
|
|
../Documentation/Base/Functions.gsdoc: ../Documentation/Functions.gsdoc
|
|
|
|
cp ../Documentation/Functions.gsdoc ../Documentation/Base
|
|
|
|
|
2003-01-23 10:51:51 +00:00
|
|
|
../Documentation/Base/TypesAndConstants.gsdoc: \
|
|
|
|
../Documentation/TypesAndConstants.gsdoc
|
2002-10-09 11:30:37 +00:00
|
|
|
cp ../Documentation/TypesAndConstants.gsdoc ../Documentation/Base
|
|
|
|
|
2003-01-23 10:51:51 +00:00
|
|
|
../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
|
|
|
|
|
2004-10-01 16:05:08 +00:00
|
|
|
#
|
|
|
|
# Work around our screwy doc generation implementation, sigh...
|
|
|
|
#
|
|
|
|
before-clean::
|
|
|
|
if [ -e obj ]; then \
|
|
|
|
mv obj obj-save-link; \
|
|
|
|
fi
|
|
|
|
|
2002-08-16 08:35:18 +00:00
|
|
|
#
|
|
|
|
# Clean up temporary files used while generating documentation.
|
|
|
|
#
|
2003-07-23 22:15:04 +00:00
|
|
|
after-clean::
|
2002-08-16 08:35:18 +00:00
|
|
|
$(RM) Base.gsdoc
|
2003-01-23 10:51:51 +00:00
|
|
|
$(RM) BaseAdditions.gsdoc
|
2003-06-20 14:50:50 +00:00
|
|
|
if [ -d Base ]; then \
|
2003-07-23 22:15:04 +00:00
|
|
|
$(RM) Base/stamp; \
|
2003-10-06 03:32:37 +00:00
|
|
|
$(RM) Base/dependencies; \
|
2003-06-20 14:50:50 +00:00
|
|
|
rmdir Base; \
|
2003-07-23 22:15:04 +00:00
|
|
|
$(RM) BaseAdditions/stamp; \
|
2003-10-06 03:32:37 +00:00
|
|
|
$(RM) BaseAdditions/dependencies; \
|
2003-06-20 14:50:50 +00:00
|
|
|
rmdir BaseAdditions; \
|
|
|
|
fi
|
2004-10-01 16:05:08 +00:00
|
|
|
if [ -e obj-save-link ]; then \
|
|
|
|
mv obj-save-link obj; \
|
|
|
|
fi
|
2002-08-16 08:35:18 +00:00
|
|
|
|