55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# GNUstep makefile
|
|
|
|
debug=yes
|
|
|
|
include ../../config.make
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
|
include ../../Version
|
|
|
|
TEST_TOOL = sogo-tests
|
|
$(TEST_TOOL)_INSTALL_DIR = $(SOGO_ADMIN_TOOLS)
|
|
$(TEST_TOOL)_OBJC_FILES += \
|
|
sogo-tests.m \
|
|
\
|
|
SOGoTest.m \
|
|
SOGoTestRunner.m \
|
|
SaxXMLReaderFactory+SOGoTests.m \
|
|
\
|
|
TestVersit.m \
|
|
TestiCalTimeZonePeriod.m \
|
|
TestiCalRecurrenceCalculator.m \
|
|
\
|
|
TestSBJsonParser.m \
|
|
\
|
|
TestNGMimeMessageGenerator.m \
|
|
\
|
|
TestNSData+Crypto.m \
|
|
TestNSString+Crypto.m \
|
|
TestNSString+URLEscaping.m \
|
|
TestNSString+Utilities.m \
|
|
TestNGMailAddressParser.m \
|
|
\
|
|
TestRTFHandler.m \
|
|
../../OpenChange/RTFHandler.m
|
|
# I don't know how to link against -l:SOGoBackend \
|
|
undefined reference to `__objc_class_name_SOGoMailFolder'
|
|
|
|
TEST_TOOL_NAME = $(TEST_TOOL)
|
|
|
|
$(TEST_TOOL)_CPPFLAGS += \
|
|
-Wall -D_GNU_SOURCE -I../../SOPE/ -I../../SoObjects/ -I../../UI/ -I../../OpenChange
|
|
|
|
ADDITIONAL_LIB_DIRS += \
|
|
-L../../SoObjects/SOGo/SOGo.framework/Versions/Current/sogo -L../../SOPE/NGCards/obj -L../../SOPE/GDLContentStore/obj -lSOGo -lNGMime -lNGCards -lGDLContentStore -lNGExtensions -lSBJson -lobjc \
|
|
-L/usr/local/lib -lSaxObjC \
|
|
-Wl,-rpath,../../SoObjects/SOGo/SOGo.framework/Versions/Current/sogo -Wl,-rpath,../../SOPE/NGCards/obj -Wl,-rpath,../../SOPE/GDLContentStore/obj
|
|
ADDITIONAL_LDFLAGS += -Wl,--no-as-needed
|
|
|
|
-include GNUmakefile.preamble
|
|
include $(GNUSTEP_MAKEFILES)/test-tool.make
|
|
-include GNUmakefile.postamble
|
|
|
|
check :: $(TEST_TOOL)
|
|
./obj/sogo-tests
|
|
|