-rw-r--r-- | Makefile.Embedded | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index aaba10a..3160017 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -1,108 +1,114 @@ | |||
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/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ | 5 | libkcal libkdepim kabc kabc/converter/opie kabc/converter/qtopia kabc/formats/binary \ |
6 | kabc/plugins/file kabc/plugins/dir \ | ||
6 | kabc/plugins/ldap kabc/plugins/opie kabc/plugins/qtopia \ | 7 | kabc/plugins/ldap kabc/plugins/opie kabc/plugins/qtopia \ |
7 | korganizer kalarmd kaddressbook/xxport/opie kaddressbook | 8 | korganizer kalarmd kaddressbook/xxport/opie kaddressbook |
8 | all: tmake | 9 | all: tmake |
9 | for i in $(SUBDIRS); do pushd $$i; \ | 10 | for i in $(SUBDIRS); do pushd $$i; \ |
10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 11 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
11 | done | 12 | done |
12 | 13 | ||
13 | objects: | 14 | objects: |
14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 15 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 16 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
16 | mkdir -p libical/lib/$(PLATFORM) | 17 | mkdir -p libical/lib/$(PLATFORM) |
17 | 18 | ||
18 | clean: | 19 | clean: |
19 | rm -f libical/lib/$(PLATFORM)/*; | 20 | rm -f libical/lib/$(PLATFORM)/*; |
20 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 21 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
21 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 22 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
22 | done | 23 | done |
23 | install: | 24 | install: |
24 | cd bin/kdepim; make install | 25 | cd bin/kdepim; make install |
25 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 26 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
26 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 27 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
27 | 28 | ||
28 | dist: | 29 | dist: |
29 | @echo Dont forget to do "make install" before "make dist" | 30 | @echo Dont forget to do "make install" before "make dist" |
30 | rm -f *arm.ipk | 31 | rm -f *arm.ipk |
31 | rm -f *~ | 32 | rm -f *~ |
32 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | 33 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
33 | mkipks kdepim.control | 34 | mkipks kdepim.control |
34 | mkipks korganizer-alarm.control | 35 | mkipks korganizer-alarm.control |
35 | 36 | ||
36 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ | 37 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ |
37 | libkcal/Makefile$(PLATFORM) \ | 38 | libkcal/Makefile$(PLATFORM) \ |
38 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ | 39 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ |
39 | kalarmd/Makefile$(PLATFORM) \ | 40 | kalarmd/Makefile$(PLATFORM) \ |
40 | libical/src/libical/Makefile$(PLATFORM) \ | 41 | libical/src/libical/Makefile$(PLATFORM) \ |
41 | libical/src/libicalss/Makefile$(PLATFORM) \ | 42 | libical/src/libicalss/Makefile$(PLATFORM) \ |
42 | kabc/Makefile$(PLATFORM) \ | 43 | kabc/Makefile$(PLATFORM) \ |
43 | kabc/converter/opie/Makefile$(PLATFORM) \ | 44 | kabc/converter/opie/Makefile$(PLATFORM) \ |
45 | kabc/converter/qtopia/Makefile$(PLATFORM) \ | ||
44 | kabc/formats/binary/Makefile$(PLATFORM) \ | 46 | kabc/formats/binary/Makefile$(PLATFORM) \ |
45 | kabc/plugins/file/Makefile$(PLATFORM) \ | 47 | kabc/plugins/file/Makefile$(PLATFORM) \ |
46 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 48 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
47 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 49 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
48 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 50 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
49 | kabc/plugins/qtopia/Makefile$(PLATFORM) kaddressbook/xxport/opie/Makefile$(PLATFORM) \ | 51 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
52 | kaddressbook/xxport/opie/Makefile$(PLATFORM) \ | ||
50 | kaddressbook/Makefile$(PLATFORM) | 53 | kaddressbook/Makefile$(PLATFORM) |
51 | 54 | ||
52 | 55 | ||
53 | 56 | ||
54 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 57 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
55 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 58 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
56 | 59 | ||
57 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 60 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
58 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | 61 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
59 | 62 | ||
60 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 63 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
61 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) | 64 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
62 | 65 | ||
63 | 66 | ||
64 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 67 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
65 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) | 68 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) |
66 | 69 | ||
67 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 70 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
68 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) | 71 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
69 | 72 | ||
70 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 73 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
71 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) | 74 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
72 | 75 | ||
73 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 76 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
74 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) | 77 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
75 | 78 | ||
76 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 79 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
77 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | 80 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
78 | 81 | ||
79 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 82 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
80 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) | 83 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
81 | 84 | ||
82 | kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro | 85 | kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieE.pro |
83 | cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM) | 86 | cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) |
84 | 87 | ||
88 | kabc/converter/qtopia/Makefile$(PLATFORM): kabc/converter/qtopia/qtopiaE.pro | ||
89 | cd kabc/converter/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) | ||
90 | |||
85 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 91 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
86 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 92 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
87 | 93 | ||
88 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | 94 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
89 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) | 95 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) |
90 | 96 | ||
91 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro | 97 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro |
92 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) | 98 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) |
93 | 99 | ||
94 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro | 100 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro |
95 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) | 101 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) |
96 | 102 | ||
97 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro | 103 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro |
98 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | 104 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) |
99 | 105 | ||
100 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro | 106 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro |
101 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) | 107 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) |
102 | 108 | ||
103 | kaddressbook/xxport/opie/Makefile$(PLATFORM): kaddressbook/xxport/opie/opieE.pro | 109 | kaddressbook/xxport/opie/Makefile$(PLATFORM): kaddressbook/xxport/opie/opieE.pro |
104 | cd kaddressbook/xxport/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | 110 | cd kaddressbook/xxport/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) |
105 | 111 | ||
106 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | 112 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
107 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) | 113 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
108 | 114 | ||