summaryrefslogtreecommitdiff
path: root/Makefile
authorkergoth <kergoth>2003-08-09 19:43:03 (UTC)
committer kergoth <kergoth>2003-08-09 19:43:03 (UTC)
commit102a00422a155cef204977f6bb7b3f530b7b8c19 (patch) (unidiff)
treec4add67d773b27cad52c719cc032431cb687c3f9 /Makefile
parent3a53173f75c21417bf7601b60a791f72fbb4631d (diff)
downloadopie-102a00422a155cef204977f6bb7b3f530b7b8c19.zip
opie-102a00422a155cef204977f6bb7b3f530b7b8c19.tar.gz
opie-102a00422a155cef204977f6bb7b3f530b7b8c19.tar.bz2
Merges.
Diffstat (limited to 'Makefile') (more/less context) (show whitespace changes)
-rw-r--r--Makefile55
1 files changed, 14 insertions, 41 deletions
diff --git a/Makefile b/Makefile
index b1e76cb..0b4a06b 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ noconfig_targets := xconfig menuconfig config oldconfig randconfig \
12 clean-configs $(TOPDIR)/scripts/subst $(TOPDIR)/scripts/filesubst \ 12 clean-configs $(TOPDIR)/scripts/subst $(TOPDIR)/scripts/filesubst \
13 ipks 13 ipks
14 14
15configs += $(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 15configs += $(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/pim/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
16 16
17# $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs) 17# $(TOPDIR)/.config depends on .depends.cfgs, as it depends on $(configs)
18# in order to have a full set of config.in files. 18# in order to have a full set of config.in files.
@@ -62,44 +62,6 @@ $(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs)
62 @$(MAKE) -C scripts/kconfig conf 62 @$(MAKE) -C scripts/kconfig conf
63 ./scripts/kconfig/conf -s ./config.in 63 ./scripts/kconfig/conf -s ./config.in
64 64
65# config rules must have the $(configs) var defined
66# at the time that they run. we must ensure that .depends.cfgs
67# is built and included by the time we reach this point.
68
69xconfig :
70 $(call descend,scripts/kconfig,qconf)
71 LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(TOPDIR)/scripts/kconfig \
72 ./scripts/kconfig/qconf ./config.in
73
74menuconfig : $(TOPDIR)/scripts/lxdialog/lxdialog
75 $(call descend,scripts/kconfig,mconf)
76 ./scripts/kconfig/mconf ./config.in
77
78config :
79 $(call descend,scripts/kconfig,conf)
80 ./scripts/kconfig/conf ./config.in
81
82oldconfig :
83 $(call descend,scripts/kconfig,conf)
84 ./scripts/kconfig/conf -o ./config.in
85
86randconfig :
87 $(call descend,scripts/kconfig,conf)
88 ./scripts/kconfig/conf -r ./config.in
89
90allyesconfig :
91 $(call descend,scripts/kconfig,conf)
92 ./scripts/kconfig/conf -y ./config.in
93
94allnoconfig :
95 $(call descend,scripts/kconfig,conf)
96 ./scripts/kconfig/conf -n ./config.in
97
98defconfig :
99 $(call descend,scripts/kconfig,conf)
100 ./scripts/kconfig/conf -d ./config.in
101
102
103export 65export
104 66
105ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) 67ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
@@ -119,8 +81,19 @@ all clean install ipk: $(SUBDIRS)
119lupdate lrelease: 81lupdate lrelease:
120 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done 82 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
121 83
122opie-lupdate opie-lrelease: 84opie-lupdate opie-lrelease messages:
123 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done 85 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done;
86
87# from kde
88qtmessages:
89 cd $(QTDIR)/src ; \
90 sed -e "s,#define,," xml/qxml.cpp > qxml_clean.cpp ;\
91 find . -name "*.cpp" | grep -v moc_ > list ;\
92 for file in qfiledialog qcolordialog qprintdialog \
93 qurloperator qftp qhttp qlocal qerrormessage; do \
94 grep -v $$file list > list.new && mv list.new list ;\
95 done ;\
96 xgettext -C -ktr -kQT_TRANSLATE_NOOP -n `cat list` -o $(OPIEDIR)/qt-messages.pot
124 97
125$(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \ 98$(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \
126 $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \ 99 $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \