summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-07-20 21:24:21 (UTC)
committer ulf69 <ulf69>2004-07-20 21:24:21 (UTC)
commitfba0c028ac0ce15d0f7473439e025c56f108145e (patch) (unidiff)
tree0083bc96ac335f52d0d346f51737112652ca5b9f
parent94636524739ecaa2206ca2cace3c460010df3a18 (diff)
downloadkdepimpi-fba0c028ac0ce15d0f7473439e025c56f108145e.zip
kdepimpi-fba0c028ac0ce15d0f7473439e025c56f108145e.tar.gz
kdepimpi-fba0c028ac0ce15d0f7473439e025c56f108145e.tar.bz2
check if PLATFORM is defined
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 7777a19..826e70e 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -71,128 +71,132 @@ build_microkde: variable_test tmake
71 done 71 done
72 72
73build_qtopia_plugin: build_microkde 73build_qtopia_plugin: build_microkde
74 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ 74 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \
75 make -f Makefile$(PLATFORM) || exit 1; popd; \ 75 make -f Makefile$(PLATFORM) || exit 1; popd; \
76 done 76 done
77 77
78build_opie_plugin: build_microkde 78build_opie_plugin: build_microkde
79 ifdef BUILD_NO_OPIE_PLUGIN 79 ifdef BUILD_NO_OPIE_PLUGIN
80 @echo ---> opie plugin not build. 80 @echo ---> opie plugin not build.
81 else 81 else
82 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ 82 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \
83 make -f Makefile$(PLATFORM) || exit 1; popd; \ 83 make -f Makefile$(PLATFORM) || exit 1; popd; \
84 done 84 done
85 endif 85 endif
86 86
87build_sharp_plugin: build_microkde 87build_sharp_plugin: build_microkde
88 ifdef BUILD_NO_SHARP_PLUGIN 88 ifdef BUILD_NO_SHARP_PLUGIN
89 @echo ---> ldap plugin not build. 89 @echo ---> ldap plugin not build.
90 else 90 else
91 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ 91 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \
92 make -f Makefile$(PLATFORM) || exit 1; popd; \ 92 make -f Makefile$(PLATFORM) || exit 1; popd; \
93 done 93 done
94 endif 94 endif
95 95
96build_ldap_plugin: build_microkde 96build_ldap_plugin: build_microkde
97 ifdef BUILD_NO_LDAP_PLUGIN 97 ifdef BUILD_NO_LDAP_PLUGIN
98 @echo ---> ldap plugin not build. 98 @echo ---> ldap plugin not build.
99 else 99 else
100 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ 100 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \
101 make -f Makefile$(PLATFORM) || exit 1; popd; \ 101 make -f Makefile$(PLATFORM) || exit 1; popd; \
102 done 102 done
103 endif 103 endif
104 104
105 105
106build_micromail: build_microkde 106build_micromail: build_microkde
107 ifdef BUILD_NO_MICROMAIL 107 ifdef BUILD_NO_MICROMAIL
108 @echo ---> micromail not build. 108 @echo ---> micromail not build.
109 else 109 else
110 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ 110 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \
111 make -f Makefile$(PLATFORM) || exit 1; popd; \ 111 make -f Makefile$(PLATFORM) || exit 1; popd; \
112 done 112 done
113 endif 113 endif
114 114
115 115
116variable_info: 116variable_info:
117 @echo -------------------------------------- 117 @echo --------------------------------------
118 @echo KDEPIM buildsystem, variableinfo... 118 @echo KDEPIM buildsystem, variableinfo...
119 @echo QTDIR=$(QTDIR) 119 @echo QTDIR=$(QTDIR)
120 @echo QPEDIR=$(QPEDIR) 120 @echo QPEDIR=$(QPEDIR)
121 @echo OPIEDIR=$(OPIEDIR) 121 @echo OPIEDIR=$(OPIEDIR)
122 @echo PLATFORM=$(PLATFORM) 122 @echo PLATFORM=$(PLATFORM)
123 @echo RELEASE_DEBUG=$(RELEASE_DEBUG) 123 @echo RELEASE_DEBUG=$(RELEASE_DEBUG)
124 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) 124 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL)
125 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) 125 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN)
126 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 126 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
127 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 127 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
128 ifndef BUILD_NO_SHARP_PLUGIN 128 ifndef BUILD_NO_SHARP_PLUGIN
129 @echo SHARPDTMSDK=$(SHARPDTMSDK) 129 @echo SHARPDTMSDK=$(SHARPDTMSDK)
130 endif 130 endif
131 @echo -------------------------------------- 131 @echo --------------------------------------
132 132
133variable_test: variable_info 133variable_test: variable_info
134 @echo KDEPIM buildsystem, variablecheck... 134 @echo KDEPIM buildsystem, variablecheck...
135 ifndef PLATFORM
136 @echo PLATFORM is not defined.
137 $(error PLATFORM is not defined)
138 endif
135 ifdef BUILD_NO_LDAP_PLUGIN 139 ifdef BUILD_NO_LDAP_PLUGIN
136 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) 140 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN)
137 endif 141 endif
138 ifdef BUILD_NO_OPIE_PLUGIN 142 ifdef BUILD_NO_OPIE_PLUGIN
139 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) 143 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN)
140 endif 144 endif
141 ifdef BUILD_NO_MICROMAIL 145 ifdef BUILD_NO_MICROMAIL
142 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) 146 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL)
143 endif 147 endif
144 ifdef BUILD_NO_SHARP_PLUGIN 148 ifdef BUILD_NO_SHARP_PLUGIN
145 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) 149 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
146 else 150 else
147 ifndef SHARPDTMSDK 151 ifndef SHARPDTMSDK
148 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) 152 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
149 $(error SHARPDTMSDK is not defined) 153 $(error SHARPDTMSDK is not defined)
150 endif 154 endif
151 endif 155 endif
152 @echo -------------------------------------- 156 @echo --------------------------------------
153 157
154 158
155objects: 159objects:
156 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 160 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
157 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 161 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
158 mkdir -p libical/lib/$(PLATFORM) 162 mkdir -p libical/lib/$(PLATFORM)
159 163
160clean: 164clean:
161 rm -f libical/lib/$(PLATFORM)/*; 165 rm -f libical/lib/$(PLATFORM)/*;
162 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 166 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
163 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 167 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
164 done 168 done
165install: 169install:
166 cd bin/kdepim; make install 170 cd bin/kdepim; make install
167 cp db2file/db2file $(QPEDIR)/bin/db2file 171 cp db2file/db2file $(QPEDIR)/bin/db2file
168 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 172 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
169 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 173 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
170 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop 174 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop
171 175
172dist: 176dist:
173 @echo Dont forget to do "make install" before "make dist" 177 @echo Dont forget to do "make install" before "make dist"
174 rm -f *arm.ipk 178 rm -f *arm.ipk
175 rm -f *~ 179 rm -f *~
176 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim 180 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim
177 ./mkipks kmicrokdelibs.control 181 ./mkipks kmicrokdelibs.control
178 ./mkipks korganizer.control 182 ./mkipks korganizer.control
179 ./mkipks kaddressbook.control 183 ./mkipks kaddressbook.control
180 ifndef BUILD_NO_MICROMAIL 184 ifndef BUILD_NO_MICROMAIL
181 ./mkipks kopiemail.control 185 ./mkipks kopiemail.control
182 endif 186 endif
183 ./mkipks korganizer-alarm.control 187 ./mkipks korganizer-alarm.control
184 188
185tmake: objects \ 189tmake: objects \
186 qtcompat/Makefile$(PLATFORM) \ 190 qtcompat/Makefile$(PLATFORM) \
187 microkde/Makefile$(PLATFORM) \ 191 microkde/Makefile$(PLATFORM) \
188 libkcal/Makefile$(PLATFORM) \ 192 libkcal/Makefile$(PLATFORM) \
189 libkdepim/Makefile$(PLATFORM) \ 193 libkdepim/Makefile$(PLATFORM) \
190 korganizer/Makefile$(PLATFORM) \ 194 korganizer/Makefile$(PLATFORM) \
191 kalarmd/Makefile$(PLATFORM) \ 195 kalarmd/Makefile$(PLATFORM) \
192 libical/src/libical/Makefile$(PLATFORM) \ 196 libical/src/libical/Makefile$(PLATFORM) \
193 libical/src/libicalss/Makefile$(PLATFORM) \ 197 libical/src/libicalss/Makefile$(PLATFORM) \
194 kabc/Makefile$(PLATFORM) \ 198 kabc/Makefile$(PLATFORM) \
195 kabc/converter/opie/Makefile$(PLATFORM) \ 199 kabc/converter/opie/Makefile$(PLATFORM) \
196 kabc/converter/qtopia/Makefile$(PLATFORM) \ 200 kabc/converter/qtopia/Makefile$(PLATFORM) \
197 kabc/converter/sharpdtm/Makefile$(PLATFORM) \ 201 kabc/converter/sharpdtm/Makefile$(PLATFORM) \
198 kabc/formats/binary/Makefile$(PLATFORM) \ 202 kabc/formats/binary/Makefile$(PLATFORM) \