small build enhancements
Monotone-Parent: d49c98c481fa58e4c31bc095daaf159eeb596dc1 Monotone-Revision: e45abd064b22b07e42f9ba2f4beea86779cb5c2c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-05T21:31:46 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
671d1f7a1c
commit
76a791f93b
|
@ -4,8 +4,19 @@ include ../config.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
include ../Version
|
include ../Version
|
||||||
|
|
||||||
ADDITIONAL_INCLUDE_DIRS += $(shell pkg-config libmapiproxy --cflags) -I../SoObjects -I../SOPE
|
LIBMAPI_CFLAGS = $(shell pkg-config libmapiproxy --cflags)
|
||||||
ADDITIONAL_LIB_DIRS += -L../SOGo/SOGo.framework/ -lSOGo -L../SOPE/GDLContentStore/obj/ $(shell pkg-config libmapistore --libs)
|
|
||||||
|
ifeq ($(LIBMAPI_CFLAGS),)
|
||||||
|
|
||||||
|
all install::
|
||||||
|
@echo "* Cannot build the OpenChange SOGo backend (empty CFLAGS)"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
LIBMAPI_LIBS = $(shell pkg-config libmapiproxy --libs)
|
||||||
|
|
||||||
|
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)
|
SAMBA_LIB_DIR = $(shell pkg-config libmapistore --variable=libdir)
|
||||||
|
|
||||||
|
@ -34,3 +45,5 @@ $(MAPISTORESOGO)_OBJC_FILES += \
|
||||||
-include GNUmakefile.preamble
|
-include GNUmakefile.preamble
|
||||||
include $(GNUSTEP_MAKEFILES)/library.make
|
include $(GNUSTEP_MAKEFILES)/library.make
|
||||||
-include GNUmakefile.postamble
|
-include GNUmakefile.postamble
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue