2006-06-15 21:34:10 +02:00
|
|
|
# GNUstep makefile
|
|
|
|
|
2008-02-14 18:31:23 +01:00
|
|
|
include ../../config.make
|
2006-06-15 21:34:10 +02:00
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
2011-03-30 16:44:47 +02:00
|
|
|
include ../../Version
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2008-04-24 03:04:11 +02:00
|
|
|
FRAMEWORK_NAME = SOGo
|
|
|
|
|
2011-10-12 17:42:16 +02:00
|
|
|
#SOGo_INSTALL_DIR = $(SOGO_LIBDIR)
|
2011-10-14 21:25:17 +02:00
|
|
|
SOGo_INSTALL_DIR = $(DESTDIR)$(GNUSTEP_$(GNUSTEP_INSTALLATION_DOMAIN)_FRAMEWORKS)
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2011-03-30 16:44:47 +02:00
|
|
|
SOGo_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2008-04-24 03:04:11 +02:00
|
|
|
SOGo_HEADER_FILES = \
|
2010-02-18 23:08:48 +01:00
|
|
|
SOGoBuild.h \
|
2010-02-18 22:55:40 +01:00
|
|
|
SOGoProductLoader.h \
|
|
|
|
\
|
2008-01-16 19:55:48 +01:00
|
|
|
SOGoCache.h \
|
2010-03-08 16:18:05 +01:00
|
|
|
SOGoConstants.h \
|
2006-06-15 21:34:10 +02:00
|
|
|
SOGoObject.h \
|
|
|
|
SOGoContentObject.h \
|
2007-09-11 22:26:44 +02:00
|
|
|
SOGoFolder.h \
|
2009-03-31 22:58:55 +02:00
|
|
|
SOGoGCSFolder.h \
|
2007-09-11 22:26:44 +02:00
|
|
|
SOGoParentFolder.h \
|
2006-06-15 21:34:10 +02:00
|
|
|
SOGoUserFolder.h \
|
|
|
|
\
|
2011-06-29 19:43:10 +02:00
|
|
|
SOGoSieveManager.h \
|
|
|
|
\
|
2009-09-25 16:42:33 +02:00
|
|
|
SOGoUserManager.h \
|
2007-05-09 21:04:18 +02:00
|
|
|
LDAPSource.h \
|
2011-12-30 21:39:07 +01:00
|
|
|
LDAPSourceSchema.h \
|
2009-09-25 16:42:33 +02:00
|
|
|
SQLSource.h \
|
2009-11-29 05:19:32 +01:00
|
|
|
SOGoUserProfile.h \
|
2007-06-19 20:03:18 +02:00
|
|
|
SOGoDateFormatter.h \
|
2006-12-14 21:14:35 +01:00
|
|
|
SOGoPermissions.h \
|
2009-11-29 05:19:32 +01:00
|
|
|
SOGoStartupLogger.h \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSArray+DAV.h \
|
2007-05-25 23:26:08 +02:00
|
|
|
NSArray+Utilities.h \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSCalendarDate+SOGo.h \
|
|
|
|
NSDictionary+DAV.h \
|
2007-05-25 23:26:08 +02:00
|
|
|
NSDictionary+URL.h \
|
|
|
|
NSDictionary+Utilities.h \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSNull+Utilities.h \
|
|
|
|
NSNumber+Utilities.h \
|
|
|
|
NSObject+DAV.h \
|
2007-05-25 23:26:08 +02:00
|
|
|
NSObject+Utilities.h \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSString+DAV.h \
|
2007-05-25 23:26:08 +02:00
|
|
|
NSString+Utilities.h \
|
2012-05-31 15:24:32 +02:00
|
|
|
NSString+Crypto.h \
|
|
|
|
NSData+Crypto.h \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSURL+DAV.h \
|
2006-06-15 21:34:10 +02:00
|
|
|
\
|
2009-03-31 22:58:55 +02:00
|
|
|
SOGoAuthenticator.h \
|
2011-02-03 17:12:22 +01:00
|
|
|
SOGoSession.h \
|
2010-01-28 22:42:03 +01:00
|
|
|
SOGoCASSession.h \
|
2007-09-04 17:41:59 +02:00
|
|
|
SOGoDAVAuthenticator.h \
|
2009-09-11 16:38:43 +02:00
|
|
|
SOGoProxyAuthenticator.h \
|
2007-09-04 17:41:59 +02:00
|
|
|
SOGoWebAuthenticator.h \
|
2008-05-03 01:14:51 +02:00
|
|
|
SOGoWebDAVAclManager.h \
|
|
|
|
SOGoWebDAVValue.h \
|
2007-08-09 22:59:47 +02:00
|
|
|
SOGoMailer.h \
|
2009-04-30 23:17:55 +02:00
|
|
|
SOGoGroup.h \
|
2006-06-15 21:34:10 +02:00
|
|
|
SOGoUser.h \
|
2007-11-08 20:56:18 +01:00
|
|
|
\
|
2009-06-18 22:58:46 +02:00
|
|
|
DOMNode+SOGo.h \
|
|
|
|
\
|
2008-11-05 18:26:02 +01:00
|
|
|
WORequest+SOGo.h \
|
2011-02-03 17:12:22 +01:00
|
|
|
WOResourceManager+SOGo.h \
|
2009-08-05 17:19:01 +02:00
|
|
|
WOResponse+SOGo.h \
|
2008-11-05 18:26:02 +01:00
|
|
|
WOContext+SOGo.h
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2010-02-19 14:47:40 +01:00
|
|
|
# daemon tool
|
|
|
|
all::
|
|
|
|
@touch SOGoBuild.m
|
|
|
|
|
2008-04-24 03:04:11 +02:00
|
|
|
SOGo_OBJC_FILES = \
|
2010-02-18 23:08:48 +01:00
|
|
|
SOGoBuild.m \
|
2010-02-18 22:55:40 +01:00
|
|
|
SOGoProductLoader.m \
|
|
|
|
\
|
2008-01-16 19:55:48 +01:00
|
|
|
SOGoCache.m \
|
2010-03-08 16:18:05 +01:00
|
|
|
SOGoConstants.m \
|
2006-06-15 21:34:10 +02:00
|
|
|
SOGoObject.m \
|
|
|
|
SOGoContentObject.m \
|
2007-09-11 22:26:44 +02:00
|
|
|
SOGoFolder.m \
|
2007-11-07 16:58:43 +01:00
|
|
|
SOGoGCSFolder.m \
|
2007-09-11 22:26:44 +02:00
|
|
|
SOGoParentFolder.m \
|
2010-06-02 18:36:30 +02:00
|
|
|
SOGoPublicBaseFolder.m \
|
2006-06-15 21:34:10 +02:00
|
|
|
SOGoUserFolder.m \
|
|
|
|
\
|
2011-06-29 19:43:10 +02:00
|
|
|
SOGoSieveManager.m \
|
|
|
|
\
|
2009-11-29 05:19:32 +01:00
|
|
|
SOGoDefaultsSource.m \
|
|
|
|
SOGoSystemDefaults.m \
|
|
|
|
SOGoDomainDefaults.m \
|
|
|
|
SOGoUserDefaults.m \
|
|
|
|
SOGoUserSettings.m \
|
|
|
|
\
|
2007-06-19 20:03:18 +02:00
|
|
|
SOGoDateFormatter.m \
|
2006-12-14 21:14:35 +01:00
|
|
|
SOGoPermissions.m \
|
2009-11-29 05:19:32 +01:00
|
|
|
SOGoStartupLogger.m \
|
2009-09-25 16:42:33 +02:00
|
|
|
SOGoUserManager.m \
|
2007-05-09 21:04:18 +02:00
|
|
|
LDAPSource.m \
|
2011-12-30 21:39:07 +01:00
|
|
|
LDAPSourceSchema.m \
|
2009-09-25 16:42:33 +02:00
|
|
|
SQLSource.m \
|
2009-11-29 05:19:32 +01:00
|
|
|
SOGoUserProfile.m \
|
|
|
|
SOGoSQLUserProfile.m \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSArray+DAV.m \
|
2006-12-14 21:14:35 +01:00
|
|
|
NSArray+Utilities.m \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSCalendarDate+SOGo.m \
|
|
|
|
NSDictionary+DAV.m \
|
2006-10-03 18:09:43 +02:00
|
|
|
NSDictionary+URL.m \
|
2007-05-25 23:26:08 +02:00
|
|
|
NSDictionary+Utilities.m \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSNull+Utilities.m \
|
|
|
|
NSNumber+Utilities.m \
|
|
|
|
NSObject+DAV.m \
|
2007-05-25 23:26:08 +02:00
|
|
|
NSObject+Utilities.m \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSString+DAV.m \
|
2006-12-14 21:14:35 +01:00
|
|
|
NSString+Utilities.m \
|
2012-05-31 15:24:32 +02:00
|
|
|
NSString+Crypto.m \
|
|
|
|
NSData+Crypto.m \
|
2008-05-03 01:14:51 +02:00
|
|
|
NSURL+DAV.m \
|
2006-06-15 21:34:10 +02:00
|
|
|
\
|
2010-12-28 18:42:50 +01:00
|
|
|
SOGoSession.m \
|
2010-01-28 22:42:03 +01:00
|
|
|
SOGoCASSession.m \
|
2007-09-04 17:41:59 +02:00
|
|
|
SOGoDAVAuthenticator.m \
|
2010-01-28 22:42:03 +01:00
|
|
|
SOGoProxyAuthenticator.m \
|
2007-09-04 17:41:59 +02:00
|
|
|
SOGoWebAuthenticator.m \
|
2008-05-03 01:14:51 +02:00
|
|
|
SOGoWebDAVAclManager.m \
|
|
|
|
SOGoWebDAVValue.m \
|
2007-08-09 22:59:47 +02:00
|
|
|
SOGoMailer.m \
|
2009-04-30 23:17:55 +02:00
|
|
|
SOGoGroup.m \
|
2006-06-15 21:34:10 +02:00
|
|
|
SOGoUser.m \
|
2007-11-08 20:56:18 +01:00
|
|
|
\
|
2009-06-18 22:58:46 +02:00
|
|
|
DOMNode+SOGo.m \
|
|
|
|
\
|
2008-11-05 18:26:02 +01:00
|
|
|
WORequest+SOGo.m \
|
2011-02-03 17:12:22 +01:00
|
|
|
WOResourceManager+SOGo.m \
|
2009-08-05 17:19:01 +02:00
|
|
|
WOResponse+SOGo.m \
|
2008-11-05 18:26:02 +01:00
|
|
|
WOContext+SOGo.m
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2008-04-24 03:04:11 +02:00
|
|
|
SOGo_RESOURCE_FILES = \
|
2009-11-29 05:19:32 +01:00
|
|
|
SOGoDefaults.plist \
|
2012-11-01 16:28:45 +01:00
|
|
|
DAVReportMap.plist
|
|
|
|
|
|
|
|
ifeq ($(saml2_config), yes)
|
2012-11-02 18:54:52 +01:00
|
|
|
SOGo_HEADER_FILES += SOGoSAML2Session.h SOGoSAML2Exceptions.h
|
|
|
|
SOGo_OBJC_FILES += SOGoSAML2Session.m SOGoSAML2Exceptions.m
|
2012-11-01 16:28:45 +01:00
|
|
|
SOGo_RESOURCE_FILES += SOGoSAML2Metadata.xml
|
2012-11-02 18:54:52 +01:00
|
|
|
|
|
|
|
SOGoSAML2Exceptions.h SOGoSAML2Exceptions.m: gen-saml2-exceptions.py
|
|
|
|
$(ECHO_CREATING) ./gen-saml2-exceptions.py $(LASSO_CFLAGS) $(END_ECHO)
|
|
|
|
|
2012-11-01 16:28:45 +01:00
|
|
|
endif
|
2008-04-24 03:04:11 +02:00
|
|
|
|
2008-09-25 18:28:22 +02:00
|
|
|
ifeq ($(ldap_config),yes)
|
2009-03-04 16:27:00 +01:00
|
|
|
|
|
|
|
LIBRARY_NAME += \
|
|
|
|
SOGoNSUserDefaults
|
|
|
|
|
|
|
|
SOGoNSUserDefaults_VERSION = 1
|
|
|
|
SOGoNSUserDefaults_INSTALL_DIR = $(SOGO_LIBDIR)
|
|
|
|
|
|
|
|
SOGoNSUserDefaults_OBJC_FILES = \
|
|
|
|
SOGoLDAPUserDefaultsBootstrap.m \
|
|
|
|
SOGoLDAPUserDefaults.m
|
|
|
|
|
2008-09-25 18:28:22 +02:00
|
|
|
endif
|
|
|
|
|
2006-11-20 16:59:34 +01:00
|
|
|
ADDITIONAL_TOOL_LIBS += -Lobj -lSOGo$(LIBRARY_NAME_SUFFIX)
|
2007-11-02 18:04:27 +01:00
|
|
|
ADDITIONAL_INCLUDE_DIRS += -I../../SOPE/
|
|
|
|
ADDITIONAL_LIB_DIRS += -L../../SOPE/GDLContentStore/obj/
|
2009-08-03 17:46:02 +02:00
|
|
|
ADDITIONAL_LDFLAGS += -lmemcached
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
-include GNUmakefile.preamble
|
2008-02-14 18:31:23 +01:00
|
|
|
ifneq ($(FHS_INSTALL_ROOT),)
|
|
|
|
GNUSTEP_HEADERS=$(DESTDIR)$(FHS_INSTALL_ROOT)/include
|
|
|
|
endif
|
2008-04-24 03:04:11 +02:00
|
|
|
include $(GNUSTEP_MAKEFILES)/framework.make
|
2009-03-04 16:27:00 +01:00
|
|
|
include $(GNUSTEP_MAKEFILES)/library.make
|
2006-06-15 21:34:10 +02:00
|
|
|
include $(GNUSTEP_MAKEFILES)/tool.make
|
|
|
|
-include GNUmakefile.postamble
|