|
diff --git a/Makefile b/Makefile index 463e636..52894ce 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -1,40 +1,40 @@ |
1 | #!/usr/bin/make -f |
1 | #!/usr/bin/make -f |
2 | ifndef QTDIR |
2 | ifndef QTDIR |
3 | $(error QTDIR not set) |
3 | $(error QTDIR not set) |
4 | endif |
4 | endif |
5 | |
5 | |
6 | export OPIEDIR:=$(shell pwd) |
6 | export OPIEDIR:=$(shell pwd) |
7 | export TOPDIR:=$(OPIEDIR) |
7 | export TOPDIR:=$(OPIEDIR) |
8 | export QMAKE:=$(OPIEDIR)/qmake/qmake |
8 | export QMAKE:=$(OPIEDIR)/qmake/qmake |
9 | |
9 | |
10 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
10 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
11 | |
11 | |
12 | noconfig_targets := xconfig menuconfig config oldconfig randconfig \ |
12 | noconfig_targets := xconfig menuconfig config oldconfig randconfig \ |
13 | defconfig allyesconfig allnoconfig allmodconfig \ |
13 | defconfig allyesconfig allnoconfig allmodconfig \ |
14 | clean-configs |
14 | clean-configs |
15 | |
15 | |
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 |
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/todayplugins/config.in |
17 | |
17 | |
18 | # $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs) |
18 | # $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs) |
19 | # in order to have a full set of config.in files. |
19 | # in order to have a full set of config.in files. |
20 | # .depends depends on $(TOPDIR)/.config |
20 | # .depends depends on $(TOPDIR)/.config |
21 | # everything else depends on .depends, to ensure the dependencies are |
21 | # everything else depends on .depends, to ensure the dependencies are |
22 | # intact. |
22 | # intact. |
23 | # |
23 | # |
24 | # NOTE: The order in which things happen in this makefile is |
24 | # NOTE: The order in which things happen in this makefile is |
25 | # -critical-. Do not rearrange this! |
25 | # -critical-. Do not rearrange this! |
26 | |
26 | |
27 | all : $(TOPDIR)/.config |
27 | all : $(TOPDIR)/.config |
28 | |
28 | |
29 | $(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs |
29 | $(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs |
30 | |
30 | |
31 | all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends.cfgs |
31 | all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends.cfgs |
32 | |
32 | |
33 | clean-configs : |
33 | clean-configs : |
34 | @echo "Wiping generated config.in files..." |
34 | @echo "Wiping generated config.in files..." |
35 | @-rm -f $(configs) |
35 | @-rm -f $(configs) |
36 | |
36 | |
37 | -include $(TOPDIR)/.depends.cfgs |
37 | -include $(TOPDIR)/.depends.cfgs |
38 | |
38 | |
39 | all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs) |
39 | all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs) |
40 | |
40 | |
|