summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded27
1 files changed, 24 insertions, 3 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index de9d5ce..e472689 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -42,28 +42,33 @@ SUBDIRS_MICROMAIL = \
42 kmicromail 42 kmicromail
43 43
44SUBDIRS_GAMMU = \ 44SUBDIRS_GAMMU = \
45 gammu/emb/common \ 45 gammu/emb/common \
46 gammu/emb/gammu 46 gammu/emb/gammu
47 47
48SUBDIRS_PWMANAGER = \
49 pwmanager/pwmanager
50
48SUBDIRS = \ 51SUBDIRS = \
49 $(SUBDIRS_MICROKDE) \ 52 $(SUBDIRS_MICROKDE) \
50 $(SUBDIRS_QTOPIA_PLUGIN) \ 53 $(SUBDIRS_QTOPIA_PLUGIN) \
51 $(SUBDIRS_OPIE_PLUGIN) \ 54 $(SUBDIRS_OPIE_PLUGIN) \
52 $(SUBDIRS_SHARP_PLUGIN) \ 55 $(SUBDIRS_SHARP_PLUGIN) \
53 $(SUBDIRS_LDAP_PLUGIN) \ 56 $(SUBDIRS_LDAP_PLUGIN) \
54 $(SUBDIRS_MICROMAIL) \ 57 $(SUBDIRS_MICROMAIL) \
55 $(SUBDIRS_GAMMU) 58 $(SUBDIRS_GAMMU) \
59 $(SUBDIRS_PWMANAGER)
56 60
57all: build_microkde \ 61all: build_microkde \
58 build_qtopia_plugin \ 62 build_qtopia_plugin \
59 build_opie_plugin \ 63 build_opie_plugin \
60 build_sharp_plugin \ 64 build_sharp_plugin \
61 build_ldap_plugin \ 65 build_ldap_plugin \
62 build_micromail \ 66 build_micromail \
63 build_gammu 67 build_gammu \
68 build_pwmanager
64 69
65 70
66build_microkde: variable_test tmake 71build_microkde: variable_test tmake
67 for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ 72 for i in $(SUBDIRS_MICROKDE); do pushd $$i; \
68 make -f Makefile$(PLATFORM) || exit 1; popd; \ 73 make -f Makefile$(PLATFORM) || exit 1; popd; \
69 done 74 done
@@ -116,12 +121,21 @@ build_gammu: variable_test tmake
116 else 121 else
117 for i in $(SUBDIRS_GAMMU); do pushd $$i; \ 122 for i in $(SUBDIRS_GAMMU); do pushd $$i; \
118 make -f Makefile$(PLATFORM) || exit 1; popd; \ 123 make -f Makefile$(PLATFORM) || exit 1; popd; \
119 done 124 done
120 endif 125 endif
121 126
127build_pwmanager: build_microkde
128 ifdef BUILD_NO_PWMANAGER
129 @echo == pwmanager not build.
130 else
131 for i in $(SUBDIRS_PWMANAGER); do pushd $$i; \
132 make -f Makefile$(PLATFORM) || exit 1; popd; \
133 done
134 endif
135
122 136
123variable_info: 137variable_info:
124 @echo -------------------------------------- 138 @echo --------------------------------------
125 @echo KDEPIM buildsystem, variableinfo... 139 @echo KDEPIM buildsystem, variableinfo...
126 @echo KDEPIMDIR=$(KDEPIMDIR) 140 @echo KDEPIMDIR=$(KDEPIMDIR)
127 @echo QTDIR=$(QTDIR) 141 @echo QTDIR=$(QTDIR)
@@ -134,12 +148,13 @@ variable_info:
134 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 148 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
135 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 149 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
136 ifndef BUILD_NO_SHARP_PLUGIN 150 ifndef BUILD_NO_SHARP_PLUGIN
137 @echo SHARPDTMSDK=$(SHARPDTMSDK) 151 @echo SHARPDTMSDK=$(SHARPDTMSDK)
138 endif 152 endif
139 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) 153 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU)
154 @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER)
140 @echo -------------------------------------- 155 @echo --------------------------------------
141 156
142variable_test: variable_info 157variable_test: variable_info
143 @echo KDEPIM buildsystem, variablecheck... 158 @echo KDEPIM buildsystem, variablecheck...
144 ifndef KDEPIMDIR 159 ifndef KDEPIMDIR
145 @echo KDEPIMDIR is not defined. 160 @echo KDEPIMDIR is not defined.
@@ -166,12 +181,15 @@ variable_test: variable_info
166 $(error SHARPDTMSDK is not defined) 181 $(error SHARPDTMSDK is not defined)
167 endif 182 endif
168 endif 183 endif
169 ifdef BUILD_NO_GAMMU 184 ifdef BUILD_NO_GAMMU
170 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) 185 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU)
171 endif 186 endif
187 ifdef BUILD_NO_PWMANAGER
188 @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER)
189 endif
172 @echo -------------------------------------- 190 @echo --------------------------------------
173 191
174 192
175objects: 193objects:
176 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 194 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
177 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 195 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
@@ -228,13 +246,13 @@ tmake: objects \
228 kaddressbook/Makefile$(PLATFORM) \ 246 kaddressbook/Makefile$(PLATFORM) \
229 kmicromail/Makefile$(PLATFORM) \ 247 kmicromail/Makefile$(PLATFORM) \
230 kmicromail/libetpan/Makefile$(PLATFORM) \ 248 kmicromail/libetpan/Makefile$(PLATFORM) \
231 kmicromail/libmailwrapper/Makefile$(PLATFORM) \ 249 kmicromail/libmailwrapper/Makefile$(PLATFORM) \
232 gammu/emb/common/Makefile$(PLATFORM) \ 250 gammu/emb/common/Makefile$(PLATFORM) \
233 gammu/emb/gammu/Makefile$(PLATFORM) \ 251 gammu/emb/gammu/Makefile$(PLATFORM) \
234 252 pwmanager/pwmanager/Makefile$(PLATFORM) \
235 253
236 254
237 255
238qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 256qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
239 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) 257 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM)
240 258
@@ -298,6 +316,9 @@ kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmail
298 316
299gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro 317gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro
300 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) 318 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM)
301 319
302gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro 320gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro
303 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) 321 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM)
322
323pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro
324 cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" pwmanagerE.pro -o Makefile$(PLATFORM)