# compilation settings

ADDITIONAL_INCLUDE_DIRS += \
	-I..				\
	-I../../sope-core/NGStreams	\
	-I../../sope-core/NGExtensions	\
	-I../../sope-core		\
	-I../../sope-xml		\

ifneq ($(GNUSTEP_BUILD_DIR),)
RELBUILD_DIR_SOPE=$(GNUSTEP_BUILD_DIR)/../..
RELBUILD_DIR_Core=$(RELBUILD_DIR_SOPE)/sope-core
RELBUILD_DIR_Xml=$(RELBUILD_DIR_SOPE)/sope-xml
RELBUILD_DIR_Ldap=$(RELBUILD_DIR_SOPE)/sope-ldap

ADDITIONAL_LIB_DIRS += \
	-L$(RELBUILD_DIR_Core)/EOControl/$(GNUSTEP_OBJ_DIR_NAME)	\
	-L$(RELBUILD_DIR_Core)/NGExtensions/$(GNUSTEP_OBJ_DIR_NAME) 	\
	-L$(RELBUILD_DIR_Core)/NGStreams/$(GNUSTEP_OBJ_DIR_NAME)	\
	-L$(RELBUILD_DIR_Xml)/DOM/$(GNUSTEP_OBJ_DIR_NAME)		\
	-L$(RELBUILD_DIR_Xml)/SaxObjC/$(GNUSTEP_OBJ_DIR_NAME)		\
	-L$(RELBUILD_DIR_Ldap)/NGLdap/$(GNUSTEP_OBJ_DIR_NAME)		\
	-L$(GNUSTEP_BUILD_DIR)/$(GNUSTEP_OBJ_DIR_NAME)
else
ADDITIONAL_LIB_DIRS += \
	-L../../sope-core/EOControl/$(GNUSTEP_OBJ_DIR)    	\
	-L../../sope-core/NGExtensions/$(GNUSTEP_OBJ_DIR) 	\
	-L../../sope-core/NGStreams/$(GNUSTEP_OBJ_DIR)    	\
	-L../../sope-xml/DOM/$(GNUSTEP_OBJ_DIR)    		\
	-L../../sope-xml/SaxObjC/$(GNUSTEP_OBJ_DIR)    		\
	-L../NGLdap/$(GNUSTEP_OBJ_DIR)
endif

SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib

ADDITIONAL_TOOL_LIBS += \
	-lNGStreams -lNGExtensions -lEOControl	\
	-lDOM -lSaxObjC