summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
Unidiff
Diffstat (limited to 'Makefile.Embedded') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded54
1 files changed, 36 insertions, 18 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 71035d6..7777a19 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -2,4 +2,5 @@ DISTPATH = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH)) 2DISTDIR = $(shell basename $(DISTPATH))
3 3
4
4ifeq ($(PLATFORM) , zaurus) 5ifeq ($(PLATFORM) , zaurus)
5 BUILD_NO_LDAP_PLUGIN=1 6 BUILD_NO_LDAP_PLUGIN=1
@@ -10,6 +11,5 @@ ifneq ($(PLATFORM) , zaurus)
10endif 11endif
11 12
12 13SUBDIRS_MICROKDE = \
13SUBDIRS_MAIN = \
14 libical/src/libical \ 14 libical/src/libical \
15 libical/src/libicalss \ 15 libical/src/libicalss \
@@ -49,5 +49,14 @@ SUBDIRS_MICROMAIL = \
49 kmicromail 49 kmicromail
50 50
51all: build_main \ 51SUBDIRS = \
52 $(SUBDIRS_MICROKDE) \
53 $(SUBDIRS_QTOPIA_PLUGIN) \
54 $(SUBDIRS_OPIE_PLUGIN) \
55 $(SUBDIRS_SHARP_PLUGIN) \
56 $(SUBDIRS_LDAP_PLUGIN) \
57 $(SUBDIRS_MICROMAIL)
58
59
60all: build_microkde \
52 build_qtopia_plugin \ 61 build_qtopia_plugin \
53 build_opie_plugin \ 62 build_opie_plugin \
@@ -57,15 +66,15 @@ all: build_main \
57 66
58 67
59build_main: variable_info tmake 68build_microkde: variable_test tmake
60 for i in $(SUBDIRS_MAIN); do pushd $$i; \ 69 for i in $(SUBDIRS_MICROKDE); do pushd $$i; \
61 make -f Makefile$(PLATFORM) || exit 1; popd; \ 70 make -f Makefile$(PLATFORM) || exit 1; popd; \
62 done 71 done
63 72
64build_qtopia_plugin: build_main 73build_qtopia_plugin: build_microkde
65 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ 74 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \
66 make -f Makefile$(PLATFORM) || exit 1; popd; \ 75 make -f Makefile$(PLATFORM) || exit 1; popd; \
67 done 76 done
68 77
69build_opie_plugin: build_main 78build_opie_plugin: build_microkde
70 ifdef BUILD_NO_OPIE_PLUGIN 79 ifdef BUILD_NO_OPIE_PLUGIN
71 @echo ---> opie plugin not build. 80 @echo ---> opie plugin not build.
@@ -76,5 +85,5 @@ build_opie_plugin: build_main
76 endif 85 endif
77 86
78build_sharp_plugin: build_main 87build_sharp_plugin: build_microkde
79 ifdef BUILD_NO_SHARP_PLUGIN 88 ifdef BUILD_NO_SHARP_PLUGIN
80 @echo ---> ldap plugin not build. 89 @echo ---> ldap plugin not build.
@@ -85,5 +94,5 @@ build_sharp_plugin: build_main
85 endif 94 endif
86 95
87build_ldap_plugin: build_main 96build_ldap_plugin: build_microkde
88 ifdef BUILD_NO_LDAP_PLUGIN 97 ifdef BUILD_NO_LDAP_PLUGIN
89 @echo ---> ldap plugin not build. 98 @echo ---> ldap plugin not build.
@@ -95,5 +104,5 @@ build_ldap_plugin: build_main
95 104
96 105
97build_micromail: build_main 106build_micromail: build_microkde
98 ifdef BUILD_NO_MICROMAIL 107 ifdef BUILD_NO_MICROMAIL
99 @echo ---> micromail not build. 108 @echo ---> micromail not build.
@@ -105,7 +114,7 @@ build_micromail: build_main
105 114
106 115
107variable_info: variable_test 116variable_info:
108 @echo -------------------------------------- 117 @echo --------------------------------------
109 @echo KDEPIM buildsystem, variablecheck... 118 @echo KDEPIM buildsystem, variableinfo...
110 @echo QTDIR=$(QTDIR) 119 @echo QTDIR=$(QTDIR)
111 @echo QPEDIR=$(QPEDIR) 120 @echo QPEDIR=$(QPEDIR)
@@ -113,11 +122,15 @@ variable_info: variable_test
113 @echo PLATFORM=$(PLATFORM) 122 @echo PLATFORM=$(PLATFORM)
114 @echo RELEASE_DEBUG=$(RELEASE_DEBUG) 123 @echo RELEASE_DEBUG=$(RELEASE_DEBUG)
124 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL)
115 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) 125 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN)
116 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 126 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
117 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 127 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
118 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) 128 ifndef BUILD_NO_SHARP_PLUGIN
129 @echo SHARPDTMSDK=$(SHARPDTMSDK)
130 endif
119 @echo -------------------------------------- 131 @echo --------------------------------------
120 132
121variable_test: 133variable_test: variable_info
134 @echo KDEPIM buildsystem, variablecheck...
122 ifdef BUILD_NO_LDAP_PLUGIN 135 ifdef BUILD_NO_LDAP_PLUGIN
123 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) 136 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN)
@@ -126,11 +139,16 @@ variable_test:
126 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) 139 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN)
127 endif 140 endif
128 ifdef BUILD_NO_SHARP_PLUGIN
129 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
130 endif
131 ifdef BUILD_NO_MICROMAIL 141 ifdef BUILD_NO_MICROMAIL
132 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) 142 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL)
133 endif 143 endif
134 144 ifdef BUILD_NO_SHARP_PLUGIN
145 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
146 else
147 ifndef SHARPDTMSDK
148 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
149 $(error SHARPDTMSDK is not defined)
150 endif
151 endif
152 @echo --------------------------------------
135 153
136 154