3 ADDITIONAL_CPPFLAGS += -Wall -DCOMPILE_FOR_GSTEP_MAKE=1
4 ADDITIONAL_OBJCFLAGS += -Wall -Wno-import -Wno-protocol
7 CORE_ROOT=$(SOPE_ROOT)/sope-core
9 ADDITIONAL_INCLUDE_DIRS += \
14 -I$(CORE_ROOT)/NGStreams/ \
15 -I$(CORE_ROOT)/NGExtensions \
16 -I$(SOPE_ROOT)/sope-xml
19 ifneq ($(frameworks),yes)
21 libSoOFS_LIBRARIES_DEPEND_UPON += \
23 -lNGMime -lNGStreams -lNGExtensions -lEOControl \
24 -lXmlRpc -lDOM -lSaxObjC
26 $(SOPED_NAME)_TOOL_LIBS += \
28 -lNGMime -lNGStreams -lNGExtensions -lEOControl \
29 -lXmlRpc -lDOM -lSaxObjC
31 SoOFS_WOBUNDLE_LIBS += \
35 -lNGStreams -lNGExtensions -lEOControl \
36 -lXmlRpc -lDOM -lSaxObjC
37 SoOFS_BUNDLE_LIBS += $(SoOFS_WOBUNDLE_LIBS)
41 SoOFS_LIBRARIES_DEPEND_UPON += \
44 -framework NGStreams -framework NGExtensions -framework EOControl \
45 -framework XmlRpc -framework DOM -framework SaxObjC
47 $(SOPED_NAME)_TOOL_LIBS += \
48 -framework SoOFS -framework NGObjWeb \
50 -framework NGStreams -framework NGExtensions -framework EOControl \
51 -framework XmlRpc -framework DOM -framework SaxObjC
56 # library/framework search pathes
60 $(SOPE_ROOT)/sope-mime \
61 $(SOPE_ROOT)/sope-core/NGStreams \
62 $(SOPE_ROOT)/sope-core/NGExtensions \
63 $(SOPE_ROOT)/sope-core/EOControl \
64 $(SOPE_ROOT)/sope-xml/DOM \
65 $(SOPE_ROOT)/sope-xml/XmlRpc \
66 $(SOPE_ROOT)/sope-xml/SaxObjC
68 ifneq ($(frameworks),yes)
69 ADDITIONAL_LIB_DIRS += \
70 $(foreach dir,$(DEP_DIRS),\
71 -L$(GNUSTEP_BUILD_DIR)/$(dir)/$(GNUSTEP_OBJ_DIR_NAME))
73 ADDITIONAL_LIB_DIRS += \
74 $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
77 SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
81 # platform specific settings
83 ifneq ($(findstring openbsd3, $(GNUSTEP_TARGET_OS)), openbsd3)
84 # OpenBSD does not require libcrypt
85 ifneq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin)
86 # and neither does MacOSX? ...
87 sope_TOOL_LIBS += -lcrypt
91 ifeq ($(findstring openbsd3, $(GNUSTEP_TARGET_OS)), openbsd3)
92 $(SOPED_NAME)_TOOL_LIBS += -liconv