# GNUmakefile for building FT
#
# Author: Oliver Langer
#
include $(GNUSTEP_MAKEFILES)/common.make

# if this line fails then copy config.properties.template to config.properties
# and modify the copied version appropriately

FRAMEWORK_NAME=FT
VERSION=0.1

include config.properties

ADDITIONAL_INCLUDE_DIRS=\
  -I$(DBROOT)/include

ADDITIONAL_LIB_DIRS=-L$(DBROOT)/lib

ADDITIONAL_NATIVE_LIBS += Encore BDB

FT_LIBRARIES_DEPEND_UPON=-ldb


FT_OBJC_FILES=\
  FTAdministrationSessionImpl.m\
  FTBootstrap.m\
  FTDefaultObjectToIdMapper.m\
  FTDefaultServiceEnvironment.m\
  FTDefaultServiceManagerImpl.m\
  FTDictionaryServiceLoader.m\
  FTDictionaryServiceStorageException.m\
  FTDictionaryServiceForGraphImpl.m\
  FTDictionaryServiceForNodeImpl.m\
  FTDictionaryServiceTransactionStepImpl.m\
  FTEdgeImpl.m\
  FTExceptions.m\
  FTGenericDictionaryProviderImpl.m\
  FTGenericTransactionOptimizer.m\
  FTGraphImpl.m\
  FTGraphImplTransactions.m\
  FTGraphManagerImpl.m\
  FTIdImpl.m\
  FTIdToNodeIterator.m\
  FTNodeImpl.m\
  FTObject.m\
  FTOrderedEdgeSetImpl.m\
  FTOrderedReferenceSetImpl.m\
  FTReferenceImpl.m\
  FTServerImpl.m\
  FTSessionImpl.m\
  FTSessionManagerImpl.m\
  FTSystemDictionary.m\
  FTTransactionContext.m\
  FTTransactionImpl.m\
  FTTransactionManagerImpl.m\
  FTVersionImpl.m\
  FTConfig.m\
  FTLogging.m\
  FTGraphNodeIteratorImpl.m\
  FTPersistentSetImpl.m\
  FTNotifications.m


FT_HEADER_FILES=\
  FT.h\
  FTAdministrationSession.h\
  FTAdministrationSessionImpl.h\
  FTBootstrap.h\
  FTDefaultObjectToIdMapper.h\
  FTDefaultServiceEnvironment.h\
  FTDefaultServiceManagerImpl.h\
  FTDefines.h\
  FTDictionaryProvider.h\
  FTDictionaryService.h\
  FTDictionaryServiceForGraphImpl.h\
  FTDictionaryServiceForNodeImpl.h\
  FTDictionaryServiceTransactionStepImpl.h\
  FTDictionaryServiceLoader.h\
  FTDictionaryServiceStorageException.h\
  FTEdge.h\
  FTEdgeImpl.h\
  FTExceptions.h\
  FTGenericDictionaryProviderImpl.h\
  FTGenericTransactionOptimizer.h\
  FTGraph.h\
  FTGraphImpl.h\
  FTGraphImplTransactions.h\
  FTGraphManager.h\
  FTGraphManagerImpl.h\
  FTId.h\
  FTIdImpl.h\
  FTIdToNodeIterator.h\
  FTNode.h\
  FTNodeImpl.h\
  FTObject.h\
  FTObjectToIdMapper.h\
  FTOrderedEdgeSet.h\
  FTOrderedEdgeSetImpl.h\
  FTOrderedReferenceSet.h\
  FTOrderedReferenceSetImpl.h\
  FTReference.h\
  FTReferenceImpl.h\
  FTServer.h\
  FTServerImpl.h\
  FTService.h\
  FTServiceAvailability.h\
  FTServiceEnvironment.h\
  FTServiceLoader.h\
  FTServiceManager.h\
  FTSession.h\
  FTSessionImpl.h\
  FTSessionManager.h\
  FTSessionManagerImpl.h\
  FTSystemDictionary.h\
  FTTransaction.h\
  FTTransactionContext.h\
  FTTransactionImpl.h\
  FTTransactionManager.h\
  FTTransactionManagerImpl.h\
  FTTransactionOptimizer.h\
  FTTransactionSettings.h\
  FTTransactionStep.h\
  FTVersion.h\
  FTVersionImpl.h\
  FTConfig.h\
  FTLogging.h\
  FTPersistentSet.h\
  FTPersistentSetImpl.h\
  FTGraphNodeIteratorImpl.h\
  FTNotifications.h


FT_RESOURCE_FILES = Info.plist

-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/framework.make
-include GNUmakefile.postamble
