]> err.no Git - scalable-opengroupware.org/blob - UI/common.make
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1305 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / common.make
1 # common make file for UI 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 ifeq ($(GNUSTEP_BUILD_DIR),)
19
20 ADDITIONAL_LIB_DIRS +=                          \
21         -L../../SOPE/NGCards/$(GNUSTEP_OBJ_DIR) \
22         -L../SOGoUI/$(GNUSTEP_OBJ_DIR)          \
23         -L../../SoObjects/SOGo/$(GNUSTEP_OBJ_DIR)
24
25 else
26 RELBUILD_DIR_libNGCards = \
27         $(GNUSTEP_BUILD_DIR)/../../SOPE/NGCards/$(GNUSTEP_OBJ_DIR_NAME)
28 RELBUILD_DIR_libSOGo = \
29         $(GNUSTEP_BUILD_DIR)/../../SoObjects/SOGo/$(GNUSTEP_OBJ_DIR_NAME)
30 RELBUILD_DIR_libSOGoUI = \
31         $(GNUSTEP_BUILD_DIR)/../SOGoUI/$(GNUSTEP_OBJ_DIR_NAME)
32 RELBUILD_DIR_libOGoContentStore = \
33         $(GNUSTEP_BUILD_DIR)/../../OGoContentStore/$(GNUSTEP_OBJ_DIR_NAME)
34
35 ADDITIONAL_LIB_DIRS +=                          \
36         -L$(RELBUILD_DIR_libNGCards)            \
37         -L$(RELBUILD_DIR_libSOGo)               \
38         -L$(RELBUILD_DIR_libSOGoUI)             \
39         -L$(RELBUILD_DIR_libOGoContentStore)
40 endif
41
42 SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib
43
44 BUNDLE_LIBS += \
45         -lSOGoUI                                \
46         -lSOGo                                  \
47         -lOGoContentStore                       \
48         -lGDLContentStore                       \
49         -lGDLAccess                             \
50         -lNGObjWeb                              \
51         -lNGMime -lNGCards -lNGLdap             \
52         -lNGStreams -lNGExtensions -lEOControl  \
53         -lXmlRpc -lDOM -lSaxObjC