summaryrefslogtreecommitdiff
path: root/Makefile.test
Unidiff
Diffstat (limited to 'Makefile.test') (more/less context) (show whitespace changes)
-rw-r--r--Makefile.test53
1 files changed, 21 insertions, 32 deletions
diff --git a/Makefile.test b/Makefile.test
index 526aa5d..3311cde 100644
--- a/Makefile.test
+++ b/Makefile.test
@@ -7,20 +7,5 @@ export QMAKESPEC=$(QMAKESPECSDIR)/qws/linux-generic-g++
7 7
8# The following are config.in's which are generated, to avoid numerous manual edits when 8all :
9# adding packages to the build.
10#
11# NOTE: There currently exists a bug regarding this, the toplevel config.in -must- be created
12# -after- the lower level config.ins, as makecfg.pl does a find for config.in files!
13#
14# solution: generate this list and stuff into .depends, and also
15# generate config.in interdependencies (i.e. topdir config.in depends on
16# config.ins within dirs below it. dependencies are solely dir structure
17# driven)
18 9
19configs = $(TOPDIR)/x11/ipc/server/config.in $(TOPDIR)/x11/ipc/config.in $(TOPDIR)/x11/config.in $(TOPDIR)/noncore/unsupported/opiemail/ifaces/config.in $(TOPDIR)/noncore/unsupported/config.in $(TOPDIR)/noncore/tools/config.in $(TOPDIR)/noncore/tools/calc2/config.in $(TOPDIR)/noncore/todayplugins/config.in $(TOPDIR)/noncore/styles/config.in $(TOPDIR)/noncore/settings/config.in $(TOPDIR)/noncore/net/opietooth/config.in $(TOPDIR)/noncore/net/config.in $(TOPDIR)/noncore/multimedia/config.in $(TOPDIR)/noncore/graphics/config.in $(TOPDIR)/noncore/games/config.in $(TOPDIR)/noncore/decorations/config.in $(TOPDIR)/noncore/config.in $(TOPDIR)/noncore/comm/config.in $(TOPDIR)/noncore/apps/config.in $(TOPDIR)/noncore/applets/config.in $(TOPDIR)/libsql/config.in $(TOPDIR)/libopie/pim/config.in $(TOPDIR)/libopie/ofileselector/config.in $(TOPDIR)/inputmethods/config.in $(TOPDIR)/development/config.in $(TOPDIR)/core/settings/config.in $(TOPDIR)/core/pim/today/plugins/config.in $(TOPDIR)/core/pim/config.in $(TOPDIR)/core/multimedia/config.in $(TOPDIR)/core/config.in $(TOPDIR)/core/apps/config.in $(TOPDIR)/core/applets/restartapplet2/config.in $(TOPDIR)/core/applets/config.in $(TOPDIR)/config.in 10clean-configs : $(TOPDIR)/.depends
20
21all : configs
22
23configs : $(shell echo $(configs) | sort -r)
24
25clean-configs :
26 @echo "Wiping generated config.in files..." 11 @echo "Wiping generated config.in files..."
@@ -28,8 +13,17 @@ clean-configs :
28 13
29./.config: 14-include $(TOPDIR)/.config
15-include $(TOPDIR)/..config.cmd
16-include $(TOPDIR)/.depends
17
18all : $(TOPDIR)/.depends $(configs) $(subdir-y)
19
20./.config: $(configs)
30 $(call descend,scripts/kconfig,conf) 21 $(call descend,scripts/kconfig,conf)
31 @$(MAKE) -C scripts/kconfig conf 22 @if [ ! -e $@ ]; then \
23 cp $(TOPDIR)/def-configs/opie $@; \
24 fi;
25 @$(MAKE) -C scripts/kconfig conf;
32 ./scripts/kconfig/conf -s ./config.in 26 ./scripts/kconfig/conf -s ./config.in
33 27
34xconfig: 28xconfig: $(configs)
35 $(call descend,scripts/kconfig,qconf) 29 $(call descend,scripts/kconfig,qconf)
@@ -37,3 +31,3 @@ xconfig:
37 31
38menuconfig: scripts/lxdialog/lxdialog 32menuconfig: $(configs) scripts/lxdialog/lxdialog
39 $(call descend,scripts/kconfig,mconf) 33 $(call descend,scripts/kconfig,mconf)
@@ -41,3 +35,3 @@ menuconfig: scripts/lxdialog/lxdialog
41 35
42config: 36config: $(configs)
43 $(call descend,scripts/kconfig,conf) 37 $(call descend,scripts/kconfig,conf)
@@ -45,3 +39,3 @@ config:
45 39
46oldconfig: 40oldconfig: $(configs)
47 $(call descend,scripts/kconfig,conf) 41 $(call descend,scripts/kconfig,conf)
@@ -49,3 +43,3 @@ oldconfig:
49 43
50randconfig: 44randconfig: $(configs)
51 $(call descend,scripts/kconfig,conf) 45 $(call descend,scripts/kconfig,conf)
@@ -53,3 +47,3 @@ randconfig:
53 47
54allyesconfig: 48allyesconfig: $(configs)
55 $(call descend,scripts/kconfig,conf) 49 $(call descend,scripts/kconfig,conf)
@@ -57,3 +51,3 @@ allyesconfig:
57 51
58allnoconfig: 52allnoconfig: $(configs)
59 $(call descend,scripts/kconfig,conf) 53 $(call descend,scripts/kconfig,conf)
@@ -61,3 +55,3 @@ allnoconfig:
61 55
62defconfig: 56defconfig: $(configs)
63 $(call descend,scripts/kconfig,conf) 57 $(call descend,scripts/kconfig,conf)
@@ -65,7 +59,2 @@ defconfig:
65 59
66-include $(TOPDIR)/.config
67-include $(TOPDIR)/..config.cmd
68-include $(TOPDIR)/.depends
69
70all : $(TOPDIR)/.depends $(subdir-y)
71 60