1997-10-30 22:23:50 +00:00
|
|
|
#
|
|
|
|
# Tools makefile for GNUstep Base Library
|
|
|
|
# Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Base Library.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
2005-07-15 22:51:23 +00:00
|
|
|
# modify it under the terms of the GNU General Public
|
1997-10-30 22:23:50 +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.
|
1997-10-30 22:23:50 +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
|
2005-07-15 22:51:23 +00:00
|
|
|
# General Public License for more details.
|
1997-10-30 22:23:50 +00:00
|
|
|
#
|
2005-07-15 22:51:23 +00:00
|
|
|
# You should have received a copy of the GNU General Public
|
1997-10-30 22:23:50 +00:00
|
|
|
# License along with this library; if not, write to the Free
|
2006-05-26 12:59:29 +00:00
|
|
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
# Boston, MA 02111 USA.
|
1997-10-30 22:23:50 +00:00
|
|
|
|
2007-02-20 00:09:10 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
2009-05-04 07:23:46 +00:00
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
2009-05-29 10:17:21 +00:00
|
|
|
$(warning )
|
|
|
|
$(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
|
|
|
|
$(warning Perhaps gnustep-make is not properly installed,)
|
|
|
|
$(warning so gnustep-config is not in your PATH.)
|
|
|
|
$(warning )
|
|
|
|
$(warning Your PATH is currently $(PATH))
|
|
|
|
$(warning )
|
2009-05-04 07:23:46 +00:00
|
|
|
endif
|
2007-02-20 00:09:10 +00:00
|
|
|
endif
|
2007-02-19 14:26:53 +00:00
|
|
|
|
|
|
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
|
|
|
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
|
|
|
endif
|
|
|
|
|
2008-12-19 12:53:30 +00:00
|
|
|
PACKAGE_NAME = gnustep-base
|
2007-02-20 00:09:10 +00:00
|
|
|
GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../base.make
|
|
|
|
|
1998-02-06 17:22:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
1997-10-28 14:34:49 +00:00
|
|
|
|
2009-05-16 19:25:07 +00:00
|
|
|
-include ../Version
|
|
|
|
-include ../config.mak
|
1998-12-17 22:22:03 +00:00
|
|
|
|
2010-02-18 11:40:58 +00:00
|
|
|
ADDITIONAL_CPPFLAGS = -DGNUSTEP_BASE_INTERNAL=1
|
|
|
|
|
|
|
|
|
2000-06-20 14:21:35 +00:00
|
|
|
# DTDs to install
|
2003-04-28 02:29:49 +00:00
|
|
|
dtddir = $(GNUSTEP_LIBRARY)/DTDs
|
2002-10-11 11:00:10 +00:00
|
|
|
DTD_FILES = plist-0_9.dtd \
|
|
|
|
gsdoc-0_6_5.dtd \
|
|
|
|
gsdoc-0_6_6.dtd \
|
|
|
|
gsdoc-0_6_7.dtd \
|
2004-03-29 03:37:46 +00:00
|
|
|
gsdoc-1_0_0.dtd \
|
2004-09-14 01:58:20 +00:00
|
|
|
gsdoc-1_0_1.dtd \
|
2005-05-08 20:14:19 +00:00
|
|
|
gsdoc-1_0_2.dtd \
|
2005-11-28 13:44:14 +00:00
|
|
|
gsdoc-1_0_3.dtd \
|
2004-09-14 01:58:20 +00:00
|
|
|
gsdoc-1_0_1.rnc
|
2000-06-20 14:21:35 +00:00
|
|
|
|
2003-05-11 07:42:16 +00:00
|
|
|
# Manual pages to install
|
2005-07-25 06:08:09 +00:00
|
|
|
MAN1_PAGES = gdnc.1 autogsdoc.1 cvtenc.1 defaults.1 gspath.1 \
|
|
|
|
pldes.1 sfparse.1 xmlparse.1
|
2004-03-29 03:37:46 +00:00
|
|
|
MAN7_PAGES = gsdoc.7
|
2003-07-06 02:55:01 +00:00
|
|
|
MAN8_PAGES = gdomap.8
|
2003-05-11 07:42:16 +00:00
|
|
|
|
1997-10-28 14:34:49 +00:00
|
|
|
# The application to be compiled
|
2002-12-31 03:48:01 +00:00
|
|
|
ifeq ($(add),yes)
|
2004-01-15 04:07:08 +00:00
|
|
|
TOOL_NAME = autogsdoc cvtenc plmerge sfparse xmlparse
|
2002-12-31 03:48:01 +00:00
|
|
|
else
|
2007-03-07 11:24:35 +00:00
|
|
|
TOOL_NAME = autogsdoc cvtenc gdnc gspath defaults pl plmerge \
|
2007-04-13 03:42:07 +00:00
|
|
|
plparse sfparse pldes plget plser pl2link xmlparse HTMLLinker
|
2000-08-07 22:00:31 +00:00
|
|
|
CTOOL_NAME = gdomap
|
1997-10-28 14:34:49 +00:00
|
|
|
|
2002-04-22 18:04:30 +00:00
|
|
|
SUBPROJECTS = make_strings
|
2002-12-31 03:48:01 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
TEST_TOOL_NAME = locale_alias
|
2002-04-22 18:04:30 +00:00
|
|
|
|
1997-10-28 14:34:49 +00:00
|
|
|
# The source files to be compiled
|
2001-10-17 20:58:12 +00:00
|
|
|
autogsdoc_OBJC_FILES = autogsdoc.m AGSParser.m AGSOutput.m AGSIndex.m AGSHtml.m
|
2002-04-05 16:26:47 +00:00
|
|
|
cvtenc_OBJC_FILES = cvtenc.m
|
1997-10-28 14:34:49 +00:00
|
|
|
gdomap_C_FILES = gdomap.c
|
1998-11-02 16:59:57 +00:00
|
|
|
gdnc_OBJC_FILES = gdnc.m
|
2005-07-25 06:08:09 +00:00
|
|
|
gspath_OBJC_FILES = gspath.m
|
1998-01-19 15:20:15 +00:00
|
|
|
defaults_OBJC_FILES = defaults.m
|
1997-10-31 20:24:01 +00:00
|
|
|
dread_OBJC_FILES = dread.m
|
|
|
|
dremove_OBJC_FILES = dremove.m
|
|
|
|
dwrite_OBJC_FILES = dwrite.m
|
2004-11-18 06:20:49 +00:00
|
|
|
pl_OBJC_FILES = pl.m
|
1999-05-14 18:41:16 +00:00
|
|
|
pldes_OBJC_FILES = pldes.m
|
2006-01-17 14:30:17 +00:00
|
|
|
plget_OBJC_FILES = plget.m
|
1999-05-14 18:41:16 +00:00
|
|
|
plser_OBJC_FILES = plser.m
|
2000-04-21 05:57:29 +00:00
|
|
|
plmerge_OBJC_FILES = plmerge.m
|
1999-02-04 13:49:27 +00:00
|
|
|
plparse_OBJC_FILES = plparse.m
|
|
|
|
sfparse_OBJC_FILES = sfparse.m
|
2001-12-13 18:07:44 +00:00
|
|
|
pl2link_OBJC_FILES = pl2link.m
|
2000-10-27 15:54:35 +00:00
|
|
|
locale_alias_OBJC_FILES = locale_alias.m
|
2003-05-08 10:04:02 +00:00
|
|
|
xmlparse_OBJC_FILES = xmlparse.m
|
2007-04-13 03:42:07 +00:00
|
|
|
HTMLLinker_OBJC_FILES = HTMLLinker.m
|
2000-10-27 15:54:35 +00:00
|
|
|
|
2003-07-21 09:58:54 +00:00
|
|
|
DOCUMENT_NAME = autogsdoc
|
2001-12-15 07:54:10 +00:00
|
|
|
|
2001-12-15 08:18:37 +00:00
|
|
|
# Documentation rules for autogsdoc
|
2002-01-04 15:36:22 +00:00
|
|
|
autogsdoc_AGSDOC_FLAGS = -Up autogsdoc
|
2001-12-15 07:54:10 +00:00
|
|
|
autogsdoc_AGSDOC_FILES = autogsdoc.m \
|
|
|
|
AGSParser.h AGSOutput.h AGSIndex.h AGSHtml.h
|
2001-12-15 08:18:37 +00:00
|
|
|
autogsdoc_DOC_INSTALL_DIR = Developer/Tools
|
2001-12-15 07:54:10 +00:00
|
|
|
|
2002-10-09 06:19:23 +00:00
|
|
|
# Use local version of autogsdoc in case it is not installed
|
2006-06-14 09:12:30 +00:00
|
|
|
AUTOGSDOC=./$(GNUSTEP_OBJ_DIR_NAME)/autogsdoc
|
2002-10-09 06:19:23 +00:00
|
|
|
|
2000-06-20 14:34:38 +00:00
|
|
|
include Makefile.preamble
|
1997-10-28 14:34:49 +00:00
|
|
|
|
1998-02-06 17:22:46 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/tool.make
|
2002-01-24 17:03:04 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/ctool.make
|
2002-04-22 18:04:30 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/aggregate.make
|
2002-01-04 17:48:44 +00:00
|
|
|
|
2002-10-09 06:19:23 +00:00
|
|
|
ifeq ($(GNUSTEP_BASE_HAVE_LIBXML),1)
|
2002-10-09 15:53:25 +00:00
|
|
|
ifeq ($(doc),yes)
|
2001-12-15 07:54:10 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/documentation.make
|
2002-01-04 17:48:44 +00:00
|
|
|
endif
|
2002-10-09 15:53:25 +00:00
|
|
|
endif
|
1997-10-28 14:34:49 +00:00
|
|
|
|
2000-06-20 14:34:38 +00:00
|
|
|
include Makefile.postamble
|
|
|
|
|