summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
Unidiff
Diffstat (limited to 'Makefile.Embedded') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 95bd2ae..0cc69ea 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -1,97 +1,109 @@
1DISTPATH = $(shell pwd) 1DISTPATH = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH)) 2DISTDIR = $(shell basename $(DISTPATH))
3 3
4SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ 4SUBDIRS = 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/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \
6 kabc/plugins/ldap kabc/plugins/opie \ 6 kabc/plugins/ldap kabc/plugins/opie \
7 korganizer kalarmd kaddressbook 7 korganizer kalarmd kaddressbook/xxport/opie kaddressbook
8all: tmake 8all: 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
13objects: 13objects:
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 mkdir -p libical/lib/$(PLATFORM)
17 17
18clean: 18clean:
19 rm -f libical/lib/$(PLATFORM)/*; 19 rm -f libical/lib/$(PLATFORM)/*;
20 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 20 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
21 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; \
22 done 22 done
23install: 23install:
24 cd bin/kdepim; make install 24 cd bin/kdepim; make install
25 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 25 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
26 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 26 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
27 27
28dist: 28dist:
29 @echo Dont forget to do "make install" before "make dist" 29 @echo Dont forget to do "make install" before "make dist"
30 rm -f *arm.ipk 30 rm -f *arm.ipk
31 rm -f *~ 31 rm -f *~
32 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
33 mkipks kdepim.control 33 mkipks kdepim.control
34 mkipks korganizer-alarm.control 34 mkipks korganizer-alarm.control
35 35
36tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ 36tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \
37 libkcal/Makefile$(PLATFORM) \ 37 libkcal/Makefile$(PLATFORM) \
38 libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ 38 libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \
39 kalarmd/Makefile$(PLATFORM) \ 39 kalarmd/Makefile$(PLATFORM) \
40 libical/src/libical/Makefile$(PLATFORM) \ 40 libical/src/libical/Makefile$(PLATFORM) \
41 libical/src/libicalss/Makefile$(PLATFORM) \ 41 libical/src/libicalss/Makefile$(PLATFORM) \
42 kabc/Makefile$(PLATFORM) \ 42 kabc/Makefile$(PLATFORM) \
43 kabc/converter/opie/Makefile$(PLATFORM) \
43 kabc/formats/binary/Makefile$(PLATFORM) \ 44 kabc/formats/binary/Makefile$(PLATFORM) \
44 kabc/plugins/file/Makefile$(PLATFORM) \ 45 kabc/plugins/file/Makefile$(PLATFORM) \
45 kabc/plugins/dir/Makefile$(PLATFORM) \ 46 kabc/plugins/dir/Makefile$(PLATFORM) \
46 kabc/plugins/ldap/Makefile$(PLATFORM) \ 47 kabc/plugins/ldap/Makefile$(PLATFORM) \
47 kabc/plugins/opie/Makefile$(PLATFORM) \ 48 kabc/plugins/opie/Makefile$(PLATFORM) \
49 kabc/plugins/qtopia/Makefile$(PLATFORM) \
50 kaddressbook/xxport/opie/Makefile$(PLATFORM) \
48 kaddressbook/Makefile$(PLATFORM) 51 kaddressbook/Makefile$(PLATFORM)
49 52
50 53
51 54
52qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 55qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
53 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) 56 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM)
54 57
55microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 58microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
56 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) 59 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM)
57 60
58libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 61libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
59 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) 62 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM)
60 63
61 64
62libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 65libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
63 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) 66 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM)
64 67
65kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 68kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
66 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) 69 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM)
67 70
68korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 71korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
69 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) 72 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM)
70 73
71libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 74libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
72 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) 75 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM)
73 76
74libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 77libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
75 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) 78 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM)
76 79
77kabc/Makefile$(PLATFORM): kabc/kabcE.pro 80kabc/Makefile$(PLATFORM): kabc/kabcE.pro
78 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) 81 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM)
79 82
83kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro
84 cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM)
85
80kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 86kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro
81 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) 87 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM)
82 88
83kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro 89kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro
84 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) 90 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM)
85 91
86kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro 92kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro
87 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) 93 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM)
88 94
89kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro 95kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro
90 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) 96 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM)
91 97
92kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro 98kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro
93 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) 99 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM)
100
101kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/kabc_qtopiaE.pro
102 cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_qtopiaE.pro -o Makefile$(PLATFORM)
103
104kaddressbook/xxport/opie/Makefile$(PLATFORM): kaddressbook/xxport/opie/opie_xxportE.pro
105 cd kaddressbook/xxport/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opie_xxportE.pro -o Makefile$(PLATFORM)
94 106
95kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 107kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
96 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) 108 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM)
97 109