# $Id: GNUmakefile.preamble 14 2004-08-20 21:07:18Z helge $ ADDITIONAL_CPPFLAGS += -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 ADDITIONAL_OBJCFLAGS += -Wall -Wno-import -Wno-protocol SOPE_ROOT=../.. CORE_ROOT=$(SOPE_ROOT)/sope-core ADDITIONAL_INCLUDE_DIRS += \ -I. \ -I.. \ -I../NGObjWeb \ -I$(CORE_ROOT) \ -I$(CORE_ROOT)/NGStreams/ \ -I$(CORE_ROOT)/NGExtensions \ -I$(SOPE_ROOT)/sope-xml libSoOFS_LIBRARIES_DEPEND_UPON += \ -lNGObjWeb \ -lNGMime -lNGStreams -lNGExtensions -lEOControl \ -lXmlRpc -lDOM -lSaxObjC $(SOPED_NAME)_TOOL_LIBS += \ -lSoOFS -lNGObjWeb \ -lNGMime -lNGStreams -lNGExtensions -lEOControl \ -lXmlRpc -lDOM -lSaxObjC SoOFS_WOBUNDLE_LIBS += -lSoOFS SoOFS_BUNDLE_LIBS += $(SoOFS_WOBUNDLE_LIBS) ifneq ($(GNUSTEP_BUILD_DIR),) RELBUILD_DIR_SOPE=$(GNUSTEP_BUILD_DIR)/.. RELBUILD_DIR_MIME=$(GNUSTEP_BUILD_DIR)/../../sope-mime RELBUILD_DIR_SxCore=$(GNUSTEP_BUILD_DIR)/$(CORE_ROOT) RELBUILD_DIR_SxXml=$(GNUSTEP_BUILD_DIR)/../../sope-xml ADDITIONAL_LIB_DIRS += \ -L$(GNUSTEP_OBJ_DIR) \ -L$(RELBUILD_DIR_SOPE)/NGObjWeb/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_MIME)/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_SxCore)/NGStreams/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_SxCore)/NGExtensions/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_SxCore)/EOControl/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_SxXml)/XmlRpc/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_SxXml)/DOM/$(GNUSTEP_OBJ_DIR_NAME) \ -L$(RELBUILD_DIR_SxXml)/SaxObjC/$(GNUSTEP_OBJ_DIR_NAME) else ADDITIONAL_LIB_DIRS += \ -L./$(GNUSTEP_OBJ_DIR) \ -L../NGObjWeb/$(GNUSTEP_OBJ_DIR) \ -L$(SOPE_ROOT)/sope-mime/$(GNUSTEP_OBJ_DIR) \ -L$(CORE_ROOT)/NGStreams/$(GNUSTEP_OBJ_DIR) \ -L$(CORE_ROOT)/NGExtensions/$(GNUSTEP_OBJ_DIR) \ -L$(CORE_ROOT)/EOControl/$(GNUSTEP_OBJ_DIR) \ -L$(SOPE_ROOT)/sope-xml/XmlRpc/$(GNUSTEP_OBJ_DIR) \ -L$(SOPE_ROOT)/sope-xml/DOM/$(GNUSTEP_OBJ_DIR) \ -L$(SOPE_ROOT)/sope-xml/SaxObjC/$(GNUSTEP_OBJ_DIR) endif SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib # platform specific settings ifneq ($(findstring openbsd3, $(GNUSTEP_TARGET_OS)), openbsd3) # OpenBSD does not require libcrypt ifneq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin) # and neither does MacOSX? ... sope_TOOL_LIBS += -lcrypt endif endif