summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
authorulf69 <ulf69>2004-08-12 17:09:11 (UTC)
committer ulf69 <ulf69>2004-08-12 17:09:11 (UTC)
commitafb21584fdb4dcc201fca13b4c5129fdf2e90154 (patch) (unidiff)
tree8db9ee9d00c8e1d432f3eed7c35be251932c4bd4 /Makefile.Embedded
parent945f620dd57338d5b920f4ada3ff8e9e8d1cfe74 (diff)
downloadkdepimpi-afb21584fdb4dcc201fca13b4c5129fdf2e90154.zip
kdepimpi-afb21584fdb4dcc201fca13b4c5129fdf2e90154.tar.gz
kdepimpi-afb21584fdb4dcc201fca13b4c5129fdf2e90154.tar.bz2
implemented new include strategy for makefiles
Diffstat (limited to 'Makefile.Embedded') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded10
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,14 +1,13 @@
1DISTPATH = $(shell pwd) 1export KDEPIMDIR = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH))
3 2
4 3
5ifeq ($(PLATFORM) , zaurus) 4ifeq ($(PLATFORM) , zaurus)
6 BUILD_NO_LDAP_PLUGIN=1 5 BUILD_NO_LDAP_PLUGIN=1
7endif 6endif
8 7
9ifneq ($(PLATFORM) , zaurus) 8ifneq ($(PLATFORM) , zaurus)
10 BUILD_NO_SHARP_PLUGIN=1 9 BUILD_NO_SHARP_PLUGIN=1
11endif 10endif
12 11
13SUBDIRS_MICROKDE = \ 12SUBDIRS_MICROKDE = \
14 libical/src/libical \ 13 libical/src/libical \
@@ -101,40 +100,45 @@ build_micromail: build_microkde
101 ifdef BUILD_NO_MICROMAIL 100 ifdef BUILD_NO_MICROMAIL
102 @echo ---> micromail not build. 101 @echo ---> micromail not build.
103 else 102 else
104 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ 103 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \
105 make -f Makefile$(PLATFORM) || exit 1; popd; \ 104 make -f Makefile$(PLATFORM) || exit 1; popd; \
106 done 105 done
107 endif 106 endif
108 107
109 108
110variable_info: 109variable_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)
119 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) 119 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN)
120 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 120 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
121 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 121 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
122 ifndef BUILD_NO_SHARP_PLUGIN 122 ifndef BUILD_NO_SHARP_PLUGIN
123 @echo SHARPDTMSDK=$(SHARPDTMSDK) 123 @echo SHARPDTMSDK=$(SHARPDTMSDK)
124 endif 124 endif
125 @echo -------------------------------------- 125 @echo --------------------------------------
126 126
127variable_test: variable_info 127variable_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)
135 endif 139 endif
136 ifdef BUILD_NO_OPIE_PLUGIN 140 ifdef BUILD_NO_OPIE_PLUGIN
137 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) 141 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN)
138 endif 142 endif
139 ifdef BUILD_NO_MICROMAIL 143 ifdef BUILD_NO_MICROMAIL
140 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) 144 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL)
@@ -147,25 +151,25 @@ variable_test: variable_info
147 $(error SHARPDTMSDK is not defined) 151 $(error SHARPDTMSDK is not defined)
148 endif 152 endif
149 endif 153 endif
150 @echo -------------------------------------- 154 @echo --------------------------------------
151 155
152 156
153objects: 157objects:
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
158clean: 162clean:
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
163install: 167install:
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
166 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 170 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
167 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 171 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
168 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop 172 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop
169 173
170dist: 174dist:
171 @echo Dont forget to do "make install" before "make dist" 175 @echo Dont forget to do "make install" before "make dist"