|
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 |
| |
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 |
|