]> err.no Git - scalable-opengroupware.org/blob - SOGo/Main/GNUmakefile
f589055e4dd6687f900e6c811158ed327201ae84
[scalable-opengroupware.org] / SOGo / Main / GNUmakefile
1 # GNUstep makefile
2
3 include $(GNUSTEP_MAKEFILES)/common.make
4
5 WOAPP_NAME         = sogod
6 TOOL_NAME          = sogod
7 BUNDLE_NAME        = MainUI
8 BUNDLE_EXTENSION   = .SOGo
9 BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/SOGo
10
11 # daemon tool
12
13 sogod_OBJC_FILES += \
14         sogod.m                 \
15         SOGo.m                  \
16         SOGoProductLoader.m     \
17         SOGoAuthenticator.m     \
18
19 # product
20
21 MainUI_PRINCIPAL_CLASS = MainUIProduct
22
23 MainUI_LANGUAGES = English French
24
25 MainUI_OBJC_FILES += \
26         MainUIProduct.m         \
27         SOGoRootPage.m          \
28         SOGoUserHomePage.m      \
29         SOGoGroupPage.m         \
30         SOGoGroupsPage.m        \
31
32 MainUI_RESOURCE_FILES +=        \
33         Version                 \
34         product.plist           \
35         \
36         SOGoRootPage.wox        \
37         SOGoUserHomePage.wox    \
38         SOGoGroupPage.wox       \
39         SOGoGroupsPage.wox      \
40
41 MainUI_LOCALIZED_RESOURCE_FILES += \
42         Locale default.strings
43
44 # woapp support
45
46 ifneq ($(tool),yes)
47 sogod_OBJC_FILES               += $(MainUI_OBJC_FILES)
48 sogod_RESOURCE_FILES           += $(MainUI_RESOURCE_FILES)
49 sogod_LOCALIZED_RESOURCE_FILES += $(MainUI_LOCALIZED_RESOURCE_FILES)
50 endif
51
52
53 -include GNUmakefile.preamble
54 ifeq ($(tool),yes)
55 include $(GNUSTEP_MAKEFILES)/bundle.make
56 include $(GNUSTEP_MAKEFILES)/tool.make
57 else
58 include $(GNUSTEP_MAKEFILES)/woapp.make
59 endif
60 -include GNUmakefile.postamble