-rw-r--r-- | Makefile.EmbeddedAll | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/Makefile.EmbeddedAll b/Makefile.EmbeddedAll new file mode 100644 index 0000000..cc4b553 --- a/dev/null +++ b/Makefile.EmbeddedAll | |||
@@ -0,0 +1,85 @@ | |||
1 | DISTPATH = $(shell pwd) | ||
2 | DISTDIR = $(shell basename $(DISTPATH)) | ||
3 | |||
4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ | ||
5 | libkcal libkdepim kabc libkabcwrap pluginqtopiakabc pluginopiekabc \ | ||
6 | korganizer kalarmd kaddressbook | ||
7 | all: tmake | ||
8 | for i in $(SUBDIRS); do pushd $$i; \ | ||
9 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | ||
10 | done | ||
11 | |||
12 | objects: | ||
13 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | ||
14 | |||
15 | clean: | ||
16 | for i in $(SUBDIRS); do pushd $$i; make clean; \ | ||
17 | rm -f obj/$(PLATFORM)/*; rm -f moc/*; rm Makefile$(PLATFORM); popd; \ | ||
18 | done | ||
19 | |||
20 | install: | ||
21 | cd bin/kdepimpi; make install | ||
22 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | ||
23 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | ||
24 | |||
25 | dist: | ||
26 | @echo Dont forget to do "make install" before "make dist" | ||
27 | cd ..; tar czf korge-dist.src.tgz --exclude=obj --exclude=moc $(DISTDIR) | ||
28 | tar czPf ../korge-dist.i386.tgz \ | ||
29 | /opt/Qtopia/bin/korganizer \ | ||
30 | /opt/Qtopia/apps/Applications/korganizer.desktop \ | ||
31 | /opt/Qtopia/pics/KOrganizer.png \ | ||
32 | /opt/Qtopia/pics/korganizer | ||
33 | |||
34 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ | ||
35 | libkcal/Makefile$(PLATFORM) \ | ||
36 | libkabcwrap/Makefile$(PLATFORM) \ | ||
37 | pluginqtopiakabc/Makefile$(PLATFORM) \ | ||
38 | pluginopiekabc/Makefile$(PLATFORM) \ | ||
39 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ | ||
40 | kalarmd/Makefile$(PLATFORM) \ | ||
41 | libical/src/libical/Makefile$(PLATFORM) \ | ||
42 | libical/src/libicalss/Makefile$(PLATFORM) \ | ||
43 | kabc/Makefile$(PLATFORM) \ | ||
44 | kaddressbook/Makefile$(PLATFORM) | ||
45 | |||
46 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | ||
47 | cd qtcompat; tmake qtcompat.pro -o Makefile$(PLATFORM) | ||
48 | |||
49 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | ||
50 | cd microkde; tmake microkdeE.pro -o Makefile$(PLATFORM) | ||
51 | |||
52 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | ||
53 | cd libkcal; tmake libkcalE.pro -o Makefile$(PLATFORM) | ||
54 | |||
55 | libkabcwrap/Makefile$(PLATFORM): libkabcwrap/libkabcwrapE.pro | ||
56 | cd libkabcwrap; tmake libkabcwrapE.pro -o Makefile$(PLATFORM) | ||
57 | |||
58 | pluginqtopiakabc/Makefile$(PLATFORM): pluginqtopiakabc/pluginqtopiakabcE.pro | ||
59 | cd pluginqtopiakabc; tmake pluginqtopiakabcE.pro -o Makefile$(PLATFORM) | ||
60 | |||
61 | pluginopiekabc/Makefile$(PLATFORM): pluginopiekabc/pluginopiekabcE.pro | ||
62 | cd pluginopiekabc; tmake pluginopiekabcE.pro -o Makefile$(PLATFORM) | ||
63 | |||
64 | |||
65 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | ||
66 | cd libkdepim; tmake libkdepimE.pro -o Makefile$(PLATFORM) | ||
67 | |||
68 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | ||
69 | cd kalarmd; tmake kalarmdE.pro -o Makefile$(PLATFORM) | ||
70 | |||
71 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | ||
72 | cd korganizer; tmake korganizerE.pro -o Makefile$(PLATFORM) | ||
73 | |||
74 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | ||
75 | cd libical/src/libical; tmake libicalE.pro -o Makefile$(PLATFORM) | ||
76 | |||
77 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | ||
78 | cd libical/src/libicalss; tmake libicalssE.pro -o Makefile$(PLATFORM) | ||
79 | |||
80 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | ||
81 | cd kabc; tmake kabcE.pro -o Makefile$(PLATFORM) | ||
82 | |||
83 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | ||
84 | cd kaddressbook; tmake kaddressbookE.pro -o Makefile$(PLATFORM) | ||
85 | |||