2010-01-07 16:28:47 +01:00
|
|
|
# GNUstep makefile
|
|
|
|
|
2010-01-07 17:37:36 +01:00
|
|
|
debug=yes
|
|
|
|
|
2010-01-31 21:22:47 +01:00
|
|
|
include ../../config.make
|
2010-01-07 16:28:47 +01:00
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
2010-01-31 21:22:47 +01:00
|
|
|
include ../../Version
|
2010-01-07 16:28:47 +01:00
|
|
|
|
|
|
|
TEST_TOOL = sogo-tests
|
|
|
|
$(TEST_TOOL)_INSTALL_DIR = $(SOGO_ADMIN_TOOLS)
|
|
|
|
$(TEST_TOOL)_OBJC_FILES += \
|
|
|
|
sogo-tests.m \
|
|
|
|
\
|
2010-01-07 17:37:36 +01:00
|
|
|
SOGoTest.m \
|
2010-01-08 16:46:00 +01:00
|
|
|
SOGoTestRunner.m \
|
2011-07-22 19:51:26 +02:00
|
|
|
SaxXMLReaderFactory+SOGoTests.m \
|
2010-01-07 17:37:36 +01:00
|
|
|
\
|
2011-11-14 17:07:04 +01:00
|
|
|
TestVersit.m \
|
2010-03-22 18:16:16 +01:00
|
|
|
TestiCalTimeZonePeriod.m \
|
2010-04-22 15:15:04 +02:00
|
|
|
TestiCalRecurrenceCalculator.m \
|
2010-03-22 18:16:16 +01:00
|
|
|
\
|
2010-11-11 19:13:39 +01:00
|
|
|
TestSBJsonParser.m \
|
2010-08-26 17:27:25 +02:00
|
|
|
\
|
2016-01-18 16:50:48 +01:00
|
|
|
TestNGMimeAddressHeaderFieldGenerator.m \
|
2015-12-21 17:20:32 +01:00
|
|
|
TestNGMimeHeaderFieldGenerator.m \
|
2015-08-25 16:41:38 +02:00
|
|
|
TestNGMimeMessageGenerator.m \
|
2016-02-18 11:01:56 +01:00
|
|
|
TestNGMimeType.m \
|
2015-08-25 16:41:38 +02:00
|
|
|
\
|
2012-10-19 17:33:48 +02:00
|
|
|
TestNSData+Crypto.m \
|
|
|
|
TestNSString+Crypto.m \
|
2011-07-19 22:01:13 +02:00
|
|
|
TestNSString+URLEscaping.m \
|
2015-10-23 21:54:33 +02:00
|
|
|
TestNSString+Utilities.m \
|
2021-05-28 13:39:44 +02:00
|
|
|
TestNGMailAddressParser.m
|
2010-01-07 16:28:47 +01:00
|
|
|
|
2011-07-19 22:00:15 +02:00
|
|
|
TEST_TOOL_NAME = $(TEST_TOOL)
|
2010-01-07 16:28:47 +01:00
|
|
|
|
2012-10-19 18:46:46 +02:00
|
|
|
$(TEST_TOOL)_CPPFLAGS += \
|
2014-07-30 21:24:25 +02:00
|
|
|
-Wall -D_GNU_SOURCE -I../../SOPE/ -I../../SoObjects/ -I../../UI/ -I../../OpenChange
|
2010-01-07 17:37:36 +01:00
|
|
|
|
|
|
|
ADDITIONAL_LIB_DIRS += \
|
2014-10-01 20:36:42 +02:00
|
|
|
-L../../SoObjects/SOGo/SOGo.framework/Versions/Current/sogo -L../../SOPE/NGCards/obj -L../../SOPE/GDLContentStore/obj -lSOGo -lNGMime -lNGCards -lGDLContentStore -lNGExtensions -lSBJson -lobjc \
|
2012-10-19 18:46:46 +02:00
|
|
|
-L/usr/local/lib -lSaxObjC \
|
2014-10-01 20:36:42 +02:00
|
|
|
-Wl,-rpath,../../SoObjects/SOGo/SOGo.framework/Versions/Current/sogo -Wl,-rpath,../../SOPE/NGCards/obj -Wl,-rpath,../../SOPE/GDLContentStore/obj
|
2012-10-19 18:46:46 +02:00
|
|
|
ADDITIONAL_LDFLAGS += -Wl,--no-as-needed
|
|
|
|
|
2010-01-07 16:28:47 +01:00
|
|
|
-include GNUmakefile.preamble
|
2011-07-19 22:00:15 +02:00
|
|
|
include $(GNUSTEP_MAKEFILES)/test-tool.make
|
2010-01-07 16:28:47 +01:00
|
|
|
-include GNUmakefile.postamble
|
2010-08-26 17:27:25 +02:00
|
|
|
|
2014-05-29 15:35:46 +02:00
|
|
|
check :: $(TEST_TOOL)
|
2012-11-07 15:49:46 +01:00
|
|
|
./obj/sogo-tests
|
2014-07-30 21:24:25 +02:00
|
|
|
|