2002-11-15 22:57:05 +00:00
|
|
|
#
|
|
|
|
# Main Makefile for GNUstep Database Library.
|
|
|
|
#
|
2005-08-17 08:07:57 +00:00
|
|
|
# Copyright (C) 1997,2002,2003,2004,2005 Free Software Foundation, Inc.
|
2002-11-15 22:57:05 +00:00
|
|
|
#
|
|
|
|
# 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
|
2007-07-12 06:39:22 +00:00
|
|
|
# version 3 of the License, or (at your option) any later version.
|
2002-11-15 22:57:05 +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
|
|
|
|
# Library General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Library General Public
|
2005-08-17 08:07:57 +00:00
|
|
|
# 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.
|
2002-11-15 22:57:05 +00:00
|
|
|
#
|
|
|
|
|
2015-11-04 12:44:10 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
Updated all project GNUmakefile's to include the local common.make, which will
attempt to populate GNUSTEP_MAKEFILES by calling gnustep-config.
* GNUmakefile.in, EOInterface/GNUmakefile, EOAccess/GNUmakefile,
DBModeler/Inspectors/GNUmakefile, DBModeler/GNUmakefile, Tools/GNUmakefile,
EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
EOAdaptors/SQLiteAdaptor/GNUmakefile.in, EOAdaptors/GNUmakefile.in,
EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in, EOControl/GNUmakefile,
GDL2Palette/GNUmakefile, Documentation/GDL2Intro/GNUmakefile,
Documentation/GDL2Intro/Examples/GNUmakefile, Documentation/GNUmakefile,
EOModeler/GNUmakefile, common.make
Added logic to the local common.make to try to populate GNUSTEP_MAKEFILES by
calling gnustep-config, if GNUSTEP_MAKEFILES is not already populated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26583 72102866-910b-0410-8b05-ffd578937521
2008-05-29 14:57:30 +00:00
|
|
|
include common.make
|
2002-11-15 22:57:05 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
|
|
|
include ./Version
|
|
|
|
|
2006-09-12 09:48:23 +00:00
|
|
|
PACKAGE_NAME=gnustep-dl2
|
|
|
|
PACKAGE_VERSION=${VERSION}
|
|
|
|
|
|
|
|
SVN_MODULE_NAME=gdl2
|
|
|
|
SVN_BASE_URL=http://svn.gna.org/svn/gnustep/libs
|
|
|
|
|
2002-11-15 22:57:05 +00:00
|
|
|
#
|
|
|
|
# The list of subproject directories
|
|
|
|
#
|
2005-05-13 00:00:56 +00:00
|
|
|
SUBPROJECTS = EOControl EOAccess EOAdaptors Tools
|
2009-02-18 16:28:00 +00:00
|
|
|
GUI_SUBPROJECTS = @GUI_SUBPROJECTS@
|
2005-05-13 00:00:56 +00:00
|
|
|
|
|
|
|
ifeq ($(GUI_MAKE_LOADED),yes)
|
2009-02-18 16:28:00 +00:00
|
|
|
SUBPROJECTS += $(GUI_SUBPROJECTS)
|
2005-05-13 00:00:56 +00:00
|
|
|
endif
|
2008-05-11 21:06:30 +00:00
|
|
|
ifeq ($(GUI_LIB),apple)
|
2009-02-18 16:28:00 +00:00
|
|
|
SUBPROJECTS += $(GUI_SUBPROJECTS)
|
2008-05-11 21:06:30 +00:00
|
|
|
endif
|
2005-05-13 00:00:56 +00:00
|
|
|
|
2009-02-18 18:50:45 +00:00
|
|
|
SUBPROJECTS += @EXAMPLE_SUBPROJECTS@
|
|
|
|
|
2004-11-02 16:17:32 +00:00
|
|
|
DOCUMENT_NAME = GDL2
|
|
|
|
|
|
|
|
GDL2_AGSDOC_FILES = GDL2.gsdoc
|
2002-11-15 22:57:05 +00:00
|
|
|
|
|
|
|
-include Makefile.preamble
|
|
|
|
|
|
|
|
include $(GNUSTEP_MAKEFILES)/aggregate.make
|
2004-11-02 16:17:32 +00:00
|
|
|
ifeq ($(doc),yes)
|
2007-01-03 05:41:16 +00:00
|
|
|
SUBPROJECTS += Documentation
|
|
|
|
|
2004-11-02 16:17:32 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/documentation.make
|
|
|
|
endif
|
2002-11-15 22:57:05 +00:00
|
|
|
|
|
|
|
-include Makefile.postamble
|
|
|
|
|