author | zautrix <zautrix> | 2004-09-12 09:23:35 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-12 09:23:35 (UTC) |
commit | 8d822fd4d97fbb38ab2c4f3f3f64f175ef143cff (patch) (unidiff) | |
tree | 4ebe4f2edc51d45374efe04f2524e0f7a9990484 /Makefile | |
parent | 2848d8373ab0785cd21c4588d8fe7ad21ad6f291 (diff) | |
download | kdepimpi-8d822fd4d97fbb38ab2c4f3f3f64f175ef143cff.zip kdepimpi-8d822fd4d97fbb38ab2c4f3f3f64f175ef143cff.tar.gz kdepimpi-8d822fd4d97fbb38ab2c4f3f3f64f175ef143cff.tar.bz2 |
Fixed the makefile
-rw-r--r-- | Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -132,96 +132,94 @@ variable_info: | |||
132 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | 132 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) |
133 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) | 133 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) |
134 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) | 134 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) |
135 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) | 135 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) |
136 | ifndef BUILD_NO_SHARP_PLUGIN | 136 | ifndef BUILD_NO_SHARP_PLUGIN |
137 | @echo SHARPDTMSDK=$(SHARPDTMSDK) | 137 | @echo SHARPDTMSDK=$(SHARPDTMSDK) |
138 | endif | 138 | endif |
139 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) | 139 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) |
140 | @echo -------------------------------------- | 140 | @echo -------------------------------------- |
141 | 141 | ||
142 | variable_test: variable_info | 142 | variable_test: variable_info |
143 | @echo KDEPIM buildsystem, variablecheck... | 143 | @echo KDEPIM buildsystem, variablecheck... |
144 | ifndef KDEPIMDIR | 144 | ifndef KDEPIMDIR |
145 | @echo KDEPIMDIR is not defined. | 145 | @echo KDEPIMDIR is not defined. |
146 | $(error KDEPIMDIR is not defined) | 146 | $(error KDEPIMDIR is not defined) |
147 | endif | 147 | endif |
148 | ifndef PLATFORM | 148 | ifndef PLATFORM |
149 | @echo PLATFORM is not defined. | 149 | @echo PLATFORM is not defined. |
150 | $(error PLATFORM is not defined) | 150 | $(error PLATFORM is not defined) |
151 | endif | 151 | endif |
152 | ifdef BUILD_NO_LDAP_PLUGIN | 152 | ifdef BUILD_NO_LDAP_PLUGIN |
153 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) | 153 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) |
154 | endif | 154 | endif |
155 | ifdef BUILD_NO_OPIE_PLUGIN | 155 | ifdef BUILD_NO_OPIE_PLUGIN |
156 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) | 156 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
157 | endif | 157 | endif |
158 | ifdef BUILD_NO_MICROMAIL | 158 | ifdef BUILD_NO_MICROMAIL |
159 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 159 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
160 | endif | 160 | endif |
161 | ifdef BUILD_NO_SHARP_PLUGIN | 161 | ifdef BUILD_NO_SHARP_PLUGIN |
162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
163 | else | 163 | else |
164 | ifndef SHARPDTMSDK | 164 | ifndef SHARPDTMSDK |
165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
166 | $(error SHARPDTMSDK is not defined) | 166 | $(error SHARPDTMSDK is not defined) |
167 | endif | 167 | endif |
168 | endif | 168 | endif |
169 | ifdef BUILD_NO_GAMMU | 169 | ifdef BUILD_NO_GAMMU |
170 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) | 170 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
171 | endif | 171 | endif |
172 | @echo -------------------------------------- | 172 | @echo -------------------------------------- |
173 | 173 | ||
174 | 174 | ||
175 | objects: | 175 | objects: |
176 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 176 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
177 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 177 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
178 | mkdir -p libical/lib/$(PLATFORM) | 178 | mkdir -p libical/lib/$(PLATFORM) |
179 | 179 | ||
180 | clean: | 180 | clean: |
181 | rm -rf libical/lib/$(PLATFORM)/*; | 181 | rm -rf libical/lib/$(PLATFORM)/*; |
182 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 182 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
183 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 183 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
184 | done | 184 | done |
185 | install: | 185 | install: |
186 | ifdef KDEPIM_VERSION | 186 | |
187 | cd bin/kdepim; make install | 187 | cd bin/kdepim; make install |
188 | cp -r Pim $(QPEDIR)/apps | 188 | cp -r Pim $(QPEDIR)/apps |
189 | cp db2file/db2file $(QPEDIR)/bin/db2file | 189 | cp db2file/db2file $(QPEDIR)/bin/db2file |
190 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 190 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
191 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 191 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
192 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 192 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
193 | else | 193 | |
194 | @echo KDEPIM_VERSION not set.Cannot build ipk packages if version is missing. | ||
195 | endif | ||
196 | dist: | 194 | dist: |
197 | @echo Dont forget to do "make install" before "make dist" | 195 | @echo Dont forget to do "make install" before "make dist" |
198 | rm -f *arm.ipk | 196 | rm -f *arm.ipk |
199 | rm -f *~ | 197 | rm -f *~ |
200 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 198 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
201 | ./mkipks kmicrokdelibs.control | 199 | ./mkipks kmicrokdelibs.control |
202 | ./mkipks korganizer.control | 200 | ./mkipks korganizer.control |
203 | ./mkipks kaddressbook.control | 201 | ./mkipks kaddressbook.control |
204 | ifndef BUILD_NO_MICROMAIL | 202 | ifndef BUILD_NO_MICROMAIL |
205 | ./mkipks kopiemail.control | 203 | ./mkipks kopiemail.control |
206 | endif | 204 | endif |
207 | ./mkipks korganizer-alarm.control | 205 | ./mkipks korganizer-alarm.control |
208 | ifndef BUILD_NO_GAMMU | 206 | ifndef BUILD_NO_GAMMU |
209 | ./mkipks kammu.control | 207 | ./mkipks kammu.control |
210 | endif | 208 | endif |
211 | ./mkipks pim_TAB_icon.control | 209 | ./mkipks pim_TAB_icon.control |
212 | 210 | ||
213 | tmake: objects \ | 211 | tmake: objects \ |
214 | qtcompat/Makefile$(PLATFORM) \ | 212 | qtcompat/Makefile$(PLATFORM) \ |
215 | microkde/Makefile$(PLATFORM) \ | 213 | microkde/Makefile$(PLATFORM) \ |
216 | libkcal/Makefile$(PLATFORM) \ | 214 | libkcal/Makefile$(PLATFORM) \ |
217 | libkdepim/Makefile$(PLATFORM) \ | 215 | libkdepim/Makefile$(PLATFORM) \ |
218 | korganizer/Makefile$(PLATFORM) \ | 216 | korganizer/Makefile$(PLATFORM) \ |
219 | kalarmd/Makefile$(PLATFORM) \ | 217 | kalarmd/Makefile$(PLATFORM) \ |
220 | libical/src/libical/Makefile$(PLATFORM) \ | 218 | libical/src/libical/Makefile$(PLATFORM) \ |
221 | libical/src/libicalss/Makefile$(PLATFORM) \ | 219 | libical/src/libicalss/Makefile$(PLATFORM) \ |
222 | kabc/Makefile$(PLATFORM) \ | 220 | kabc/Makefile$(PLATFORM) \ |
223 | kabc/formats/binary/Makefile$(PLATFORM) \ | 221 | kabc/formats/binary/Makefile$(PLATFORM) \ |
224 | kabc/plugins/file/Makefile$(PLATFORM) \ | 222 | kabc/plugins/file/Makefile$(PLATFORM) \ |
225 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 223 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
226 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 224 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
227 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 225 | kabc/plugins/opie/Makefile$(PLATFORM) \ |