# # Makefile for GNUstep Base Library documentation. # # Copyright (C) 2002 Free Software Foundation, Inc. # # Written by: Richard Frith-Macdonald # # 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 Library 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 Library General Public # License along with this library; if not, write to the Free # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA # MAKEFILE_NAME = DocMakefile GNUSTEP_MAKEFILES = $(GNUSTEP_SYSTEM_ROOT)/Makefiles include $(GNUSTEP_MAKEFILES)/common.make DOCUMENT_NAME = Base BaseAdditions Base_DOC_INSTALL_DIR = Developer BaseAdditions_DOC_INSTALL_DIR = Developer Base_AGSDOC_FILES = \ ../Documentation/Base.gsdoc \ NSArchiver.h \ NSArray.h \ NSAttributedString.h \ NSAutoreleasePool.h \ NSBitmapCharSet.h \ NSBundle.h \ NSCalendarDate.h \ NSCharacterSet.h \ NSClassDescription.h \ NSCoder.h \ NSConnection.h \ NSData.h \ NSDate.h \ NSDateFormatter.h \ NSDebug.h \ NSDecimal.h \ NSDecimalNumber.h \ NSDictionary.h \ NSDistantObject.h \ NSDistributedLock.h \ NSDistributedNotificationCenter.h \ NSEnumerator.h \ NSException.h \ NSFileHandle.h \ NSFileManager.h \ NSFormatter.h \ NSGeometry.h \ NSHashTable.h \ NSHost.h \ NSInvocation.h \ NSKeyValueCoding.h \ NSLock.h \ NSMapTable.h \ NSMethodSignature.h \ NSNotification.h \ NSNotificationQueue.h \ NSNull.h \ NSNumberFormatter.h \ NSObjCRuntime.h \ NSObject.h \ NSPathUtilities.h \ NSPort.h \ NSPortCoder.h \ NSPortMessage.h \ NSPortNameServer.h \ NSProcessInfo.h \ NSProtocolChecker.h \ NSProxy.h \ NSRange.h \ NSRunLoop.h \ NSScanner.h \ NSSet.h \ NSString.h \ NSTask.h \ NSThread.h \ NSTimeZone.h \ NSTimer.h \ NSURL.h \ NSURLHandle.h \ NSUndoManager.h \ NSUserDefaults.h \ NSValue.h \ NSZone.h BaseAdditions_AGSDOC_FILES = \ ../Documentation/BaseAdditions.gsdoc \ GSCategories.h \ GSIArray.h \ GSIMap.h \ GSMime.h \ GSObjCRuntime.h \ GSUnion.h \ GSXML.h \ behavior.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 = \ -DocumentationDirectory ../Documentation/Base \ -HeaderDirectory ../Headers/Foundation \ -Declared Foundation \ -Standards YES \ -ConstantsTemplate TypesAndConstants \ -FunctionsTemplate Functions \ -MacrosTemplate Functions \ -TypedefsTemplate TypesAndConstants \ -VariablesTemplate TypesAndConstants \ -WordMap '{\ FOUNDATION_EXPORT=extern;FOUNDATION_STATIC_INLINE="";\ GS_STATIC_INLINE="";\ 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 Base BaseAdditions_AGSDOC_FLAGS = \ -DocumentationDirectory ../Documentation/BaseAdditions \ -HeaderDirectory ../Headers/gnustep/base \ -Declared gnustep/base \ -Standards YES \ -ConstantsTemplate TypesAndConstants \ -FunctionsTemplate Functions \ -MacrosTemplate Functions \ -TypedefsTemplate TypesAndConstants \ -VariablesTemplate TypesAndConstants \ -WordMap '{\ FOUNDATION_EXPORT=extern;FOUNDATION_STATIC_INLINE="";\ 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 # Use local version of autogsdoc in case it is not installed AUTOGSDOC=../Tools/obj/autogsdoc 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 # # Clean up temporary files used while generating documentation. # after-all:: $(RM) Base.gsdoc $(RM) BaseAdditions.gsdoc rmdir Base rmdir BaseAdditions