]> err.no Git - scalable-opengroupware.org/blob - Protocols/common.make
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1298 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / Protocols / common.make
1 # common make file for Protocol bundles
2
3 -include ../../config.make
4 include $(GNUSTEP_MAKEFILES)/common.make
5 include ../../Version
6 include ./Version
7
8 BUNDLE_EXTENSION   = .SOGo
9 BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SOGo-$(MAJOR_VERSION).$(MINOR_VERSION)
10
11 ADDITIONAL_INCLUDE_DIRS += \
12         -I..            \
13         -I../..         \
14         -I../../..      \
15         -I../../SoObjects \
16         -I../../SOPE
17
18 RELBUILD_DIR_libNGCards = \
19         $(GNUSTEP_BUILD_DIR)/../../SOPE/NGCards/$(GNUSTEP_OBJ_DIR_NAME)
20 RELBUILD_DIR_libSOGo = \
21         $(GNUSTEP_BUILD_DIR)/../../SoObjects/SOGo/$(GNUSTEP_OBJ_DIR_NAME)
22 RELBUILD_DIR_libOGoContentStore = \
23         $(GNUSTEP_BUILD_DIR)/../../OGoContentStore/$(GNUSTEP_OBJ_DIR_NAME)
24
25 ADDITIONAL_LIB_DIRS +=                          \
26         -L$(RELBUILD_DIR_libNGCards)            \
27         -L$(RELBUILD_DIR_libSOGo)               \
28         -L$(RELBUILD_DIR_libOGoContentStore)
29
30 # todo: use SYSTEM_LIB_DIR?
31 ADDITIONAL_LIB_DIRS += -L/usr/local/lib -L/usr/lib
32
33 BUNDLE_LIBS +=                                  \
34         -lSOGo                                  \
35         -lOGoContentStore                       \
36         -lGDLAccess                             \
37         -lNGObjWeb                              \
38         -lNGMime -lNGCards -lNGLdap             \
39         -lNGStreams -lNGExtensions -lEOControl  \
40         -lXmlRpc -lDOM -lSaxObjC