summaryrefslogtreecommitdiff
authorwimpie <wimpie>2004-04-02 18:34:55 (UTC)
committer wimpie <wimpie>2004-04-02 18:34:55 (UTC)
commit1d6b2100209fb63e737100c9f8f576bb26534e96 (patch) (unidiff)
treea622ace52548366a43f6a4712a9da2d95a81b6c5
parent4ea2f227d3fb0d9591bb4f18555420ac47f3397d (diff)
downloadopie-1d6b2100209fb63e737100c9f8f576bb26534e96.zip
opie-1d6b2100209fb63e737100c9f8f576bb26534e96.tar.gz
opie-1d6b2100209fb63e737100c9f8f576bb26534e96.tar.bz2
Added THREAD config flag (for compile agains threaded qt)
Added ipkg-mt target for packaging targets to -mt packages speedup of ipkg by using bash substitution instead of grep/sed
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile23
-rw-r--r--Rules.make7
2 files changed, 26 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c35af72..2052ea9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,106 +1,121 @@
1#!/usr/bin/make -f 1#!/usr/bin/make -f
2 2
3export TOPDIR:=$(OPIEDIR) 3export TOPDIR:=$(OPIEDIR)
4 4
5include $(TOPDIR)/Vars.make 5include $(TOPDIR)/Vars.make
6ifneq ($(wildcard $(TOPDIR)/Vars.local),) 6ifneq ($(wildcard $(TOPDIR)/Vars.local),)
7include $(TOPDIR)/Vars.local 7include $(TOPDIR)/Vars.local
8endif 8endif
9 9
10noconfig_targets := xconfig menuconfig config oldconfig randconfig \ 10noconfig_targets := xconfig menuconfig config oldconfig randconfig \
11 defconfig allyesconfig allnoconfig allmodconfig \ 11 defconfig allyesconfig allnoconfig allmodconfig \
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/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/config.in $(TOPDIR)/noncore/todayplugins/config.in $(TOPDIR)/examples/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/config.in $(TOPDIR)/noncore/todayplugins/config.in $(TOPDIR)/examples/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.
19# .depends depends on $(TOPDIR)/.config 19# .depends depends on $(TOPDIR)/.config
20# everything else depends on .depends, to ensure the dependencies are 20# everything else depends on .depends, to ensure the dependencies are
21# intact. 21# intact.
22# 22#
23# NOTE: The order in which things happen in this makefile is 23# NOTE: The order in which things happen in this makefile is
24 # -critical-. Do not rearrange this! 24 # -critical-. Do not rearrange this!
25 25
26all : $(TOPDIR)/.config 26all : $(TOPDIR)/.config
27 27
28# 28#
29# The IPK creation is a very slow process. If you want to only create some 29# The IPK creation is a very slow process. If you want to only create some
30# IPKs, e.g. the ones in library, then do 30# IPKs, e.g. the ones in library, then do
31 #make ipks IPK_START=library 31 #make ipks IPK_START=library
32# and then only the *.control files in this directory will be processed 32# and then only the *.control files in this directory will be processed
33ipks: $(OPIEDIR)/scripts/subst $(OPIEDIR)/scripts/filesubst FORCE $(TOPDIR)/.config 33ipks: $(OPIEDIR)/scripts/subst $(OPIEDIR)/scripts/filesubst FORCE $(TOPDIR)/.config
34 @find $(OPIEDIR)/$(IPK_START) -type f -name \*.control | ( for ctrl in `cat`; do \ 34 @find $(OPIEDIR)/$(IPK_START) -type f -name \*.control | ( for ctrl in `cat`; do \
35 prerm=`echo $$ctrl|sed -e 's,\.control$$,.prerm,'`; \ 35 prerm=`echo $${ctrl/.control/.prerm}`; \
36 preinst=`echo $$ctrl|sed -e 's,\.control$$,.preinst,'`; \ 36 preinst=`echo $${ctrl/.control/.preinst}`; \
37 postrm=`echo $$ctrl|sed -e 's,\.control$$,.postrm,'`; \ 37 postrm=`echo $${ctrl/.control/.postrm}`; \
38 postinst=`echo $$ctrl|sed -e 's,\.control$$,.postinst,'`; \ 38 postinst=`echo $${ctrl/.control/.postinst}`; \
39 echo "Building ipk of $$ctrl"; \ 39 echo "Building ipk of $$ctrl"; \
40 cd $(OPIEDIR); $(OPIEDIR)/scripts/mkipkg --subst=$(OPIEDIR)/scripts/subst --filesubst=$(OPIEDIR)/scripts/filesubst --control=$$ctrl --prerm=$$prerm --preinst=$$preinst --postrm=$$postrm --postinst=$$postinst --strip=$(STRIP) $(OPIEDIR); \ 40 cd $(OPIEDIR); $(OPIEDIR)/scripts/mkipkg --subst=$(OPIEDIR)/scripts/subst --filesubst=$(OPIEDIR)/scripts/filesubst --control=$$ctrl --prerm=$$prerm --preinst=$$preinst --postrm=$$postrm --postinst=$$postinst --strip=$(STRIP) $(OPIEDIR); \
41 done ) 41 done )
42 42
43ipks-mt: $(OPIEDIR)/scripts/subst $(OPIEDIR)/scripts/filesubst FORCE $(TOPDIR)/.config
44 @> $(OPIEDIR)/AllThreadedPackages
45 @find $(OPIEDIR)/ -type f -name \*.control | grep -v -- "-mt" | while read ctrl ; do \
46 grep "Package[ ]*:" $${ctrl} | sed "s+Package[ ]*:[ ]*++"; \
47 done | sort | uniq >> $(OPIEDIR)/AllThreadedPackages
48 @find $(OPIEDIR)/ -type f -name \*.control | while read ctrl ; do \
49 echo "Converting $$ctrl to -mt package"; \
50 nctrl=`$(OPIEDIR)/scripts/tothreaded $$ctrl $(OPIEDIR)/AllThreadedPackages`; \
51 echo "Building ipk of $$ctrl"; \
52 [ -n $$nctrl ] && cd $(OPIEDIR) && $(OPIEDIR)/scripts/mkipkg --subst=$(OPIEDIR)/scripts/subst --filesubst=$(OPIEDIR)/scripts/filesubst --control=$$nctrl --prerm=$${nctrl/\.control$$/.prerm/} --preinst=$${nctrl/\.control$$/.preinst/} --postrm=$${nctrl/\.control$$/.postrm/} --postinst=$${nctrl/\.control$$/.postinst/} --strip=$(STRIP) $(OPIEDIR); \
53 done
54 @rm -f $(OPIEDIR)/AllThreadedPackages
55
56FORCE:
57
43$(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs 58$(TOPDIR)/.config : $(TOPDIR)/.depends.cfgs
44 59
45all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends.cfgs 60all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(TOPDIR)/.depends.cfgs
46 61
47clean-configs : 62clean-configs :
48 @echo "Wiping generated config.in files..." 63 @echo "Wiping generated config.in files..."
49 @-rm -f $(configs) 64 @-rm -f $(configs)
50 65
51ifneq ($(wildcard $(TOPDIR)/.depends.cfgs),) 66ifneq ($(wildcard $(TOPDIR)/.depends.cfgs),)
52 include $(TOPDIR)/.depends.cfgs 67 include $(TOPDIR)/.depends.cfgs
53endif 68endif
54 69
55all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs) 70all menuconfig xconfig oldconfig config randconfig allyesconfig allnoconfig defconfig : $(configs)
56 71
57$(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs) 72$(TOPDIR)/.config: $(TOPDIR)/.depends.cfgs $(configs)
58 $(call descend,scripts/kconfig,conf) 73 $(call descend,scripts/kconfig,conf)
59 @if [ ! -e $@ ]; then \ 74 @if [ ! -e $@ ]; then \
60 cp $(TOPDIR)/def-configs/opie $@; \ 75 cp $(TOPDIR)/def-configs/opie $@; \
61 fi 76 fi
62 @$(MAKE) -C scripts/kconfig conf 77 @$(MAKE) -C scripts/kconfig conf
63 ./scripts/kconfig/conf -s ./config.in 78 ./scripts/kconfig/conf -s ./config.in
64 79
65export 80export
66 81
67ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) 82ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
68 83
69export include-config := 1 84export include-config := 1
70 85
71-include $(TOPDIR)/.config 86-include $(TOPDIR)/.config
72-include $(TOPDIR)/.depends 87-include $(TOPDIR)/.depends
73endif 88endif
74 89
75-include $(TOPDIR)/.config.cmd 90-include $(TOPDIR)/.config.cmd
76 91
77SUBDIRS = $(subdir-y) 92SUBDIRS = $(subdir-y)
78 93
79all clean install ipk: $(SUBDIRS) 94all clean install ipk: $(SUBDIRS)
80 95
81lupdate lrelease: 96lupdate lrelease:
82 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done 97 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
83 98
84opie-lupdate opie-lrelease messages: 99opie-lupdate opie-lrelease messages:
85 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; 100 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done;
86 101
87# from kde 102# from kde
88qtmessages: 103qtmessages:
89 cd $(QTDIR)/src ; \ 104 cd $(QTDIR)/src ; \
90 sed -e "s,#define,," xml/qxml.cpp > qxml_clean.cpp ;\ 105 sed -e "s,#define,," xml/qxml.cpp > qxml_clean.cpp ;\
91 find . -name "*.cpp" | grep -v moc_ > list ;\ 106 find . -name "*.cpp" | grep -v moc_ > list ;\
92 for file in qfiledialog qcolordialog qprintdialog \ 107 for file in qfiledialog qcolordialog qprintdialog \
93 qurloperator qftp qhttp qlocal qerrormessage; do \ 108 qurloperator qftp qhttp qlocal qerrormessage; do \
94 grep -v $$file list > list.new && mv list.new list ;\ 109 grep -v $$file list > list.new && mv list.new list ;\
95 done ;\ 110 done ;\
96 xgettext -C -ktr -kQT_TRANSLATE_NOOP -n `cat list` -o $(OPIEDIR)/qt-messages.pot 111 xgettext -C -ktr -kQT_TRANSLATE_NOOP -n `cat list` -o $(OPIEDIR)/qt-messages.pot
97 112
98$(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \ 113$(subdir-y) : $(if $(CONFIG_LIBQPE),$(QTDIR)/stamp-headers $(OPIEDIR)/stamp-headers) \
99 $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \ 114 $(if $(CONFIG_LIBQPE-X11),$(QTDIR)/stamp-headers-x11 $(OPIEDIR)/stamp-headers-x11 ) \
100 $(TOPDIR)/library/custom.h 115 $(TOPDIR)/library/custom.h
101 116
102clean : $(TOPDIR)/.config 117clean : $(TOPDIR)/.config
103 make -C bin clean 118 make -C bin clean
104 make -C lib clean 119 make -C lib clean
105 make -C plugins clean 120 make -C plugins clean
106 121
diff --git a/Rules.make b/Rules.make
index c93d6ec..3f494ce 100644
--- a/Rules.make
+++ b/Rules.make
@@ -1,82 +1,89 @@
1.phony: force 1.phony: force
2force: 2force:
3 3
4$(configs) : 4$(configs) :
5 $(call makecfg,$@) 5 $(call makecfg,$@)
6 6
7$(TOPDIR)/gen.pro : $(TOPDIR)/.config 7$(TOPDIR)/gen.pro : $(TOPDIR)/.config
8 echo > $@ 8 echo > $@
9# added for threaded version
10ifneq ($(CONFIG_THREADED),)
11 echo CONFIG += thread >> $@
12else
13 echo CONFIG -= thread >> $@
14endif
9ifneq ($(CONFIG_DEBUG),) 15ifneq ($(CONFIG_DEBUG),)
10 echo CONFIG += debug >> $@ 16 echo CONFIG += debug >> $@
11 echo CONFIG -= release >> $@ 17 echo CONFIG -= release >> $@
12 echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ 18 echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@
13 echo DEFINES += QT_DEBUG >> $@ 19 echo DEFINES += QT_DEBUG >> $@
14else 20else
15 echo CONFIG -= debug >> $@ 21 echo CONFIG -= debug >> $@
16 echo CONFIG += release >> $@ 22 echo CONFIG += release >> $@
17 echo DEFINES += "OPIE_NO_DEBUG" >> $@ 23 echo DEFINES += "OPIE_NO_DEBUG" >> $@
18endif 24endif
25
19ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 26ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3
20 echo CONFIG -= qt3 >> $@ 27 echo CONFIG -= qt3 >> $@
21else 28else
22 echo CONFIG += qt3 >> $@ 29 echo CONFIG += qt3 >> $@
23endif 30endif
24ifneq ($(CONFIG_QUICK_LAUNCH),) 31ifneq ($(CONFIG_QUICK_LAUNCH),)
25 echo contains\( CONFIG, quick-app \) \{ >> $@ 32 echo contains\( CONFIG, quick-app \) \{ >> $@
26 echo CONFIG -= quick-app >> $@ 33 echo CONFIG -= quick-app >> $@
27 echo CONFIG += quick-app-lib >> $@ 34 echo CONFIG += quick-app-lib >> $@
28 echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ 35 echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@
29 echo \} >> $@ 36 echo \} >> $@
30else 37else
31 echo contains\( CONFIG, quick-app \) \{ >> $@ 38 echo contains\( CONFIG, quick-app \) \{ >> $@
32 echo CONFIG -= quick-app >> $@ 39 echo CONFIG -= quick-app >> $@
33 echo CONFIG += quick-app-bin >> $@ 40 echo CONFIG += quick-app-bin >> $@
34 echo \} >> $@ 41 echo \} >> $@
35endif 42endif
36ifeq ($(CONFIG_SQL_PIM_BACKEND),y) 43ifeq ($(CONFIG_SQL_PIM_BACKEND),y)
37 echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@ 44 echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@
38else 45else
39 echo ENABLE_SQL_PIM_BACKEND=n >> $@ 46 echo ENABLE_SQL_PIM_BACKEND=n >> $@
40endif 47endif
41ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y) 48ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y)
42 echo CONFIG += no-override >> $@ 49 echo CONFIG += no-override >> $@
43endif 50endif
44ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) 51ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y)
45 echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ 52 echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@
46endif 53endif
47ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) 54ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y)
48 echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ 55 echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@
49endif 56endif
50ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y) 57ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y)
51 echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@ 58 echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@
52endif 59endif
53ifeq ($(CONFIG_QT_QWS_ALLOW_CLOCK),y) 60ifeq ($(CONFIG_QT_QWS_ALLOW_CLOCK),y)
54 echo DEFINES += QT_QWS_ALLOW_OVERCLOCK >> $@ 61 echo DEFINES += QT_QWS_ALLOW_OVERCLOCK >> $@
55endif 62endif
56ifeq ($(CONFIG_OPIE_HIGH_RES_SMALL_PHY),y) 63ifeq ($(CONFIG_OPIE_HIGH_RES_SMALL_PHY),y)
57 echo DEFINES += OPIE_HIGH_RES_SMALL_PHY >> $@ 64 echo DEFINES += OPIE_HIGH_RES_SMALL_PHY >> $@
58endif 65endif
59ifeq ($(CONFIG_OPIE_NEW_ALLOC),y) 66ifeq ($(CONFIG_OPIE_NEW_ALLOC),y)
60 echo DEFINES += OPIE_NEW_MALLOC >> $@ 67 echo DEFINES += OPIE_NEW_MALLOC >> $@
61endif 68endif
62ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y) 69ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y)
63 echo DEFINES += OPIE_NO_SOUND_PCM_READ_BITS >> $@ 70 echo DEFINES += OPIE_NO_SOUND_PCM_READ_BITS >> $@
64endif 71endif
65 echo DEFINES += OPIE_SOUND_FRAGMENT_SHIFT=$(CONFIG_OPIE_SOUND_FRAGMENT_SHIFT) >> $@ 72 echo DEFINES += OPIE_SOUND_FRAGMENT_SHIFT=$(CONFIG_OPIE_SOUND_FRAGMENT_SHIFT) >> $@
66 echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@ 73 echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@
67$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages 74$(TOPDIR)/.depends : $(shell if [ -e $(TOPDIR)/config.in ]\; then echo $(TOPDIR)/config.in\; fi\;) $(TOPDIR)/.config $(TOPDIR)/packages
68 @echo Generating dependency information... 75 @echo Generating dependency information...
69# add to subdir-y, and add descend rules 76# add to subdir-y, and add descend rules
70 @cat $(TOPDIR)/packages | grep -v '^#' | \ 77 @cat $(TOPDIR)/packages | grep -v '^#' | \
71 awk '{print \ 78 awk '{print \
72 ".PHONY : " $$2 "\n" \ 79 ".PHONY : " $$2 "\n" \
73 "subdir-$$(" $$1 ") += " $$2 "\n\n"; \ 80 "subdir-$$(" $$1 ") += " $$2 "\n\n"; \
74 print $$2 " : " $$2 "/Makefile\n\t$$(call descend,$$@,$(filter-out $$@,$$(filter-out $$@,$$(MAKECMDGOALS))))\n"; }' > $(TOPDIR)/.depends 81 print $$2 " : " $$2 "/Makefile\n\t$$(call descend,$$@,$(filter-out $$@,$$(filter-out $$@,$$(MAKECMDGOALS))))\n"; }' > $(TOPDIR)/.depends
75 cat $(TOPDIR)/packages | grep -v '^#' | \ 82 cat $(TOPDIR)/packages | grep -v '^#' | \
76 perl -ne '($$cfg, $$dir, $$pro) = $$_ =~ /^(\S+)\s+(\S+)\s+(\S+)/; if ( -e "$$dir/$$pro" ) { print "$$dir/Makefile : $$dir/$$pro \$$(QMAKE) \$$(OPIEDIR)/gen.pro \$$(OPIEDIR)/.config\n\t\$$(call makefilegen,\$$@)\n\n"; }' \ 83 perl -ne '($$cfg, $$dir, $$pro) = $$_ =~ /^(\S+)\s+(\S+)\s+(\S+)/; if ( -e "$$dir/$$pro" ) { print "$$dir/Makefile : $$dir/$$pro \$$(QMAKE) \$$(OPIEDIR)/gen.pro \$$(OPIEDIR)/.config\n\t\$$(call makefilegen,\$$@)\n\n"; }' \
77 >> $(TOPDIR)/.depends 84 >> $(TOPDIR)/.depends
78# interpackage dependency generation 85# interpackage dependency generation
79 @cat $(TOPDIR)/packages | \ 86 @cat $(TOPDIR)/packages | \
80 $(TOPDIR)/scripts/deps.pl >> $(TOPDIR)/.depends 87 $(TOPDIR)/scripts/deps.pl >> $(TOPDIR)/.depends
81 88
82$(TOPDIR)/.depends.cfgs: 89$(TOPDIR)/.depends.cfgs: