2002-11-15 22:57:05 +00:00
|
|
|
#
|
|
|
|
# EOAccess makefile for GNUstep Database Library.
|
|
|
|
#
|
2005-08-17 08:07:57 +00:00
|
|
|
# Copyright (C) 2000-2002,2003,2004,2005 Free Software Foundation, Inc.
|
2002-11-15 22:57:05 +00:00
|
|
|
#
|
2006-09-14 16:06:21 +00:00
|
|
|
# Author: Mirko Viviani <mirko.viviani@gmail.com>
|
2002-11-15 22:57:05 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
#
|
|
|
|
|
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
|
|
|
|
|
2010-04-26 21:52:42 +00:00
|
|
|
-include Makefile.preamble
|
|
|
|
|
2002-11-15 22:57:05 +00:00
|
|
|
# The library to be compiled
|
2006-09-14 21:11:01 +00:00
|
|
|
NATIVE_LIBRARY_NAME=EOAccess
|
* DBModeler/GNUmakefile,
* DBModeler/Inspectors/GNUmakefile,
* Documentation/GDL2Intro/Examples/GNUmakefile.connection,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample2,
* EOAccess/GNUmakefile,
* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
* EOAdaptors/SQLiteAdaptor/GNUmakefile.in,
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
* EOControl/GNUmakefile,
* EOInterface/GNUmakefile,
* EOModeler/GNUmakefile,
* GDL2Palette/GNUmakefile,
* Tools/GNUmakefile (XXX_NEEDS_GUI): Set appropriately.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26233 72102866-910b-0410-8b05-ffd578937521
2008-03-06 21:58:26 +00:00
|
|
|
|
* DBModeler/GNUmakefile,
* DBModeler/Inspectors/GNUmakefile,
* Documentation/GDL2Intro/Examples/GNUmakefile.connection,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample2,
* EOAccess/GNUmakefile,
* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
* EOAdaptors/SQLiteAdaptor/GNUmakefile.in,
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
* EOControl/GNUmakefile,
* EOInterface/GNUmakefile,
* EOModeler/GNUmakefile,
* GDL2Palette/GNUmakefile,
* Tools/GNUmakefile (XXX_NEEDS_GUI): Use lowercase value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26264 72102866-910b-0410-8b05-ffd578937521
2008-03-11 08:29:42 +00:00
|
|
|
EOAccess_NEEDS_GUI = no
|
* DBModeler/GNUmakefile,
* DBModeler/Inspectors/GNUmakefile,
* Documentation/GDL2Intro/Examples/GNUmakefile.connection,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample2,
* EOAccess/GNUmakefile,
* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
* EOAdaptors/SQLiteAdaptor/GNUmakefile.in,
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
* EOControl/GNUmakefile,
* EOInterface/GNUmakefile,
* EOModeler/GNUmakefile,
* GDL2Palette/GNUmakefile,
* Tools/GNUmakefile (XXX_NEEDS_GUI): Set appropriately.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26233 72102866-910b-0410-8b05-ffd578937521
2008-03-06 21:58:26 +00:00
|
|
|
|
2002-11-15 22:57:05 +00:00
|
|
|
# The C source files to be compiled
|
2006-09-14 21:11:01 +00:00
|
|
|
EOAccess_C_FILES =
|
2002-11-15 22:57:05 +00:00
|
|
|
|
|
|
|
# The Objective-C source files to be compiled
|
2006-09-14 21:11:01 +00:00
|
|
|
EOAccess_OBJC_FILES = \
|
2002-11-15 22:57:05 +00:00
|
|
|
EOModelGroup.m \
|
|
|
|
EOModel.m \
|
|
|
|
EOEntity.m \
|
|
|
|
EOAttribute.m \
|
|
|
|
EORelationship.m \
|
|
|
|
EOJoin.m \
|
|
|
|
EOStoredProcedure.m \
|
|
|
|
EOExpressionArray.m \
|
|
|
|
EOAdaptor.m \
|
|
|
|
EOAdaptorContext.m \
|
|
|
|
EOAdaptorChannel.m \
|
|
|
|
EOAdaptorOperation.m \
|
|
|
|
EODatabaseOperation.m \
|
2007-01-01 11:52:38 +00:00
|
|
|
EOSchemaGeneration.m \
|
2007-07-11 18:13:47 +00:00
|
|
|
EOSchemaSynchronization.m \
|
2002-11-15 22:57:05 +00:00
|
|
|
EOSQLExpression.m \
|
|
|
|
EOSQLQualifier.m \
|
|
|
|
EODatabase.m \
|
|
|
|
EODatabaseChannel.m \
|
|
|
|
EODatabaseContext.m \
|
|
|
|
EOAccessFault.m \
|
|
|
|
EODatabaseDataSource.m \
|
2009-02-19 11:15:22 +00:00
|
|
|
EOGenericRecord.m \
|
* EOControl/EOPriv.h/m: Split into...
* EOControl/EOPrivat.h/m: ... and ...
* EOAccess/EOPrivat.h/m: ... files.
* EOAccess/EOAdaptorChannel.m: Include new privat header.
* EOAccess/EOAttribute.m, EOAccess/EODatabase.m,
* EOAccess/EODatabaseChannel.m, EOAccess/EOEntity.m,
* EOAccess/EORelationship.m, EOAccess/EOSQLExpression.m,
* EOAccess/EOSQLQualifier.m, EOAccess/EOUtilities.m: Ditto.
(+initialize): Call new private function.
* EOAccess/EODatabaseContext.m: Ditto.
(EODatabaseContext_snapshotForGlobalIDWithImpPtr)
(EODatabaseContext_globalIDForObjectWithImpPtr): Move to
EOPrivate.m.
* EOAccess/EODatabaseContextPriv.h:
(EODatabaseContext_snapshotForGlobalIDWithImpPtr)
(EODatabaseContext_globalIDForObjectWithImpPtr): Move to
EOPrivate.h.
* EOAccess/GNUmakefile: Compile EOPrivate.m.
* EOControl/EOClassDescription.m, EOControl/EOGenericRecord.m
* EOControl/EOKeyGlobalID.m, EOControl/EOKeyValueCoding.m
* EOControl/EOKeyValueQualifier.m, EOControl/EONSAddOns.m
* EOControl/EOSortOrdering.m: Include new private header.
* EOControl/EOEditingContext.h/m: Ditto.
(EOEditingContext_objectForGlobalIDWithImpPtr)
(EOEditingContext_recordObjectGlobalIDWithImpPtr): Move to
EOPrivate.h/m.
* EOControl/EOMutableKnownKeyDictionary.h/m: Include new
private header.
(EOMKKD_objectForKeyWithImpPtr, EOMKKD_setObjectForKeyWithImpPtr)
(EOMKKD_removeObjectForKeyWithImpPtr, EOMKKD_hasKeyWithImpPtr)
(EOMKKD_indexForKeyWithImpPtr)
(EOMKKDInitializer_indexForKeyWithImpPtr): Move to EOPrivate.m
* EOControl/EOFault.m: (+isFault:): Update comment.
* EOControl/GNUmakefile: Build EOPrivate.m instead of EOPriv.m.
Do not install private header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20759 72102866-910b-0410-8b05-ffd578937521
2005-02-20 10:52:57 +00:00
|
|
|
EOUtilities.m \
|
|
|
|
EOPrivate.m
|
2002-11-15 22:57:05 +00:00
|
|
|
|
2006-09-14 21:11:01 +00:00
|
|
|
EOAccess_HEADER_FILES_DIR = .
|
2002-11-15 22:57:05 +00:00
|
|
|
|
2006-09-14 21:11:01 +00:00
|
|
|
EOAccess_HEADER_FILES = \
|
2002-11-15 22:57:05 +00:00
|
|
|
EOModelGroup.h \
|
|
|
|
EOModel.h \
|
|
|
|
EOEntity.h \
|
|
|
|
EOAttribute.h \
|
|
|
|
EORelationship.h \
|
|
|
|
EOJoin.h \
|
|
|
|
EOStoredProcedure.h \
|
|
|
|
EOAdaptor.h \
|
|
|
|
EOAdaptorContext.h \
|
|
|
|
EOAdaptorChannel.h \
|
|
|
|
EODatabaseOperation.h \
|
|
|
|
EOSQLExpression.h \
|
|
|
|
EOSQLQualifier.h \
|
|
|
|
EODatabase.h \
|
|
|
|
EODatabaseChannel.h \
|
|
|
|
EODatabaseContext.h \
|
|
|
|
EOAccessFault.h \
|
|
|
|
EOPropertyListEncoding.h \
|
|
|
|
EODatabaseDataSource.h \
|
2007-07-11 18:13:47 +00:00
|
|
|
EOSchemaSynchronization.h \
|
2002-11-15 22:57:05 +00:00
|
|
|
EOSchemaGeneration.h \
|
2009-02-19 11:15:22 +00:00
|
|
|
EOGenericRecord.h \
|
2002-11-15 22:57:05 +00:00
|
|
|
EOUtilities.h \
|
2003-03-31 00:24:15 +00:00
|
|
|
EODefines.h \
|
2003-04-01 21:40:14 +00:00
|
|
|
EODeprecated.h \
|
2006-10-15 12:23:42 +00:00
|
|
|
EOAccess.h
|
2003-03-31 00:24:15 +00:00
|
|
|
|
2004-11-02 16:17:32 +00:00
|
|
|
DOCUMENT_NAME = EOAccess
|
2006-12-30 17:41:02 +00:00
|
|
|
|
|
|
|
# autogsdoc scan the source files corresponding to the headers
|
|
|
|
EOAccess_AGSDOC_FILES = EOAccess.gsdoc \
|
|
|
|
$(EOAccess_HEADER_FILES) \
|
|
|
|
$(EOAccess_OBJC_FILES)
|
|
|
|
|
2004-11-02 16:17:32 +00:00
|
|
|
EOAccess_AGSDOC_FLAGS = \
|
2002-11-15 22:57:05 +00:00
|
|
|
-Declared EOAccess \
|
2004-11-02 16:17:32 +00:00
|
|
|
-Project EOAccess \
|
2006-12-30 17:41:02 +00:00
|
|
|
-Up EOAccess \
|
|
|
|
$(GDL2_AGSDOC_FLAGS)
|
2002-11-15 22:57:05 +00:00
|
|
|
|
|
|
|
|
2010-04-26 21:52:42 +00:00
|
|
|
ADDITIONAL_OBJCFLAGS = -Werror-implicit-function-declaration
|
|
|
|
|
2002-11-15 22:57:05 +00:00
|
|
|
|
|
|
|
-include GNUmakefile.local
|
|
|
|
|
2006-09-14 21:11:01 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/native-library.make
|
2002-11-15 22:57:05 +00:00
|
|
|
# Only build the doc if doc=yes was passed on the command line
|
|
|
|
ifeq ($(doc),yes)
|
|
|
|
include $(GNUSTEP_MAKEFILES)/documentation.make
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
-include Makefile.postamble
|