# compilation settings

libXmlRpc_LIBRARIES_DEPEND_UPON += -lSaxObjC -lDOM

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


# Apple

ifeq ($(FOUNDATION_LIB),apple)
libXmlRpc_PREBIND_ADDR="0xC0400000"
libXmlRpc_LDFLAGS += -seg1addr $(libXmlRpc_PREBIND_ADDR)

#ADDITIONAL_INCLUDE_DIRS     += -framework SaxObjC
XmlRpc_FRAMEWORK_LIBS        += -framework SaxObjC
XmlRpc_LIBRARIES_DEPEND_UPON += -framework SaxObjC

endif