4 SOPE_OBJ_ROOT=$(GNUSTEP_BUILD_DIR)/$(SOPE_ROOT)
6 ifeq ($(frameworks),yes)
7 # hm, we might prefer /Library/SaxDrivers-$(MAJOR_VERSION).$(MINOR_VERSION)/
8 # but this is harder with the FRAMEWORK_INSTALL_DIR
9 BUNDLE_INSTALL_DIR := $(FRAMEWORK_INSTALL_DIR)/SaxObjC.framework/Versions/A/Resources/SaxDrivers/
13 ADDITIONAL_INCLUDE_DIRS += \
14 -I$(SOPE_ROOT)/sope-xml \
15 -I$(SOPE_ROOT)/sope-core/NGExtensions
20 ifneq ($(frameworks),yes)
21 BUNDLE_LIBS += -lSaxObjC
23 BUNDLE_LIBS += -framework SaxObjC
25 ADDITIONAL_BUNDLE_LIBS += $(BUNDLE_LIBS)
28 # library/framework search pathes
31 $(SOPE_ROOT)/sope-core/NGExtensions \
32 $(SOPE_ROOT)/sope-xml/SaxObjC
34 ifneq ($(frameworks),yes)
35 ADDITIONAL_LIB_DIRS += \
36 $(foreach dir,$(DEP_DIRS),\
37 -L$(GNUSTEP_BUILD_DIR)/$(dir)/$(GNUSTEP_OBJ_DIR_NAME))
39 ADDITIONAL_LIB_DIRS += \
40 $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
43 SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib