2010-10-01 20:54:30 +02:00
|
|
|
# GNUstep makefile
|
|
|
|
|
|
|
|
include ../config.make
|
|
|
|
include $(GNUSTEP_MAKEFILES)/common.make
|
|
|
|
include ../Version
|
|
|
|
|
2010-10-06 15:36:32 +02:00
|
|
|
LIBMAPI_CFLAGS = $(shell pkg-config libmapistore --cflags)
|
2010-10-05 23:31:46 +02:00
|
|
|
|
|
|
|
ifeq ($(LIBMAPI_CFLAGS),)
|
|
|
|
|
|
|
|
all install::
|
2010-10-12 23:35:33 +02:00
|
|
|
@echo "Cannot build the OpenChange SOGo backend (empty CFLAGS for libmapistore)"
|
2010-10-05 23:31:46 +02:00
|
|
|
|
|
|
|
else
|
|
|
|
|
2010-10-12 23:35:33 +02:00
|
|
|
LIBMAPI_LIBS = $(shell pkg-config libmapistore --libs) -lmapiproxy
|
2010-10-05 23:31:46 +02:00
|
|
|
|
|
|
|
ADDITIONAL_INCLUDE_DIRS += $(LIBMAPI_CFLAGS) -I../SoObjects -I../SOPE
|
|
|
|
ADDITIONAL_LIB_DIRS += -L../SOGo/SOGo.framework/ -lSOGo -L../SOPE/GDLContentStore/obj/ $(LIBMAPI_LIBS)
|
2010-10-01 20:54:30 +02:00
|
|
|
|
2010-10-01 22:35:09 +02:00
|
|
|
SAMBA_LIB_DIR = $(shell pkg-config libmapistore --variable=libdir)
|
2010-10-01 20:54:30 +02:00
|
|
|
|
|
|
|
MAPISTORESOGO = MAPIStoreSOGo
|
|
|
|
$(MAPISTORESOGO)_VERSION = 1.0.0
|
|
|
|
LIBRARY_NAME = $(MAPISTORESOGO)
|
|
|
|
$(MAPISTORESOGO)_INSTALL_DIR = $(SAMBA_LIB_DIR)/mapistore_backends
|
|
|
|
|
|
|
|
$(MAPISTORESOGO)_OBJC_FILES += \
|
|
|
|
MAPIApplication.m \
|
|
|
|
MAPIStoreAuthenticator.m \
|
|
|
|
MAPIStoreContext.m \
|
|
|
|
MAPIStoreMapping.m \
|
|
|
|
MAPIStoreSOGo.m \
|
|
|
|
\
|
|
|
|
MAPIStoreCalendarContext.m \
|
|
|
|
MAPIStoreContactsContext.m \
|
|
|
|
MAPIStoreMailContext.m \
|
2010-10-01 23:31:58 +02:00
|
|
|
MAPIStoreTasksContext.m \
|
2010-10-01 20:54:30 +02:00
|
|
|
\
|
2010-10-01 23:24:15 +02:00
|
|
|
SOGoGCSFolder+MAPIStore.m \
|
|
|
|
\
|
2010-10-13 23:40:50 +02:00
|
|
|
NSArray+MAPIStore.m \
|
2010-10-14 18:36:53 +02:00
|
|
|
NSData+MAPIStore.m \
|
2010-10-01 20:54:30 +02:00
|
|
|
NSCalendarDate+MAPIStore.m \
|
|
|
|
NSString+MAPIStore.m
|
|
|
|
|
|
|
|
-include GNUmakefile.preamble
|
|
|
|
include $(GNUSTEP_MAKEFILES)/library.make
|
|
|
|
-include GNUmakefile.postamble
|
2010-10-05 23:31:46 +02:00
|
|
|
|
|
|
|
endif
|