libs-gdl2/GNUmakefile.in
Richard Frith-MacDonald 3afa513b5c use gnustep-config
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@39147 72102866-910b-0410-8b05-ffd578937521
2015-11-04 12:44:10 +00:00

83 lines
2.3 KiB
Text

#
# Main Makefile for GNUstep Database Library.
#
# Copyright (C) 1997,2002,2003,2004,2005 Free Software Foundation, Inc.
#
# Written by: Scott Christley <scottc@net-community.com>
#
# This file is part of the GNUstep Database 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 3 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; see the file COPYING.LIB.
# If not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
ifeq ($(GNUSTEP_MAKEFILES),)
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
ifeq ($(GNUSTEP_MAKEFILES),)
$(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 )
endif
endif
ifeq ($(GNUSTEP_MAKEFILES),)
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
endif
include common.make
include $(GNUSTEP_MAKEFILES)/common.make
include ./Version
PACKAGE_NAME=gnustep-dl2
PACKAGE_VERSION=${VERSION}
SVN_MODULE_NAME=gdl2
SVN_BASE_URL=http://svn.gna.org/svn/gnustep/libs
#
# The list of subproject directories
#
SUBPROJECTS = EOControl EOAccess EOAdaptors Tools
GUI_SUBPROJECTS = @GUI_SUBPROJECTS@
ifeq ($(GUI_MAKE_LOADED),yes)
SUBPROJECTS += $(GUI_SUBPROJECTS)
endif
ifeq ($(GUI_LIB),apple)
SUBPROJECTS += $(GUI_SUBPROJECTS)
endif
SUBPROJECTS += @EXAMPLE_SUBPROJECTS@
DOCUMENT_NAME = GDL2
GDL2_AGSDOC_FILES = GDL2.gsdoc
-include Makefile.preamble
include $(GNUSTEP_MAKEFILES)/aggregate.make
ifeq ($(doc),yes)
SUBPROJECTS += Documentation
include $(GNUSTEP_MAKEFILES)/documentation.make
endif
-include Makefile.postamble