Monotone-Parent: e8f76b9dd2119efe8f7197fb78f29b022c901b71
Monotone-Revision: 396c6e864095eef33b37851b95eab331da4f4a20 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-11-18T22:13:45 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
6844b99642
commit
01a7a10e49
|
@ -1,5 +1,9 @@
|
||||||
2010-11-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2010-11-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* OpenChange/GNUmakefile: the MAPIStoreSOGo library is now just a
|
||||||
|
wrapper that loads the new "SOGoBackend" bundle from
|
||||||
|
SoProductRegistry.
|
||||||
|
|
||||||
* SoObjects/SOGo/SOGoContentObject.m (-outlookMessageClass):
|
* SoObjects/SOGo/SOGoContentObject.m (-outlookMessageClass):
|
||||||
removed useless method.
|
removed useless method.
|
||||||
|
|
||||||
|
|
|
@ -4,33 +4,31 @@ include ../config.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
include ../Version
|
include ../Version
|
||||||
|
|
||||||
LIBMAPI_CFLAGS = $(shell pkg-config libmapistore --cflags)
|
BACKEND_VERSION = 1.0.0
|
||||||
|
|
||||||
ifeq ($(LIBMAPI_CFLAGS),)
|
|
||||||
|
|
||||||
all install::
|
|
||||||
@echo "Cannot build the OpenChange SOGo backend (empty CFLAGS for libmapistore)"
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
LIBMAPI_LIBS = $(shell pkg-config libmapistore --libs) -lmapiproxy
|
|
||||||
|
|
||||||
ADDITIONAL_INCLUDE_DIRS += $(LIBMAPI_CFLAGS) -I../SoObjects -I../SOPE
|
|
||||||
ADDITIONAL_LIB_DIRS += -L../SOGo/SOGo.framework/ -lSOGo -L../SOPE/GDLContentStore/obj/ $(LIBMAPI_LIBS)
|
|
||||||
|
|
||||||
SAMBA_LIB_DIR = $(shell pkg-config libmapistore --variable=libdir)
|
|
||||||
|
|
||||||
|
### bootstrap library
|
||||||
MAPISTORESOGO = MAPIStoreSOGo
|
MAPISTORESOGO = MAPIStoreSOGo
|
||||||
$(MAPISTORESOGO)_VERSION = 1.0.0
|
|
||||||
LIBRARY_NAME = $(MAPISTORESOGO)
|
LIBRARY_NAME = $(MAPISTORESOGO)
|
||||||
|
|
||||||
|
$(MAPISTORESOGO)_VERSION = $(BACKEND_VERSION)
|
||||||
$(MAPISTORESOGO)_INSTALL_DIR = $(SAMBA_LIB_DIR)/mapistore_backends
|
$(MAPISTORESOGO)_INSTALL_DIR = $(SAMBA_LIB_DIR)/mapistore_backends
|
||||||
|
|
||||||
$(MAPISTORESOGO)_OBJC_FILES += \
|
$(MAPISTORESOGO)_OBJC_FILES += \
|
||||||
|
MAPIStoreSOGo.m
|
||||||
|
|
||||||
|
### backend bundle
|
||||||
|
SOGOBACKEND = SOGoBackend
|
||||||
|
BUNDLE_NAME = $(SOGOBACKEND)
|
||||||
|
BUNDLE_EXTENSION = .MAPIStore
|
||||||
|
BUNDLE_INSTALL_DIR = $(SOGO_LIBDIR)
|
||||||
|
|
||||||
|
$(SOGOBACKEND)_PRINCIPAL_CLASS = MAPIApplication
|
||||||
|
|
||||||
|
$(SOGOBACKEND)_OBJC_FILES += \
|
||||||
MAPIApplication.m \
|
MAPIApplication.m \
|
||||||
MAPIStoreAuthenticator.m \
|
MAPIStoreAuthenticator.m \
|
||||||
MAPIStoreContext.m \
|
MAPIStoreContext.m \
|
||||||
MAPIStoreMapping.m \
|
MAPIStoreMapping.m \
|
||||||
MAPIStoreSOGo.m \
|
|
||||||
\
|
\
|
||||||
MAPIStoreCalendarContext.m \
|
MAPIStoreCalendarContext.m \
|
||||||
MAPIStoreContactsContext.m \
|
MAPIStoreContactsContext.m \
|
||||||
|
@ -38,13 +36,36 @@ $(MAPISTORESOGO)_OBJC_FILES += \
|
||||||
MAPIStoreTasksContext.m \
|
MAPIStoreTasksContext.m \
|
||||||
\
|
\
|
||||||
SOGoGCSFolder+MAPIStore.m \
|
SOGoGCSFolder+MAPIStore.m \
|
||||||
|
SOGoContactGCSEntry+MAPIStore.m \
|
||||||
\
|
\
|
||||||
NSArray+MAPIStore.m \
|
NSArray+MAPIStore.m \
|
||||||
NSData+MAPIStore.m \
|
NSData+MAPIStore.m \
|
||||||
NSDate+MAPIStore.m \
|
NSDate+MAPIStore.m \
|
||||||
NSString+MAPIStore.m
|
NSString+MAPIStore.m
|
||||||
|
|
||||||
|
$(SOGOBACKEND)_RESOURCE_FILES += \
|
||||||
|
product.plist
|
||||||
|
|
||||||
|
### cflags and libs
|
||||||
|
LIBMAPI_CFLAGS = $(shell pkg-config libmapistore --cflags)
|
||||||
|
|
||||||
|
ifeq ($(LIBMAPI_CFLAGS),)
|
||||||
|
all install::
|
||||||
|
@echo "Cannot build the OpenChange SOGo backend (empty CFLAGS for libmapistore)"
|
||||||
|
else
|
||||||
|
|
||||||
|
LIBMAPI_LIBS = $(shell pkg-config libmapistore --libs) -lmapiproxy
|
||||||
|
|
||||||
|
ADDITIONAL_INCLUDE_DIRS += $(LIBMAPI_CFLAGS) -I../SoObjects -I../SOPE -DBACKEND_BUNDLE_NAME="@\"$(BUNDLE_NAME)$(BUNDLE_EXTENSION)\"" -DSOGO_BUNDLES_DIR="@\"$(BUNDLE_INSTALL_DIR)\""
|
||||||
|
ADDITIONAL_LIB_DIRS += -Wl,--as-needed \
|
||||||
|
-L../SOGo/SOGo.framework/ -lSOGo \
|
||||||
|
-L../../OGoContentStore/$(GNUSTEP_OBJ_DIR)/ -lOGoContentStore \
|
||||||
|
$(LIBMAPI_LIBS)
|
||||||
|
|
||||||
|
SAMBA_LIB_DIR = $(shell pkg-config libmapistore --variable=libdir)
|
||||||
|
|
||||||
-include GNUmakefile.preamble
|
-include GNUmakefile.preamble
|
||||||
|
include $(GNUSTEP_MAKEFILES)/bundle.make
|
||||||
include $(GNUSTEP_MAKEFILES)/library.make
|
include $(GNUSTEP_MAKEFILES)/library.make
|
||||||
-include GNUmakefile.postamble
|
-include GNUmakefile.postamble
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
requires = ( MAIN, Appointments, Contacts, Mailer );
|
||||||
|
}
|
Loading…
Reference in New Issue