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