2002-11-15 22:57:05 +00:00
|
|
|
#
|
2003-07-11 19:04:05 +00:00
|
|
|
# EOControl makefile for GNUstep Database Library.
|
2002-11-15 22:57:05 +00:00
|
|
|
#
|
2010-04-17 05:55:38 +00:00
|
|
|
# Copyright (C) 1997,2002,2003,2004,2005,2010 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
|
|
|
#
|
|
|
|
|
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
|
|
|
|
|
|
|
|
# The library to be compiled
|
2006-09-14 21:11:01 +00:00
|
|
|
NATIVE_LIBRARY_NAME=EOControl
|
2002-11-15 22:57:05 +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
|
|
|
EOControl_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
|
|
|
|
2012-08-11 03:55:19 +00:00
|
|
|
EOControl_LIBRARIES_DEPEND_UPON = $(OBJC_LIBS)
|
|
|
|
|
2002-11-15 22:57:05 +00:00
|
|
|
# The C source files to be compiled
|
2006-09-14 21:11:01 +00:00
|
|
|
EOControl_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
|
|
|
EOControl_OBJC_FILES = \
|
2002-11-15 22:57:05 +00:00
|
|
|
EOSortOrdering.m \
|
|
|
|
EOFetchSpecification.m \
|
2010-04-17 05:55:38 +00:00
|
|
|
EOCustomObject.m \
|
2002-11-15 22:57:05 +00:00
|
|
|
EOGenericRecord.m \
|
|
|
|
EOClassDescription.m \
|
|
|
|
EOKeyValueCoding.m \
|
|
|
|
EOKeyValueArchiver.m \
|
|
|
|
EOQualifier.m \
|
|
|
|
EOKeyValueQualifier.m \
|
|
|
|
EOKeyComparisonQualifier.m \
|
|
|
|
EOAndQualifier.m \
|
|
|
|
EOOrQualifier.m \
|
|
|
|
EONotQualifier.m \
|
|
|
|
EONull.m \
|
|
|
|
EOObjectStore.m \
|
|
|
|
EOObjectStoreCoordinator.m \
|
|
|
|
EOFaultHandler.m \
|
|
|
|
EOFault.m \
|
|
|
|
EOGlobalID.m \
|
|
|
|
EOKeyGlobalID.m \
|
|
|
|
EOObserver.m \
|
|
|
|
EOEditingContext.m \
|
2005-11-28 22:10:05 +00:00
|
|
|
EOSharedEditingContext.m \
|
2002-11-15 22:57:05 +00:00
|
|
|
EODataSource.m \
|
|
|
|
EODetailDataSource.m \
|
|
|
|
EOUndoManager.m \
|
|
|
|
EOMutableKnownKeyDictionary.m \
|
|
|
|
EONSAddOns.m \
|
|
|
|
EOCheapArray.m \
|
2003-03-31 00:24:15 +00:00
|
|
|
EOArrayDataSource.m \
|
2005-12-18 13:35:00 +00:00
|
|
|
EOMultiReaderLock.m \
|
2007-07-11 18:11:36 +00:00
|
|
|
EOAggregateEvent.m \
|
2005-12-18 16:24:02 +00:00
|
|
|
EOEvent.m \
|
|
|
|
EOEventCenter.m \
|
* EOAccess/EOAdaptor.m:
o optimization in 'for' loops
* EOAccess/EODatabase.m:
o include <EOCOntrol/EOPriv.h>
o replaced isNilOrEONull() by _isNilOrEONull()
* EOAccess/EODatabaseContext.h:
o added _snapshotForGlobalIDIMP
* EOAccess/EODatabaseContext.m:
o commented NSEmitTODO in
-objectsForSourceGlobalID:relationshipName:editingContext:
o added beter exception format in
qualifierForLockingAttributes:primaryKeyAttributes:entity:snapshot:
o fix compiler warning in -relayPrimaryKey:object:entity:
o logs
o optimizations in -objectsWithFetchSpecification:editingContext:
o replaced isNilOrEONull() by _isNilOrEONull()
o replace [EOFault isFault:] by _isFault()
o use _snapshotForGlobalIDIMP
o IMP usage optimization
* EOAccess/EOAttribute.[hm]:
o added EOAdaptorUnknownType
o added _adaptorValueType and avoid recomputing it each time
o added _valueTypeChar to avoid string comparaisons
o use EOPriv classes declarations
o Temporary reverted David changes in
-adaptorValueByConvertingAttributeValue
* EOAccess/EOAttributePriv.h:
o added _valueTypeChar to avoid string comparaisons
* EOAccess/EOEntityPriv.h:
o moved -attributeForPath: and -relationshipForPath: to
EOEntityGDL2Additions category
* EOAccess/EOEntity.h:
o moved private -attributeForPath: and -relationshipForPath: to
EOEntityGDL2Additions category
* EOAccess/EOEntity.m:
o better exception in classProperties
o fix compiler warning in -setClassProperties:,
-setPrimaryKeyAttributes:,
-setAttributesUsedForLocking:
o moved -attributeForPath: and -relationshipForPath: to
EOEntityGDL2Additions category
o include <EOCOntrol/EOPriv.h>
o replaced [EONull null] by GDL2EONull
* EOAccess/EOSQLExpression.m:
o optimization in -tableListWithRootEntity:
o optimization in -formatSQLString:format:
o optimization in +sqlPatternFromShellPattern:
o optimization in +sqlPatternFromShellPattern:withEscapeCharacter:
o fix in -sqlStringForKeyValueQualifier:
o added log in -sqlStringForKeyValueQualifier: for not handled
readFormat
o added log -addInsertListAttribute:value: for not handled
writeFormat
o added log -addUpdateListAttribute:value: for not handled
writeFormat
o changed EOFLOGObjectFnStart to EOFLOGObjectFnStartCond
o changed EOFLOGObjectFnStop to EOFLOGObjectFnStopCond
o include <EOCOntrol/EOPriv.h>
o replaced [EONull null] by GDL2EONull
* EOAccess/EOSQLQualifier.m:
o implemented EOKeyComparisonQualifier
-schemaBasedQualifierWithRootEntity
* EOAccess/EOUtilities.m:
o include <EOCOntrol/EOPriv.h>
o replaced [EONull null] by GDL2EONull
* EOControl/EOPriv.[hm]:
o added. Contains various classes/selectors/IMPs
* EOControl/EOClassDescription.m:
o handle EONull case in -propagateDeleteForObject:editingContext:,
-addObject:toPropertyWithKey:, -snapshot,
-removeObject:fromPropertyWithKey:,
_setObject:forBothSidesOfRelationshipWithKey:,
addObject:toBothSidesOfRelationshipWithKey:,
-removeObject:fromBothSidesOfRelationshipWithKey:
o fix compiler warning in -dictionaryForInstanceProperties,
-shallowCopy, -updateFromSnapshot:, -snapshot
o include <EOCOntrol/EOPriv.h>
o replaced [EONull null] by GDL2EONull
o replaced isNilOrEONull() by _isNilOrEONull()
o fix in -validateForSave
o rewritten -validateValue:forKey: selector build
* EOControl/EOEditingContext.h:
o added -hasUnprocessedChanges
* EOControl/EOEditingContext.m:
o added -hasUnprocessedChanges
o added NS_DURING,... to catch exceptions
o replace [EOFault isFault:] by _isFault()
o IMP usage optimization
* EOControl/EOKeyGlobalID.m:
o replaced isNilOrEONull() by _isNilOrEONull()
o include <EOCOntrol/EOPriv.h>
* EOControl/EOGenericRecord.m:
o partially rewritten -description
o include <EOCOntrol/EOPriv.h>
o replaced isNilOrEONull() by _isNilOrEONull()
o replace [EOFault isFault:] by _isFault()
o changed variable name type of
_infoForInstanceVariableNamed:retType:retSize:retOffset:
o rewritten valueForKey:,... to use cString NSKeyValueCoding
* EOControl/EOKeyValueCoding.m:
o changed NSAssert in NSArray -valueForKey:
o optimization in NSDictionary -takeValue:forKeyPath:isSmart:
o optimization in NSDictionary -takeStoredValue:forKeyPath:
o include <EOCOntrol/EOPriv.h>
o replaced [EONull null] by GDL2EONull
o include <EOCOntrol/EOPriv.h>
* EOControl/EOKeyValueQualifier.m:
o fixes for EONull/nil in -evaluateWithObject:
o replaced [EONull null] by GDL2EONull
o include <EOCOntrol/EOPriv.h>
* EOControl/EOSortOrdering.m:
o include <EOCOntrol/EOPriv.h>
o replaced [EONull null] by GDL2EONull
* EOAdaptors/Postgres95SQLExpression.m:
o float formatting in +formatValue:forAttribute:
o added -externalNameQuoteCharacter
o added +sqlPatternFromShellPattern:
o added +sqlPatternFromShellPattern:withEscapeCharacter:
o replaced isNilOrEONull() by _isNilOrEONull()
* EOAdaptors/Postgres95Channel.m:
o logs
* EOAdaptors/Postgres95Values.m:
o logs
o fix in +setPostgres95Format:
o fix calendard format to handle timezone (%z)
o optimizations
* EOControl/EOMutableKnownKeyDictionary.m
o removed EOMKKDArrayMapping
+dictionaryFromDictionary:subsetMapping:
o include <EOCOntrol/EOPriv.h>
o replaced isNilOrEONull() by _isNilOrEONull()
* EOControl/EONSAddOns.[hm]:
o added NSString(ShellPattern)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20687 72102866-910b-0410-8b05-ffd578937521
2005-02-11 17:31:29 +00:00
|
|
|
EODebug.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
|
|
|
EOPrivate.m
|
2002-11-15 22:57:05 +00:00
|
|
|
|
2006-09-14 21:11:01 +00:00
|
|
|
EOControl_HEADER_FILES_DIR = .
|
|
|
|
EOControl_HEADER_FILES_INSTALL_DIR = /EOControl
|
2002-11-15 22:57:05 +00:00
|
|
|
|
2006-09-14 21:11:01 +00:00
|
|
|
EOControl_HEADER_FILES = \
|
2002-11-15 22:57:05 +00:00
|
|
|
EOSortOrdering.h \
|
|
|
|
EOFetchSpecification.h \
|
2010-04-17 05:55:38 +00:00
|
|
|
EOCustomObject.h \
|
2002-11-15 22:57:05 +00:00
|
|
|
EOGenericRecord.h \
|
|
|
|
EOClassDescription.h \
|
|
|
|
EOKeyValueCoding.h \
|
|
|
|
EOKeyValueArchiver.h \
|
|
|
|
EOQualifier.h \
|
|
|
|
EONull.h \
|
|
|
|
EOObjectStore.h \
|
|
|
|
EOObjectStoreCoordinator.h \
|
|
|
|
EOFault.h \
|
|
|
|
EOGlobalID.h \
|
|
|
|
EOKeyGlobalID.h \
|
|
|
|
EOObserver.h \
|
|
|
|
EOEditingContext.h \
|
2005-11-28 22:10:05 +00:00
|
|
|
EOSharedEditingContext.h \
|
2002-11-15 22:57:05 +00:00
|
|
|
EODataSource.h \
|
|
|
|
EODetailDataSource.h \
|
2003-03-31 00:24:15 +00:00
|
|
|
EOArrayDataSource.h \
|
2005-12-18 13:35:00 +00:00
|
|
|
EOMultiReaderLock.h \
|
2007-07-11 18:11:36 +00:00
|
|
|
EOAggregateEvent.h \
|
2005-12-18 16:24:02 +00:00
|
|
|
EOEvent.h \
|
|
|
|
EOEventCenter.h \
|
2002-11-15 22:57:05 +00:00
|
|
|
EODebug.h \
|
2003-03-21 20:41:07 +00:00
|
|
|
EONSAddOns.h \
|
2003-03-31 00:24:15 +00:00
|
|
|
EODefines.h \
|
|
|
|
EODeprecated.h \
|
* 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
|
|
|
EOControl.h
|
2002-11-15 22:57:05 +00:00
|
|
|
|
2004-11-02 16:17:32 +00:00
|
|
|
DOCUMENT_NAME = EOControl
|
2006-12-30 17:41:02 +00:00
|
|
|
|
|
|
|
EOControl_AGSDOC_FILES = EOControl.gsdoc \
|
|
|
|
$(EOControl_HEADER_FILES) \
|
|
|
|
$(EOControl_OBJC_FILES)
|
|
|
|
|
2004-11-02 16:17:32 +00:00
|
|
|
EOControl_AGSDOC_FLAGS = \
|
|
|
|
-Declared EOControl \
|
|
|
|
-Project EOControl \
|
2006-12-30 17:41:02 +00:00
|
|
|
-Up EOControl \
|
|
|
|
$(GDL2_AGSDOC_FLAGS)
|
2002-11-15 22:57:05 +00:00
|
|
|
|
|
|
|
-include Makefile.preamble
|
|
|
|
-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
|