summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.test55
1 files changed, 50 insertions, 5 deletions
diff --git a/Makefile.test b/Makefile.test
index 7e0d944..526aa5d 100644
--- a/Makefile.test
+++ b/Makefile.test
@@ -1,23 +1,68 @@
1#!/usr/bin/make -f 1#!/usr/bin/make -f
2export OPIEDIR:=$(shell pwd)
3export TOPDIR:=$(OPIEDIR)
4
2export QMAKESPECSDIR=$(OPIEDIR)/mkspecs 5export QMAKESPECSDIR=$(OPIEDIR)/mkspecs
3export QMAKESPEC=$(QMAKESPECSDIR)/qws/linux-generic-g++ 6export QMAKESPEC=$(QMAKESPECSDIR)/qws/linux-generic-g++
4 7
5# The following are config.in's which are generated, to avoid numerous manual edits when 8# The following are config.in's which are generated, to avoid numerous manual edits when
6# adding packages to the build. 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)
7 18
8configs += $(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 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
9
10export OPIEDIR:=$(shell pwd)
11export TOPDIR:=$(OPIEDIR)
12 20
13all : configs 21all : configs
14 22
15configs : $(configs) 23configs : $(shell echo $(configs) | sort -r)
16 24
17clean-configs : 25clean-configs :
18 @echo "Wiping generated config.in files..." 26 @echo "Wiping generated config.in files..."
19 @-rm -f $(configs) 27 @-rm -f $(configs)
20 28
29./.config:
30 $(call descend,scripts/kconfig,conf)
31 @$(MAKE) -C scripts/kconfig conf
32 ./scripts/kconfig/conf -s ./config.in
33
34xconfig:
35 $(call descend,scripts/kconfig,qconf)
36 ./scripts/kconfig/qconf ./config.in
37
38menuconfig: scripts/lxdialog/lxdialog
39 $(call descend,scripts/kconfig,mconf)
40 ./scripts/kconfig/mconf ./config.in
41
42config:
43 $(call descend,scripts/kconfig,conf)
44 ./scripts/kconfig/conf ./config.in
45
46oldconfig:
47 $(call descend,scripts/kconfig,conf)
48 ./scripts/kconfig/conf -o ./config.in
49
50randconfig:
51 $(call descend,scripts/kconfig,conf)
52 ./scripts/kconfig/conf -r ./config.in
53
54allyesconfig:
55 $(call descend,scripts/kconfig,conf)
56 ./scripts/kconfig/conf -y ./config.in
57
58allnoconfig:
59 $(call descend,scripts/kconfig,conf)
60 ./scripts/kconfig/conf -n ./config.in
61
62defconfig:
63 $(call descend,scripts/kconfig,conf)
64 ./scripts/kconfig/conf -d ./config.in
65
21-include $(TOPDIR)/.config 66-include $(TOPDIR)/.config
22-include $(TOPDIR)/..config.cmd 67-include $(TOPDIR)/..config.cmd
23-include $(TOPDIR)/.depends 68-include $(TOPDIR)/.depends