# compilation settings

domxml_TOOL_LIBS  += -lDOM -lSaxObjC
testqp_TOOL_LIBS  += -lDOM -lSaxObjC

ADDITIONAL_CPPFLAGS  += -Wno-protocol
ADDITIONAL_TOOL_LIBS += -lSaxObjC

# only with libFoundation
#ADDITIONAL_TOOL_LIBS += -lEOControl

ADDITIONAL_INCLUDE_DIRS += -I..

ifneq ($(GNUSTEP_BUILD_DIR),)
ADDITIONAL_LIB_DIRS += \
	-L$(GNUSTEP_BUILD_DIR)/../DOM/$(GNUSTEP_OBJ_DIR_NAME)		\
	-L$(GNUSTEP_BUILD_DIR)/../SaxObjC/$(GNUSTEP_OBJ_DIR_NAME)	\
	-L$(GNUSTEP_BUILD_DIR)/../XmlRpc/$(GNUSTEP_OBJ_DIR_NAME)
else
ADDITIONAL_LIB_DIRS += \
	-L../DOM/$(GNUSTEP_OBJ_DIR)	\
	-L../SaxObjC/$(GNUSTEP_OBJ_DIR)	\
	-L../XmlRpc/$(GNUSTEP_OBJ_DIR)
endif

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