summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-03-25 22:25:07 (UTC)
committer kergoth <kergoth>2003-03-25 22:25:07 (UTC)
commitb3044bf4792f52f247a3c9a08c3065b2b83199d7 (patch) (unidiff)
tree478da324cb7d6428f5114dd1c42bdc2a3e301768
parent491632aa8d4854055692ee73029ed80cf30c5c1f (diff)
downloadopie-b3044bf4792f52f247a3c9a08c3065b2b83199d7.zip
opie-b3044bf4792f52f247a3c9a08c3065b2b83199d7.tar.gz
opie-b3044bf4792f52f247a3c9a08c3065b2b83199d7.tar.bz2
Remove unsupported generated configs.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 463e636..52894ce 100644
--- a/Makefile
+++ b/Makefile
@@ -1,120 +1,120 @@
1#!/usr/bin/make -f 1#!/usr/bin/make -f
2ifndef QTDIR 2ifndef QTDIR
3$(error QTDIR not set) 3$(error QTDIR not set)
4endif 4endif
5 5
6export OPIEDIR:=$(shell pwd) 6export OPIEDIR:=$(shell pwd)
7export TOPDIR:=$(OPIEDIR) 7export TOPDIR:=$(OPIEDIR)
8export QMAKE:=$(OPIEDIR)/qmake/qmake 8export QMAKE:=$(OPIEDIR)/qmake/qmake
9 9
10export QMAKESPECSDIR=$(OPIEDIR)/mkspecs 10export QMAKESPECSDIR=$(OPIEDIR)/mkspecs
11 11
12noconfig_targets := xconfig menuconfig config oldconfig randconfig \ 12noconfig_targets := xconfig menuconfig config oldconfig randconfig \
13 defconfig allyesconfig allnoconfig allmodconfig \ 13 defconfig allyesconfig allnoconfig allmodconfig \
14 clean-configs 14 clean-configs
15 15
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 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/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
27all : $(TOPDIR)/.config 27all : $(TOPDIR)/.config
28 28
29$(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs 29$(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs
30 30
31all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends.cfgs 31all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends.cfgs
32 32
33clean-configs : 33clean-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
39all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs) 39all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs)
40 40
41$(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs) 41$(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs)
42 $(call descend,scripts/kconfig,conf) 42 $(call descend,scripts/kconfig,conf)
43 @if [ ! -e $@ ]; then \ 43 @if [ ! -e $@ ]; then \
44 cp $(TOPDIR)/def-configs/opie $@; \ 44 cp $(TOPDIR)/def-configs/opie $@; \
45 fi; 45 fi;
46 @$(MAKE) -C scripts/kconfig conf; 46 @$(MAKE) -C scripts/kconfig conf;
47 ./scripts/kconfig/conf -s ./config.in 47 ./scripts/kconfig/conf -s ./config.in
48 48
49# config rules must have the $(configs) var defined 49# config rules must have the $(configs) var defined
50# at the time that they run. we must ensure that .depends.cfgs 50# at the time that they run. we must ensure that .depends.cfgs
51# is built and included by the time we reach this point. 51# is built and included by the time we reach this point.
52 52
53xconfig : 53xconfig :
54 $(call descend,scripts/kconfig,qconf) 54 $(call descend,scripts/kconfig,qconf)
55 LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \ 55 LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \
56 ./scripts/kconfig/qconf ./config.in 56 ./scripts/kconfig/qconf ./config.in
57 57
58menuconfig : scripts/lxdialog/lxdialog 58menuconfig : scripts/lxdialog/lxdialog
59 $(call descend,scripts/kconfig,mconf) 59 $(call descend,scripts/kconfig,mconf)
60 ./scripts/kconfig/mconf ./config.in 60 ./scripts/kconfig/mconf ./config.in
61 61
62config : 62config :
63 $(call descend,scripts/kconfig,conf) 63 $(call descend,scripts/kconfig,conf)
64 ./scripts/kconfig/conf ./config.in 64 ./scripts/kconfig/conf ./config.in
65 65
66oldconfig : 66oldconfig :
67 $(call descend,scripts/kconfig,conf) 67 $(call descend,scripts/kconfig,conf)
68 ./scripts/kconfig/conf -o ./config.in 68 ./scripts/kconfig/conf -o ./config.in
69 69
70randconfig : 70randconfig :
71 $(call descend,scripts/kconfig,conf) 71 $(call descend,scripts/kconfig,conf)
72 ./scripts/kconfig/conf -r ./config.in 72 ./scripts/kconfig/conf -r ./config.in
73 73
74allyesconfig : 74allyesconfig :
75 $(call descend,scripts/kconfig,conf) 75 $(call descend,scripts/kconfig,conf)
76 ./scripts/kconfig/conf -y ./config.in 76 ./scripts/kconfig/conf -y ./config.in
77 77
78allnoconfig : 78allnoconfig :
79 $(call descend,scripts/kconfig,conf) 79 $(call descend,scripts/kconfig,conf)
80 ./scripts/kconfig/conf -n ./config.in 80 ./scripts/kconfig/conf -n ./config.in
81 81
82defconfig : 82defconfig :
83 $(call descend,scripts/kconfig,conf) 83 $(call descend,scripts/kconfig,conf)
84 ./scripts/kconfig/conf -d ./config.in 84 ./scripts/kconfig/conf -d ./config.in
85 85
86 86
87export 87export
88 88
89ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) 89ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
90 90
91export include-config := 1 91export include-config := 1
92 92
93-include $(TOPDIR)/.config 93-include $(TOPDIR)/.config
94-include $(TOPDIR)/.depends 94-include $(TOPDIR)/.depends
95 95
96endif 96endif
97 97
98-include $(TOPDIR)/.config.cmd 98-include $(TOPDIR)/.config.cmd
99 99
100SUBDIRS = $(subdir-y) 100SUBDIRS = $(subdir-y)
101 101
102export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE)) 102export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE))
103 103
104ifdef CONFIG_OPTIMIZATIONS 104ifdef CONFIG_OPTIMIZATIONS
105export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS)) 105export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS))
106export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE)) 106export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE))
107endif 107endif
108 108
109all clean install ipk: $(SUBDIRS) 109all clean install ipk: $(SUBDIRS)
110 110
111lupdate lrelease: 111lupdate lrelease:
112 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; 112 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done;
113 113
114$(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \ 114$(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \
115 $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \ 115 $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \
116 $(TOPDIR)/library/custom.h 116 $(TOPDIR)/library/custom.h
117 117
118clean : $(TOPDIR)/.config 118clean : $(TOPDIR)/.config
119 119
120include $(TOPDIR)/Rules.make 120include $(TOPDIR)/Rules.make