-rw-r--r-- | Makefile.Embedded | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index cef9893..95bd2ae 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -1,39 +1,40 @@ | |||
1 | DISTPATH = $(shell pwd) | 1 | DISTPATH = $(shell pwd) |
2 | DISTDIR = $(shell basename $(DISTPATH)) | 2 | DISTDIR = $(shell basename $(DISTPATH)) |
3 | 3 | ||
4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ | 4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ |
5 | libkcal libkdepim kabc kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ | 5 | libkcal libkdepim kabc kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ |
6 | kabc/plugins/ldap kabc/plugins/opie libkabcwrap \ | 6 | kabc/plugins/ldap kabc/plugins/opie \ |
7 | korganizer kalarmd kaddressbook | 7 | korganizer kalarmd kaddressbook |
8 | all: tmake | 8 | all: tmake |
9 | for i in $(SUBDIRS); do pushd $$i; \ | 9 | for i in $(SUBDIRS); do pushd $$i; \ |
10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
11 | done | 11 | done |
12 | 12 | ||
13 | objects: | 13 | objects: |
14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
16 | mkdir -p libical/lib/$(PLATFORM) | ||
16 | 17 | ||
17 | clean: | 18 | clean: |
18 | rm -f libical/lib/$(PLATFORM)/*; | 19 | rm -f libical/lib/$(PLATFORM)/*; |
19 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 20 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
20 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 21 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
21 | done | 22 | done |
22 | install: | 23 | install: |
23 | cd bin/kdepim; make install | 24 | cd bin/kdepim; make install |
24 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 25 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
25 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 26 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
26 | 27 | ||
27 | dist: | 28 | dist: |
28 | @echo Dont forget to do "make install" before "make dist" | 29 | @echo Dont forget to do "make install" before "make dist" |
29 | rm -f *arm.ipk | 30 | rm -f *arm.ipk |
30 | rm -f *~ | 31 | rm -f *~ |
31 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | 32 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
32 | mkipks kdepim.control | 33 | mkipks kdepim.control |
33 | mkipks korganizer-alarm.control | 34 | mkipks korganizer-alarm.control |
34 | 35 | ||
35 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ | 36 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ |
36 | libkcal/Makefile$(PLATFORM) \ | 37 | libkcal/Makefile$(PLATFORM) \ |
37 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ | 38 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ |
38 | kalarmd/Makefile$(PLATFORM) \ | 39 | kalarmd/Makefile$(PLATFORM) \ |
39 | libical/src/libical/Makefile$(PLATFORM) \ | 40 | libical/src/libical/Makefile$(PLATFORM) \ |