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# Lesser 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; see the file COPYING.LIB. 22# If not, see <http://www.gnu.org/licenses/> or write to the 23# Free Software Foundation, 51 Franklin Street, Fifth Floor, 24# Boston, MA 02110-1301, USA. 25 26MAKEFILE_NAME = DocMakefile 27 28include $(GNUSTEP_MAKEFILES)/common.make 29 30ADD_THESE_QUESTION_MARK = \ 31NSColorPicking.h \ 32NSGraphics.h \ 33NSNibConnector.h \ 34NSNibDeclarations.h \ 35NSNibLoading.h \ 36NSSpellProtocol.h \ 37NSUserInterfaceValidation.h \ 38 39# These are gui headers that are also classes documented with autogsdoc 40AUTOGSDOC_HEADERS_GUI = \ 41NSActionCell.h \ 42NSAffineTransform.h \ 43NSApplication.h \ 44NSAttributedString.h \ 45NSBezierPath.h \ 46NSBitmapImageRep.h \ 47NSBox.h \ 48NSBrowser.h \ 49NSBrowserCell.h \ 50NSButton.h \ 51NSButtonCell.h \ 52NSCachedImageRep.h \ 53NSCell.h \ 54NSClipView.h \ 55NSColor.h \ 56NSColorList.h \ 57NSColorPanel.h \ 58NSColorPicker.h \ 59NSColorWell.h \ 60NSComboBox.h \ 61NSComboBoxCell.h \ 62NSControl.h \ 63NSCursor.h \ 64NSCustomImageRep.h \ 65NSDataLink.h \ 66NSDataLinkManager.h \ 67NSDataLinkPanel.h \ 68NSDocument.h \ 69NSDocumentController.h \ 70NSDrawer.h \ 71NSEPSImageRep.h \ 72NSEvent.h \ 73NSFileWrapper.h \ 74NSFont.h \ 75NSFontManager.h \ 76NSFontPanel.h \ 77NSForm.h \ 78NSFormCell.h \ 79NSGraphicsContext.h \ 80NSHelpManager.h \ 81NSHelpPanel.h \ 82NSImage.h \ 83NSImageCell.h \ 84NSImageRep.h \ 85NSImageView.h \ 86NSInputManager.h \ 87NSInputServer.h \ 88NSInterfaceStyle.h \ 89NSLayoutManager.h \ 90NSMatrix.h \ 91NSMenu.h \ 92NSMenuItem.h \ 93NSMenuItemCell.h \ 94NSMenuView.h \ 95NSNib.h \ 96NSOpenGL.h \ 97NSOpenGLView.h \ 98NSOpenPanel.h \ 99NSOutlineView.h \ 100NSPageLayout.h \ 101NSPanel.h \ 102NSParagraphStyle.h \ 103NSPasteboard.h \ 104NSPopUpButton.h \ 105NSPopUpButtonCell.h \ 106NSPrintInfo.h \ 107NSPrintOperation.h \ 108NSPrintPanel.h \ 109NSPrinter.h \ 110NSProgressIndicator.h \ 111NSResponder.h \ 112NSRulerMarker.h \ 113NSRulerView.h \ 114NSSavePanel.h \ 115NSScreen.h \ 116NSScrollView.h \ 117NSScroller.h \ 118NSSecureTextField.h \ 119NSSelection.h \ 120NSSlider.h \ 121NSSliderCell.h \ 122NSSound.h \ 123NSSpellChecker.h \ 124NSSpellServer.h \ 125NSSplitView.h \ 126NSStepper.h \ 127NSStepperCell.h \ 128NSStringDrawing.h \ 129NSTabView.h \ 130NSTabViewItem.h \ 131NSTableColumn.h \ 132NSTableHeaderCell.h \ 133NSTableHeaderView.h \ 134NSTableView.h \ 135NSText.h \ 136NSTextAttachment.h \ 137NSTextContainer.h \ 138NSTextField.h \ 139NSTextFieldCell.h \ 140NSTextStorage.h \ 141NSTextView.h \ 142NSToolbar.h \ 143NSToolbarItem.h \ 144NSView.h \ 145NSWindow.h \ 146NSWindowController.h \ 147NSWorkspace.h 148 149AUTOGSDOC_HEADERS_GUIADD = \ 150GSDisplayServer.h \ 151GSTheme.h \ 152GSTable.h \ 153GSHbox.h \ 154GSVbox.h \ 155 156DOCUMENT_NAME = Gui GuiAdditions 157 158Gui_DOC_INSTALL_DIR = Developer/Gui/Reference 159GuiAdditions_DOC_INSTALL_DIR = Developer/Gui/Reference 160 161Gui_AGSDOC_FILES = ../Documentation/Gui.gsdoc \ 162 $(AUTOGSDOC_HEADERS_GUI) 163 164GuiAdditions_AGSDOC_FILES = $(AUTOGSDOC_HEADERS_GUIADD) \ 165 ../Documentation/GuiAdditions.gsdoc 166 167# 168# Hack ... using the -DocumentationDirectory flag overrides the value 169# used by the make package, and puts our output in the documentation 170# directory. 171# 172Gui_AGSDOC_FLAGS = \ 173 -MakeFrames YES \ 174 -DocumentationDirectory ../Documentation/Gui \ 175 -HeaderDirectory ../Headers/AppKit \ 176 -Declared AppKit \ 177 -Standards YES \ 178 -ConstantsTemplate TypesAndConstants \ 179 -FunctionsTemplate Functions \ 180 -MacrosTemplate Functions \ 181 -TypedefsTemplate TypesAndConstants \ 182 -VariablesTemplate TypesAndConstants \ 183 -WordMap '{\ 184 APPKIT_EXPORT=extern;APPKIT_DECLARE="";\ 185 DEFINE_RINT_IF_MISSING=""; \ 186 }' -Up Gui 187 188GuiAdditions_AGSDOC_FLAGS = \ 189 -MakeFrames YES \ 190 -DocumentationDirectory ../Documentation/GuiAdditions \ 191 -HeaderDirectory ../Headers/Additions/GNUstepGUI \ 192 -Declared GNUstepGUI \ 193 -Standards YES \ 194 -ConstantsTemplate TypesAndConstants \ 195 -FunctionsTemplate Functions \ 196 -MacrosTemplate Functions \ 197 -TypedefsTemplate TypesAndConstants \ 198 -VariablesTemplate TypesAndConstants \ 199 -WordMap '{\ 200 APPKIT_EXPORT=extern;APPKIT_DECLARE="";\ 201 DEFINE_RINT_IF_MISSING=""; \ 202 }' -Up GuiAdditions 203 204include $(GNUSTEP_MAKEFILES)/documentation.make 205 206before-all:: ../Documentation/Gui \ 207 ../Documentation/GuiAdditions 208 cp ../Documentation/Gui.gsdoc . 209 cp ../Documentation/GuiAdditions.gsdoc . 210 211../Documentation/Gui: 212 $(MKDIRS) ../Documentation/Gui 213 214../Documentation/GuiAdditions: 215 $(MKDIRS) ../Documentation/GuiAdditions 216 217# 218# Work around our screwy doc generation implementation, sigh... 219# 220before-clean:: 221 if [ -e obj ]; then \ 222 mv obj obj-save-link; \ 223 fi 224 225# 226# Clean up temporary files used while generating documentation. 227# 228after-clean:: 229 $(RM) Gui.gsdoc 230 $(RM) GuiAdditions.gsdoc 231 if [ -d Gui ]; then \ 232 $(RM) Gui/stamp; \ 233 $(RM) Gui/dependencies; \ 234 rmdir Gui; \ 235 $(RM) GuiAdditions/stamp; \ 236 $(RM) GuiAdditions/dependencies; \ 237 rmdir GuiAdditions; \ 238 fi 239 if [ -e obj-save-link ]; then \ 240 mv obj-save-link obj; \ 241 fi 242 243