summaryrefslogtreecommitdiffabout
Unidiff
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
@@ -87,96 +87,100 @@ build_opie_plugin: build_microkde
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