author | zautrix <zautrix> | 2004-09-16 15:13:40 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-16 15:13:40 (UTC) |
commit | 02e7ae4983679a787834277176a031286a8310c2 (patch) (unidiff) | |
tree | ea7e33e59b86b8fed2b033609d1018a9f245baff /Makefile | |
parent | 68b1f3bce4b6e89bb343b965256537d93e63f7be (diff) | |
download | kdepimpi-02e7ae4983679a787834277176a031286a8310c2.zip kdepimpi-02e7ae4983679a787834277176a031286a8310c2.tar.gz kdepimpi-02e7ae4983679a787834277176a031286a8310c2.tar.bz2 |
Foldername fixes
-rw-r--r-- | Makefile | 31 |
1 files changed, 28 insertions, 3 deletions
@@ -40,32 +40,37 @@ SUBDIRS_MICROMAIL = \ | |||
40 | kmicromail/libetpan \ | 40 | kmicromail/libetpan \ |
41 | kmicromail/libmailwrapper \ | 41 | kmicromail/libmailwrapper \ |
42 | kmicromail | 42 | kmicromail |
43 | 43 | ||
44 | SUBDIRS_GAMMU = \ | 44 | SUBDIRS_GAMMU = \ |
45 | gammu/emb/common \ | 45 | gammu/emb/common \ |
46 | gammu/emb/gammu | 46 | gammu/emb/gammu |
47 | 47 | ||
48 | SUBDIRS_PWMANAGER = \ | ||
49 | pwmanager/pwmanager | ||
50 | |||
48 | SUBDIRS = \ | 51 | SUBDIRS = \ |
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 | ||
57 | all: build_microkde \ | 61 | all: 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 | ||
66 | build_microkde: variable_test tmake | 71 | build_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 |
70 | 75 | ||
71 | build_qtopia_plugin: build_microkde | 76 | build_qtopia_plugin: build_microkde |
@@ -114,16 +119,25 @@ build_gammu: variable_test tmake | |||
114 | ifdef BUILD_NO_GAMMU | 119 | ifdef BUILD_NO_GAMMU |
115 | @echo == gammu not build. | 120 | @echo == gammu not build. |
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 | ||
127 | build_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 | ||
123 | variable_info: | 137 | variable_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) |
128 | @echo QPEDIR=$(QPEDIR) | 142 | @echo QPEDIR=$(QPEDIR) |
129 | @echo OPIEDIR=$(OPIEDIR) | 143 | @echo OPIEDIR=$(OPIEDIR) |
@@ -132,16 +146,17 @@ variable_info: | |||
132 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | 146 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) |
133 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) | 147 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) |
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 | ||
142 | variable_test: variable_info | 157 | variable_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. |
146 | $(error KDEPIMDIR is not defined) | 161 | $(error KDEPIMDIR is not defined) |
147 | endif | 162 | endif |
@@ -164,16 +179,19 @@ variable_test: variable_info | |||
164 | ifndef SHARPDTMSDK | 179 | ifndef SHARPDTMSDK |
165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 180 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
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 | ||
175 | objects: | 193 | objects: |
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 |
178 | mkdir -p libical/lib/$(PLATFORM) | 196 | mkdir -p libical/lib/$(PLATFORM) |
179 | 197 | ||
@@ -185,32 +203,36 @@ clean: | |||
185 | install: | 203 | install: |
186 | 204 | ||
187 | cd bin/kdepim; make install | 205 | cd bin/kdepim; make install |
188 | cp -r Pim $(QPEDIR)/apps | 206 | cp -r Pim $(QPEDIR)/apps |
189 | cp db2file/db2file $(QPEDIR)/bin/db2file | 207 | cp db2file/db2file $(QPEDIR)/bin/db2file |
190 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 208 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
191 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 209 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
192 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 210 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
211 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | ||
193 | 212 | ||
194 | dist: | 213 | dist: |
195 | @echo Dont forget to do "make install" before "make dist" | 214 | @echo Dont forget to do "make install" before "make dist" |
196 | rm -f *arm.ipk | 215 | rm -f *arm.ipk |
197 | rm -f *~ | 216 | rm -f *~ |
198 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 217 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
199 | ./mkipks kmicrokdelibs.control | 218 | ./mkipks kmicrokdelibs.control |
200 | ./mkipks korganizer.control | 219 | ./mkipks korganizer.control |
201 | ./mkipks kaddressbook.control | 220 | ./mkipks kaddressbook.control |
202 | ifndef BUILD_NO_MICROMAIL | 221 | ifndef BUILD_NO_MICROMAIL |
203 | ./mkipks kopiemail.control | 222 | ./mkipks kopiemail.control |
204 | endif | 223 | endif |
205 | ./mkipks korganizer-alarm.control | 224 | ./mkipks korganizer-alarm.control |
206 | ifndef BUILD_NO_GAMMU | 225 | ifndef BUILD_NO_GAMMU |
207 | ./mkipks kammu.control | 226 | ./mkipks kammu.control |
208 | endif | 227 | endif |
228 | ifndef BUILD_NO_PWMANAGER | ||
229 | ./mkipks pwmanager.control | ||
230 | endif | ||
209 | ./mkipks pim_TAB_icon.control | 231 | ./mkipks pim_TAB_icon.control |
210 | 232 | ||
211 | tmake: objects \ | 233 | tmake: objects \ |
212 | qtcompat/Makefile$(PLATFORM) \ | 234 | qtcompat/Makefile$(PLATFORM) \ |
213 | microkde/Makefile$(PLATFORM) \ | 235 | microkde/Makefile$(PLATFORM) \ |
214 | libkcal/Makefile$(PLATFORM) \ | 236 | libkcal/Makefile$(PLATFORM) \ |
215 | libkdepim/Makefile$(PLATFORM) \ | 237 | libkdepim/Makefile$(PLATFORM) \ |
216 | korganizer/Makefile$(PLATFORM) \ | 238 | korganizer/Makefile$(PLATFORM) \ |
@@ -226,17 +248,17 @@ tmake: objects \ | |||
226 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 248 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
227 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 249 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
228 | kaddressbook/Makefile$(PLATFORM) \ | 250 | kaddressbook/Makefile$(PLATFORM) \ |
229 | kmicromail/Makefile$(PLATFORM) \ | 251 | kmicromail/Makefile$(PLATFORM) \ |
230 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 252 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
231 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 253 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
232 | gammu/emb/common/Makefile$(PLATFORM) \ | 254 | gammu/emb/common/Makefile$(PLATFORM) \ |
233 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 255 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
234 | 256 | pwmanager/pwmanager/Makefile$(PLATFORM) \ | |
235 | 257 | ||
236 | 258 | ||
237 | 259 | ||
238 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 260 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
239 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 261 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
240 | 262 | ||
241 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 263 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
242 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | 264 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
@@ -296,8 +318,11 @@ kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | |||
296 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro | 318 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
297 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) | 319 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) |
298 | 320 | ||
299 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro | 321 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro |
300 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) | 322 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) |
301 | 323 | ||
302 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro | 324 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro |
303 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) | 325 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) |
326 | |||
327 | pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro | ||
328 | cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" pwmanagerE.pro -o Makefile$(PLATFORM) | ||