author | kergoth <kergoth> | 2003-02-11 18:32:58 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-02-11 18:32:58 (UTC) |
commit | fdeb607c2222e36bbf817114088317b15219af78 (patch) (unidiff) | |
tree | f3ad2d34ac9200e6ffe3fc03a2e1e45b0b6a4895 /Makefile | |
parent | 613ae8a0a9c82dea1332651ba4f4a8e2f06eee0b (diff) | |
download | opie-fdeb607c2222e36bbf817114088317b15219af78.zip opie-fdeb607c2222e36bbf817114088317b15219af78.tar.gz opie-fdeb607c2222e36bbf817114088317b15219af78.tar.bz2 |
Abort on QTDIR not set
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,25 +1,29 @@ | |||
1 | #!/usr/bin/make -f | 1 | #!/usr/bin/make -f |
2 | ifndef QTDIR | ||
3 | $(error QTDIR not set) | ||
4 | endif | ||
5 | |||
2 | export OPIEDIR:=$(shell pwd) | 6 | export OPIEDIR:=$(shell pwd) |
3 | export TOPDIR:=$(OPIEDIR) | 7 | export TOPDIR:=$(OPIEDIR) |
4 | export QMAKE:=$(OPIEDIR)/qmake/qmake | 8 | export QMAKE:=$(OPIEDIR)/qmake/qmake |
5 | 9 | ||
6 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs | 10 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
7 | 11 | ||
8 | noconfig_targets := xconfig menuconfig config oldconfig randconfig \ | 12 | noconfig_targets := xconfig menuconfig config oldconfig randconfig \ |
9 | defconfig allyesconfig allnoconfig allmodconfig \ | 13 | defconfig allyesconfig allnoconfig allmodconfig \ |
10 | clean-configs | 14 | clean-configs |
11 | 15 | ||
12 | configs += $(TOPDIR)/core/applets/config.in $(TOPDIR)/core/apps/config.in $(TOPDIR)/core/multimedia/config.in $(TOPDIR)/core/pim/config.in $(TOPDIR)/core/pim/today/plugins/config.in $(TOPDIR)/core/settings/config.in $(TOPDIR)/development/config.in $(TOPDIR)/inputmethods/config.in $(TOPDIR)/libopie/ofileselector/config.in $(TOPDIR)/libopie/pim/config.in $(TOPDIR)/libsql/config.in $(TOPDIR)/noncore/applets/config.in $(TOPDIR)/noncore/apps/opie-console/test/config.in $(TOPDIR)/noncore/apps/config.in $(TOPDIR)/noncore/comm/config.in $(TOPDIR)/noncore/decorations/config.in $(TOPDIR)/noncore/games/config.in $(TOPDIR)/noncore/graphics/config.in $(TOPDIR)/noncore/multimedia/config.in $(TOPDIR)/noncore/net/config.in $(TOPDIR)/noncore/net/opietooth/config.in $(TOPDIR)/noncore/settings/config.in $(TOPDIR)/noncore/styles/config.in $(TOPDIR)/noncore/tools/calc2/config.in $(TOPDIR)/noncore/tools/config.in $(TOPDIR)/noncore/unsupported/opiemail/ifaces/config.in $(TOPDIR)/noncore/unsupported/config.in $(TOPDIR)/noncore/todayplugins/config.in | 16 | configs += $(TOPDIR)/core/applets/config.in $(TOPDIR)/core/apps/config.in $(TOPDIR)/core/multimedia/config.in $(TOPDIR)/core/pim/config.in $(TOPDIR)/core/pim/today/plugins/config.in $(TOPDIR)/core/settings/config.in $(TOPDIR)/development/config.in $(TOPDIR)/inputmethods/config.in $(TOPDIR)/libopie/ofileselector/config.in $(TOPDIR)/libopie/pim/config.in $(TOPDIR)/libsql/config.in $(TOPDIR)/noncore/applets/config.in $(TOPDIR)/noncore/apps/opie-console/test/config.in $(TOPDIR)/noncore/apps/config.in $(TOPDIR)/noncore/comm/config.in $(TOPDIR)/noncore/decorations/config.in $(TOPDIR)/noncore/games/config.in $(TOPDIR)/noncore/graphics/config.in $(TOPDIR)/noncore/multimedia/config.in $(TOPDIR)/noncore/net/config.in $(TOPDIR)/noncore/net/opietooth/config.in $(TOPDIR)/noncore/settings/config.in $(TOPDIR)/noncore/styles/config.in $(TOPDIR)/noncore/tools/calc2/config.in $(TOPDIR)/noncore/tools/config.in $(TOPDIR)/noncore/unsupported/opiemail/ifaces/config.in $(TOPDIR)/noncore/unsupported/config.in $(TOPDIR)/noncore/todayplugins/config.in |
13 | 17 | ||
14 | # $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs) | 18 | # $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs) |
15 | # in order to have a full set of config.in files. | 19 | # in order to have a full set of config.in files. |
16 | # .depends depends on $(TOPDIR)/.config | 20 | # .depends depends on $(TOPDIR)/.config |
17 | # everything else depends on .depends, to ensure the dependencies are | 21 | # everything else depends on .depends, to ensure the dependencies are |
18 | # intact. | 22 | # intact. |
19 | # | 23 | # |
20 | # NOTE: The order in which things happen in this makefile is | 24 | # NOTE: The order in which things happen in this makefile is |
21 | # -critical-. Do not rearrange this! | 25 | # -critical-. Do not rearrange this! |
22 | 26 | ||
23 | all : $(TOPDIR)/.config | 27 | all : $(TOPDIR)/.config |
24 | 28 | ||
25 | $(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs | 29 | $(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs |