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
@@ -103,64 +103,68 @@ build_ldap_plugin: build_microkde
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