# GNUstep makefiles

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

GNUSTEP_INSTALLATION_DIR = ${GNUSTEP_LOCAL_ROOT}

LIBRARY_NAME = libGDLContentStore
libGDLContentStore_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
libGDLContentStore_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)

TOOL_NAME = gcs_ls gcs_mkdir gcs_cat gcs_recreatequick gcs_gensql

libGDLContentStore_HEADER_FILES_DIR         = .
libGDLContentStore_HEADER_FILES_INSTALL_DIR = /GDLContentStore
FHS_HEADER_FILES_INSTALL_DIR = $(libGDLContentStore_HEADER_FILES_INSTALL_DIR)

libGDLContentStore_HEADER_FILES +=		\
	NSURL+GCS.h				\
	EOAdaptorChannel+GCS.h			\
	\
	GCSContext.h				\
	GCSFieldInfo.h				\
	GCSFolder.h				\
	GCSFolderManager.h			\
	GCSFolderType.h				\
	GCSChannelManager.h			\
	GCSFieldExtractor.h			\
	GCSStringFormatter.h			\

libGDLContentStore_OBJC_FILES +=		\
	NSURL+GCS.m				\
	EOAdaptorChannel+GCS.m			\
	EOQualifier+GCS.m			\
	\
	GCSContext.m				\
	GCSFieldInfo.m				\
	GCSFolder.m				\
	GCSFolderManager.m			\
	GCSFolderType.m				\
	GCSChannelManager.m			\
	GCSFieldExtractor.m			\
	GCSStringFormatter.m			\

gcs_ls_OBJC_FILES     += gcs_ls.m
gcs_mkdir_OBJC_FILES  += gcs_mkdir.m
gcs_cat_OBJC_FILES    += gcs_cat.m
gcs_gensql_OBJC_FILES += gcs_gensql.m
gcs_recreatequick_OBJC_FILES += gcs_recreatequick.m

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