summaryrefslogtreecommitdiffabout
path: root/Makefile
authorzautrix <zautrix>2004-06-26 19:01:18 (UTC)
committer zautrix <zautrix>2004-06-26 19:01:18 (UTC)
commitb9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff)
tree2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /Makefile
downloadkdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2
Initial revision
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile75
1 files changed, 75 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d6d78bc
--- a/dev/null
+++ b/Makefile
@@ -0,0 +1,75 @@
1DISTPATH = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH))
3
4SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \
5 libkcal libkdepim kabc \
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 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
15
16clean:
17 rm -f libical/lib/$(PLATFORM)/*;
18 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
19 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
20 done
21install:
22 cd bin/kdepim; make install
23 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
24 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
25
26dist:
27 @echo Dont forget to do "make install" before "make dist"
28 rm -f *arm.ipk
29 rm -f *~
30 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim
31 mkipks kdepim.control
32 mkipks korganizer-alarm.control
33
34tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \
35 libkcal/Makefile$(PLATFORM) \
36 libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \
37 kalarmd/Makefile$(PLATFORM) \
38 libical/src/libical/Makefile$(PLATFORM) \
39 libical/src/libicalss/Makefile$(PLATFORM) \
40 kabc/Makefile$(PLATFORM) \
41 kaddressbook/Makefile$(PLATFORM)
42
43
44
45qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
46 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM)
47
48microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
49 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM)
50
51libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
52 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM)
53
54
55libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
56 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM)
57
58kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
59 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM)
60
61korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
62 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM)
63
64libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
65 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM)
66
67libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
68 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM)
69
70kabc/Makefile$(PLATFORM): kabc/kabcE.pro
71 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM)
72
73kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
74 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM)
75