mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-20 23:11:59 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17407 72102866-910b-0410-8b05-ffd578937521
218 lines
5.6 KiB
Text
218 lines
5.6 KiB
Text
#
|
|
# 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 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
|
|
|
|
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 \
|
|
../Documentation/OpenStepCompliance.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 \
|
|
NSSerialization.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/Additions/GNUstepBase \
|
|
-Declared GNUstepBase \
|
|
-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/OpenStepCompliance.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/OpenStepCompliance.gsdoc: \
|
|
../Documentation/OpenStepCompliance.gsdoc
|
|
cp ../Documentation/OpenStepCompliance.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-clean::
|
|
$(RM) Base.gsdoc
|
|
$(RM) BaseAdditions.gsdoc
|
|
if [ -d Base ]; then \
|
|
$(RM) Base/stamp; \
|
|
rmdir Base; \
|
|
$(RM) BaseAdditions/stamp; \
|
|
rmdir BaseAdditions; \
|
|
fi
|
|
|