summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-02-11 18:32:58 (UTC)
committer kergoth <kergoth>2003-02-11 18:32:58 (UTC)
commitfdeb607c2222e36bbf817114088317b15219af78 (patch) (unidiff)
treef3ad2d34ac9200e6ffe3fc03a2e1e45b0b6a4895
parent613ae8a0a9c82dea1332651ba4f4a8e2f06eee0b (diff)
downloadopie-fdeb607c2222e36bbf817114088317b15219af78.zip
opie-fdeb607c2222e36bbf817114088317b15219af78.tar.gz
opie-fdeb607c2222e36bbf817114088317b15219af78.tar.bz2
Abort on QTDIR not set
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 685d213..463e636 100644
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,29 @@
1#!/usr/bin/make -f 1#!/usr/bin/make -f
2ifndef QTDIR
3$(error QTDIR not set)
4endif
5
2export OPIEDIR:=$(shell pwd) 6export OPIEDIR:=$(shell pwd)
3export TOPDIR:=$(OPIEDIR) 7export TOPDIR:=$(OPIEDIR)
4export QMAKE:=$(OPIEDIR)/qmake/qmake 8export QMAKE:=$(OPIEDIR)/qmake/qmake
5 9
6export QMAKESPECSDIR=$(OPIEDIR)/mkspecs 10export QMAKESPECSDIR=$(OPIEDIR)/mkspecs
7 11
8noconfig_targets := xconfig menuconfig config oldconfig randconfig \ 12noconfig_targets := xconfig menuconfig config oldconfig randconfig \
9 defconfig allyesconfig allnoconfig allmodconfig \ 13 defconfig allyesconfig allnoconfig allmodconfig \
10 clean-configs 14 clean-configs
11 15
12configs += $(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 16configs += $(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
23all : $(TOPDIR)/.config 27all : $(TOPDIR)/.config
24 28
25$(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs 29$(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs