-rw-r--r-- | Makefile.Embedded | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index 38fd000..9b55ecf 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -1,8 +1,7 @@ | |||
1 | DISTPATH = $(shell pwd) | 1 | export KDEPIMDIR = $(shell pwd) |
2 | DISTDIR = $(shell basename $(DISTPATH)) | ||
3 | 2 | ||
4 | 3 | ||
5 | ifeq ($(PLATFORM) , zaurus) | 4 | ifeq ($(PLATFORM) , zaurus) |
6 | BUILD_NO_LDAP_PLUGIN=1 | 5 | BUILD_NO_LDAP_PLUGIN=1 |
7 | endif | 6 | endif |
8 | 7 | ||
@@ -107,12 +106,13 @@ build_micromail: build_microkde | |||
107 | endif | 106 | endif |
108 | 107 | ||
109 | 108 | ||
110 | variable_info: | 109 | variable_info: |
111 | @echo -------------------------------------- | 110 | @echo -------------------------------------- |
112 | @echo KDEPIM buildsystem, variableinfo... | 111 | @echo KDEPIM buildsystem, variableinfo... |
112 | @echo KDEPIMDIR=$(KDEPIMDIR) | ||
113 | @echo QTDIR=$(QTDIR) | 113 | @echo QTDIR=$(QTDIR) |
114 | @echo QPEDIR=$(QPEDIR) | 114 | @echo QPEDIR=$(QPEDIR) |
115 | @echo OPIEDIR=$(OPIEDIR) | 115 | @echo OPIEDIR=$(OPIEDIR) |
116 | @echo PLATFORM=$(PLATFORM) | 116 | @echo PLATFORM=$(PLATFORM) |
117 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) | 117 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) |
118 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | 118 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) |
@@ -123,12 +123,16 @@ variable_info: | |||
123 | @echo SHARPDTMSDK=$(SHARPDTMSDK) | 123 | @echo SHARPDTMSDK=$(SHARPDTMSDK) |
124 | endif | 124 | endif |
125 | @echo -------------------------------------- | 125 | @echo -------------------------------------- |
126 | 126 | ||
127 | variable_test: variable_info | 127 | variable_test: variable_info |
128 | @echo KDEPIM buildsystem, variablecheck... | 128 | @echo KDEPIM buildsystem, variablecheck... |
129 | ifndef KDEPIMDIR | ||
130 | @echo KDEPIMDIR is not defined. | ||
131 | $(error KDEPIMDIR is not defined) | ||
132 | endif | ||
129 | ifndef PLATFORM | 133 | ifndef PLATFORM |
130 | @echo PLATFORM is not defined. | 134 | @echo PLATFORM is not defined. |
131 | $(error PLATFORM is not defined) | 135 | $(error PLATFORM is not defined) |
132 | endif | 136 | endif |
133 | ifdef BUILD_NO_LDAP_PLUGIN | 137 | ifdef BUILD_NO_LDAP_PLUGIN |
134 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) | 138 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) |
@@ -153,13 +157,13 @@ variable_test: variable_info | |||
153 | objects: | 157 | objects: |
154 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 158 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
155 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 159 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
156 | mkdir -p libical/lib/$(PLATFORM) | 160 | mkdir -p libical/lib/$(PLATFORM) |
157 | 161 | ||
158 | clean: | 162 | clean: |
159 | rm -f libical/lib/$(PLATFORM)/*; | 163 | rm -rf libical/lib/$(PLATFORM)/*; |
160 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 164 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
161 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 165 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
162 | done | 166 | done |
163 | install: | 167 | install: |
164 | cd bin/kdepim; make install | 168 | cd bin/kdepim; make install |
165 | cp db2file/db2file $(QPEDIR)/bin/db2file | 169 | cp db2file/db2file $(QPEDIR)/bin/db2file |