author | zautrix <zautrix> | 2004-07-08 11:20:17 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-08 11:20:17 (UTC) |
commit | 3f84322a2da502f95be386372da9f75ed17df574 (patch) (unidiff) | |
tree | 9a4ccd4568c38d60bb1efa7a6713f4d0914aae86 /Makefile | |
parent | 40cf8102d2f38b5e952b889ffbd19cb1d428fc9b (diff) | |
download | kdepimpi-3f84322a2da502f95be386372da9f75ed17df574.zip kdepimpi-3f84322a2da502f95be386372da9f75ed17df574.tar.gz kdepimpi-3f84322a2da502f95be386372da9f75ed17df574.tar.bz2 |
Fixes for resource plugin handling on wintendo
-rw-r--r-- | Makefile | 263 |
1 files changed, 117 insertions, 146 deletions
@@ -1,147 +1,118 @@ | |||
1 | ############################################################################# | 1 | DISTPATH = $(shell pwd) |
2 | # Makefile for building: kopi-desktop | 2 | DISTDIR = $(shell basename $(DISTPATH)) |
3 | # Generated by qmake (1.07a) (Qt 3.3.2) on: Wed Jul 7 14:00:48 2004 | 3 | |
4 | # Project: kopi-desktop.pro | 4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ |
5 | # Template: subdirs | 5 | libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ |
6 | # Command: $(QMAKE) "CONFIG+=thread" "CONFIG+=debug" -o Makefile kopi-desktop.pro | 6 | kabc/plugins/opie \ |
7 | ############################################################################# | 7 | korganizer kalarmd kaddressbook kmicromail/libetpan kmicromail/libmailwrapper kmicromail |
8 | 8 | all: tmake | |
9 | MAKEFILE =Makefile | 9 | for i in $(SUBDIRS); do pushd $$i; \ |
10 | QMAKE =qmake | 10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
11 | DEL_FILE = rm -f | 11 | done |
12 | CHK_DIR_EXISTS= test -d | 12 | |
13 | MKDIR = mkdir -p | 13 | objects: |
14 | INSTALL_FILE= | 14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
15 | INSTALL_DIR = | 15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
16 | SUBTARGETS = \ | 16 | mkdir -p libical/lib/$(PLATFORM) |
17 | sub-libical \ | 17 | |
18 | sub-libkcal \ | 18 | clean: |
19 | sub-microkde \ | 19 | rm -f libical/lib/$(PLATFORM)/*; |
20 | sub-libkdepim \ | 20 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
21 | sub-kabc \ | 21 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
22 | sub-korganizer \ | 22 | done |
23 | sub-kaddressbook \ | 23 | install: |
24 | sub-kabc-plugins-file \ | 24 | cd bin/kdepim; make install |
25 | sub-kabc-plugins-dir | 25 | cp db2file/db2file $(QPEDIR)/bin/db2file |
26 | 26 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | |
27 | first: all | 27 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
28 | 28 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | |
29 | all: Makefile $(SUBTARGETS) | 29 | |
30 | 30 | dist: | |
31 | libical/$(MAKEFILE): | 31 | @echo Dont forget to do "make install" before "make dist" |
32 | @$(CHK_DIR_EXISTS) "libical" || $(MKDIR) "libical" | 32 | rm -f *arm.ipk |
33 | cd libical && $(QMAKE) libical.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | 33 | rm -f *~ |
34 | sub-libical: libical/$(MAKEFILE) FORCE | 34 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
35 | cd libical && $(MAKE) -f $(MAKEFILE) | 35 | mkipks kmicrokdelibs.control |
36 | 36 | mkipks korganizer.control | |
37 | libkcal/$(MAKEFILE): | 37 | mkipks kaddressbook.control |
38 | @$(CHK_DIR_EXISTS) "libkcal" || $(MKDIR) "libkcal" | 38 | mkipks kopiemail.control |
39 | cd libkcal && $(QMAKE) libkcal.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | 39 | mkipks korganizer-alarm.control |
40 | sub-libkcal: libkcal/$(MAKEFILE) FORCE | 40 | |
41 | cd libkcal && $(MAKE) -f $(MAKEFILE) | 41 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ |
42 | 42 | libkcal/Makefile$(PLATFORM) \ | |
43 | microkde/$(MAKEFILE): | 43 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ |
44 | @$(CHK_DIR_EXISTS) "microkde" || $(MKDIR) "microkde" | 44 | kalarmd/Makefile$(PLATFORM) \ |
45 | cd microkde && $(QMAKE) microkde.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | 45 | libical/src/libical/Makefile$(PLATFORM) \ |
46 | sub-microkde: microkde/$(MAKEFILE) FORCE | 46 | libical/src/libicalss/Makefile$(PLATFORM) \ |
47 | cd microkde && $(MAKE) -f $(MAKEFILE) | 47 | kabc/Makefile$(PLATFORM) \ |
48 | 48 | kabc/converter/opie/Makefile$(PLATFORM) \ | |
49 | libkdepim/$(MAKEFILE): | 49 | kabc/formats/binary/Makefile$(PLATFORM) \ |
50 | @$(CHK_DIR_EXISTS) "libkdepim" || $(MKDIR) "libkdepim" | 50 | kabc/plugins/file/Makefile$(PLATFORM) \ |
51 | cd libkdepim && $(QMAKE) libkdepim.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | 51 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
52 | sub-libkdepim: libkdepim/$(MAKEFILE) FORCE | 52 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
53 | cd libkdepim && $(MAKE) -f $(MAKEFILE) | 53 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
54 | 54 | kaddressbook/Makefile$(PLATFORM) \ | |
55 | kabc/$(MAKEFILE): | 55 | kmicromail/Makefile$(PLATFORM) \ |
56 | @$(CHK_DIR_EXISTS) "kabc" || $(MKDIR) "kabc" | 56 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
57 | cd kabc && $(QMAKE) kabc.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | 57 | kmicromail/libmailwrapper/Makefile$(PLATFORM) |
58 | sub-kabc: kabc/$(MAKEFILE) FORCE | 58 | |
59 | cd kabc && $(MAKE) -f $(MAKEFILE) | 59 | |
60 | 60 | ||
61 | korganizer/$(MAKEFILE): | 61 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
62 | @$(CHK_DIR_EXISTS) "korganizer" || $(MKDIR) "korganizer" | 62 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
63 | cd korganizer && $(QMAKE) korganizer.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | 63 | |
64 | sub-korganizer: korganizer/$(MAKEFILE) FORCE | 64 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
65 | cd korganizer && $(MAKE) -f $(MAKEFILE) | 65 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
66 | 66 | ||
67 | kaddressbook/$(MAKEFILE): | 67 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
68 | @$(CHK_DIR_EXISTS) "kaddressbook" || $(MKDIR) "kaddressbook" | 68 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
69 | cd kaddressbook && $(QMAKE) kaddressbook.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | 69 | |
70 | sub-kaddressbook: kaddressbook/$(MAKEFILE) FORCE | 70 | |
71 | cd kaddressbook && $(MAKE) -f $(MAKEFILE) | 71 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
72 | 72 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) | |
73 | kabc/plugins/file/$(MAKEFILE): | 73 | |
74 | @$(CHK_DIR_EXISTS) "kabc/plugins/file" || $(MKDIR) "kabc/plugins/file" | 74 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
75 | cd kabc/plugins/file && $(QMAKE) file.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | 75 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
76 | sub-kabc-plugins-file: kabc/plugins/file/$(MAKEFILE) FORCE | 76 | |
77 | cd kabc/plugins/file && $(MAKE) -f $(MAKEFILE) | 77 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
78 | 78 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) | |
79 | kabc/plugins/dir/$(MAKEFILE): | 79 | |
80 | @$(CHK_DIR_EXISTS) "kabc/plugins/dir" || $(MKDIR) "kabc/plugins/dir" | 80 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
81 | cd kabc/plugins/dir && $(QMAKE) dir.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | 81 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
82 | sub-kabc-plugins-dir: kabc/plugins/dir/$(MAKEFILE) FORCE | 82 | |
83 | cd kabc/plugins/dir && $(MAKE) -f $(MAKEFILE) | 83 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
84 | 84 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | |
85 | Makefile: kopi-desktop.pro /usr/local/qtgcc/mkspecs/default/qmake.conf | 85 | |
86 | $(QMAKE) "CONFIG+=thread" "CONFIG+=debug" -o Makefile kopi-desktop.pro | 86 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
87 | qmake: qmake_all | 87 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
88 | @$(QMAKE) "CONFIG+=thread" "CONFIG+=debug" -o Makefile kopi-desktop.pro | 88 | |
89 | 89 | kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro | |
90 | all: $(SUBTARGETS) | 90 | cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM) |
91 | qmake_all: libical/$(MAKEFILE) libkcal/$(MAKEFILE) microkde/$(MAKEFILE) libkdepim/$(MAKEFILE) kabc/$(MAKEFILE) korganizer/$(MAKEFILE) kaddressbook/$(MAKEFILE) kabc/plugins/file/$(MAKEFILE) kabc/plugins/dir/$(MAKEFILE) | 91 | |
92 | ( [ -d libical ] && cd libical ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 92 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
93 | ( [ -d libkcal ] && cd libkcal ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 93 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
94 | ( [ -d microkde ] && cd microkde ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 94 | |
95 | ( [ -d libkdepim ] && cd libkdepim ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 95 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro |
96 | ( [ -d kabc ] && cd kabc ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 96 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) |
97 | ( [ -d korganizer ] && cd korganizer ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 97 | |
98 | ( [ -d kaddressbook ] && cd kaddressbook ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 98 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro |
99 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 99 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) |
100 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | 100 | |
101 | clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE | 101 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro |
102 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 102 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) |
103 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 103 | |
104 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 104 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro |
105 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 105 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) |
106 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 106 | |
107 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 107 | |
108 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 108 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
109 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 109 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
110 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; ) || true | 110 | |
111 | uninstall_subdirs: qmake_all FORCE | 111 | |
112 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | 112 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
113 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | 113 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) |
114 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | 114 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
115 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | 115 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) |
116 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | 116 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
117 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | 117 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) |
118 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
119 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
120 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
121 | install_subdirs: qmake_all FORCE | ||
122 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
123 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
124 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
125 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
126 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
127 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
128 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
129 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
130 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
131 | distclean: qmake_all FORCE | ||
132 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
133 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
134 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
135 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
136 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
137 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
138 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
139 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
140 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
141 | |||
142 | install: install_subdirs | ||
143 | |||
144 | uninstall: uninstall_subdirs | ||
145 | |||
146 | FORCE: | ||
147 | 118 | ||