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) (side-by-side diff)
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) (show 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,5 +1,4 @@
-DISTPATH = $(shell pwd)
-DISTDIR = $(shell basename $(DISTPATH))
+export KDEPIMDIR = $(shell pwd)
ifeq ($(PLATFORM) , zaurus)
@@ -110,6 +109,7 @@ build_micromail: build_microkde
variable_info:
@echo --------------------------------------
@echo KDEPIM buildsystem, variableinfo...
+ @echo KDEPIMDIR=$(KDEPIMDIR)
@echo QTDIR=$(QTDIR)
@echo QPEDIR=$(QPEDIR)
@echo OPIEDIR=$(OPIEDIR)
@@ -126,6 +126,10 @@ variable_info:
variable_test: variable_info
@echo KDEPIM buildsystem, variablecheck...
+ ifndef KDEPIMDIR
+ @echo KDEPIMDIR is not defined.
+ $(error KDEPIMDIR is not defined)
+ endif
ifndef PLATFORM
@echo PLATFORM is not defined.
$(error PLATFORM is not defined)
@@ -156,7 +160,7 @@ objects:
mkdir -p libical/lib/$(PLATFORM)
clean:
- rm -f libical/lib/$(PLATFORM)/*;
+ rm -rf libical/lib/$(PLATFORM)/*;
for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
done