# compilation flags SOPE_ROOT=../.. SOPE_CORE="../../sope-core" SOPE_XML="../../sope-xml" ADDITIONAL_INCLUDE_DIRS += \ -I.. \ -I$(SOPE_CORE)/NGStreams \ -I$(SOPE_CORE)/NGExtensions \ # PCH icalparsetest_OBJC_PRECOMPILED_HEADERS = common.h icalds_OBJC_PRECOMPILED_HEADERS = common.h vcf2xml_OBJC_PRECOMPILED_HEADERS = common.h vcfparsetest_OBJC_PRECOMPILED_HEADERS = common.h ievalrrule_OBJC_PRECOMPILED_HEADERS = common.h # dependencies ifneq ($(frameworks),yes) icalparsetest_TOOL_LIBS += -lNGiCal icalds_TOOL_LIBS += -lNGiCal vcfparsetest_TOOL_LIBS += -lNGiCal ievalrrule_TOOL_LIBS += -lNGiCal ADDITIONAL_TOOL_LIBS += \ -lNGStreams -lNGExtensions -lEOControl \ -lDOM -lSaxObjC else icalparsetest_TOOL_LIBS += -framework NGiCal icalds_TOOL_LIBS += -framework NGiCal vcfparsetest_TOOL_LIBS += -framework NGiCal ievalrrule_TOOL_LIBS += -framework NGiCal ADDITIONAL_TOOL_LIBS += \ -framework NGStreams -framework NGExtensions -framework EOControl \ -framework DOM -framework SaxObjC endif # library/framework search pathes DEP_DIRS = \ ../NGiCal/ \ $(SOPE_ROOT)/sope-core/NGExtensions \ $(SOPE_ROOT)/sope-core/NGStreams \ $(SOPE_ROOT)/sope-core/EOControl \ $(SOPE_ROOT)/sope-xml/DOM \ $(SOPE_ROOT)/sope-xml/SaxObjC ifneq ($(frameworks),yes) ADDITIONAL_LIB_DIRS += \ $(foreach dir,$(DEP_DIRS),\ -L$(GNUSTEP_BUILD_DIR)/$(dir)/$(GNUSTEP_OBJ_DIR_NAME)) else ADDITIONAL_LIB_DIRS += \ $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir)) endif SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib