summaryrefslogtreecommitdiffabout
path: root/Makefile.EmbeddedAll
Unidiff
Diffstat (limited to 'Makefile.EmbeddedAll') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.EmbeddedAll85
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 @@
1DISTPATH = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH))
3
4SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \
5 libkcal libkdepim kabc libkabcwrap pluginqtopiakabc pluginopiekabc \
6 korganizer kalarmd kaddressbook
7all: tmake
8 for i in $(SUBDIRS); do pushd $$i; \
9 make -f Makefile$(PLATFORM) || exit 1; popd; \
10 done
11
12objects:
13 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
14
15clean:
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
20install:
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
25dist:
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
34tmake: 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
46qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
47 cd qtcompat; tmake qtcompat.pro -o Makefile$(PLATFORM)
48
49microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
50 cd microkde; tmake microkdeE.pro -o Makefile$(PLATFORM)
51
52libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
53 cd libkcal; tmake libkcalE.pro -o Makefile$(PLATFORM)
54
55libkabcwrap/Makefile$(PLATFORM): libkabcwrap/libkabcwrapE.pro
56 cd libkabcwrap; tmake libkabcwrapE.pro -o Makefile$(PLATFORM)
57
58pluginqtopiakabc/Makefile$(PLATFORM): pluginqtopiakabc/pluginqtopiakabcE.pro
59 cd pluginqtopiakabc; tmake pluginqtopiakabcE.pro -o Makefile$(PLATFORM)
60
61pluginopiekabc/Makefile$(PLATFORM): pluginopiekabc/pluginopiekabcE.pro
62 cd pluginopiekabc; tmake pluginopiekabcE.pro -o Makefile$(PLATFORM)
63
64
65libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
66 cd libkdepim; tmake libkdepimE.pro -o Makefile$(PLATFORM)
67
68kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
69 cd kalarmd; tmake kalarmdE.pro -o Makefile$(PLATFORM)
70
71korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
72 cd korganizer; tmake korganizerE.pro -o Makefile$(PLATFORM)
73
74libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
75 cd libical/src/libical; tmake libicalE.pro -o Makefile$(PLATFORM)
76
77libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
78 cd libical/src/libicalss; tmake libicalssE.pro -o Makefile$(PLATFORM)
79
80kabc/Makefile$(PLATFORM): kabc/kabcE.pro
81 cd kabc; tmake kabcE.pro -o Makefile$(PLATFORM)
82
83kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
84 cd kaddressbook; tmake kaddressbookE.pro -o Makefile$(PLATFORM)
85