# $Id: GNUmakefile 1 2004-08-20 10:38:46Z znek $

include ../common.make
-include ./Version

GNUSTEP_INSTALLATION_DIR = ${GNUSTEP_LOCAL_ROOT}

LIBRARY_NAME = libGDLAccess
libGDLAccess_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)

libGDLAccess_DLL_DEF = libGDLAccess.def

libGDLAccess_HEADER_FILES = \
	GDLAccess.h			\
	EODelegateResponse.h		\
	EOJoinTypes.h			\
	EOAdaptor.h			\
	EOAdaptorChannel.h		\
	EOAdaptorContext.h		\
	EOArrayProxy.h			\
	EOAttribute.h			\
	EOAttributeOrdering.h		\
	EOCustomValues.h		\
	EODatabase.h			\
	EODatabaseChannel.h		\
	EODatabaseContext.h		\
	EOEntity.h			\
	EOExpressionArray.h		\
	EOFExceptions.h			\
	EODatabaseFault.h		\
	EODatabaseFaultResolver.h	\
	EOModel.h			\
	EOObjectUniquer.h		\
	EOPrimaryKeyDictionary.h	\
	EOSQLQualifier.h		\
	EOQuotedExpression.h		\
	EORelationship.h		\
	EOSQLExpression.h		\
	EOGenericRecord.h		\
	EOModelGroup.h			\
	EONull.h			\
	EOKeySortOrdering.h		\
	EOAdaptorDataSource.h 		\
	EOAdaptorChannel+Attributes.h	\
	EOAdaptorOperation.h		\
	EOAdaptorGlobalID.h		\
	NSObject+EONullInit.h		\
	EOEntity+Factory.h		\
	EORecordDictionary.h		\
	EOFault.h			\
	EOFaultHandler.h		\

libGDLAccess_OBJC_FILES = \
	eoaccess.m			\
	EOAdaptor.m			\
	EOAdaptorChannel.m		\
	EOAdaptorContext.m		\
	EOArrayProxy.m			\
	EOAttribute.m			\
	EOAttributeOrdering.m		\
	EOCustomValues.m		\
	EODatabase.m			\
	EODatabaseChannel.m		\
	EODatabaseContext.m		\
	EOEntity.m			\
	EOExpressionArray.m		\
	EOFExceptions.m			\
	EODatabaseFault.m		\
	EODatabaseFaultResolver.m	\
	EOKeySortOrdering.m		\
	EOModel.m			\
	EOObjectUniquer.m		\
	EOPrimaryKeyDictionary.m	\
	EORelationship.m		\
	EOGenericRecord.m		\
	EOModelGroup.m			\
	EOEntityClassDescription.m	\
	EOAdaptorDataSource.m 		\
	EOAdaptorChannel+Attributes.m	\
	EOAdaptorOperation.m		\
	EOAdaptorGlobalID.m		\
	NSObject+EONullInit.m		\
	EOEntity+Factory.m		\
	EORecordDictionary.m		\
	EOFault.m			\
	EOFaultHandler.m		\
	\
	EOAndQualifier+SQL.m		\
	EOKeyComparisonQualifier+SQL.m	\
	EOKeyValueQualifier+SQL.m	\
	EONotQualifier+SQL.m		\
	EOOrQualifier+SQL.m		\
	EOQualifier+SQL.m		\
	\
	EOSQLQualifier.m		\
	EOSQLExpression.m		\
	EOSelectSQLExpression.m		\
	EOQuotedExpression.m		\
	EOQualifierScanner.m		\

ifneq ($(FOUNDATION_LIB),fd)
libGDLAccess_SUBPROJECTS += FoundationExt
endif

libGDLAccess_HEADER_FILES_DIR         = .
libGDLAccess_HEADER_FILES_INSTALL_DIR = /GDLAccess

# adaptor load test

TOOL_NAME = load-EOAdaptor connect-EOAdaptor

load-EOAdaptor_OBJC_FILES = load-EOAdaptor.m
load-EOAdaptor_LIB_DIRS   += -L./$(GNUSTEP_OBJ_DIR)
load-EOAdaptor_TOOL_LIBS  += -lGDLAccess -lEOControl

connect-EOAdaptor_OBJC_FILES = connect-EOAdaptor.m
connect-EOAdaptor_LIB_DIRS   += -L./$(GNUSTEP_OBJ_DIR)
connect-EOAdaptor_TOOL_LIBS  += -lGDLAccess -lEOControl


-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/library.make
include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble