author | ulf69 <ulf69> | 2004-08-12 17:09:11 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-12 17:09:11 (UTC) |
commit | afb21584fdb4dcc201fca13b4c5129fdf2e90154 (patch) (unidiff) | |
tree | 8db9ee9d00c8e1d432f3eed7c35be251932c4bd4 /Makefile.Embedded | |
parent | 945f620dd57338d5b920f4ada3ff8e9e8d1cfe74 (diff) | |
download | kdepimpi-afb21584fdb4dcc201fca13b4c5129fdf2e90154.zip kdepimpi-afb21584fdb4dcc201fca13b4c5129fdf2e90154.tar.gz kdepimpi-afb21584fdb4dcc201fca13b4c5129fdf2e90154.tar.bz2 |
implemented new include strategy for makefiles
-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,5 +1,4 @@ | |||
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) |
@@ -110,6 +109,7 @@ build_micromail: build_microkde | |||
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) |
@@ -126,6 +126,10 @@ variable_info: | |||
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) |
@@ -156,7 +160,7 @@ objects: | |||
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 |