summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-11-04 22:15:51 (UTC)
committer kergoth <kergoth>2002-11-04 22:15:51 (UTC)
commit221e4b6e1f758466a788292d740b4687e1b30af3 (patch) (unidiff)
tree20572ce82f0c1329475166434896f2bc98b5ea59
parent4a40215c106a436f220fb71f492359c3a3d19788 (diff)
downloadopie-221e4b6e1f758466a788292d740b4687e1b30af3.zip
opie-221e4b6e1f758466a788292d740b4687e1b30af3.tar.gz
opie-221e4b6e1f758466a788292d740b4687e1b30af3.tar.bz2
dependency generation
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make10
1 files changed, 4 insertions, 6 deletions
diff --git a/Rules.make b/Rules.make
index b545273..2fa5e7f 100644
--- a/Rules.make
+++ b/Rules.make
@@ -1,23 +1,21 @@
1## targets ## 1## targets ##
2 2
3$(TOPDIR)/config.in : 3$(TOPDIR)/config.in :
4 @-rm -f $@
5 @for cfg in `find $(TOPDIR) -name config.in`; do \
6 echo 'include $$cfg' >> $(TOPDIR)/config.in; \
7 done;
8 4
9$(TOPDIR)/.depends : 5$(TOPDIR)/.depends : $(TOPDIR)/config.in
10 @cat $(TOPDIR)/packages | \ 6 @cat $(TOPDIR)/packages | \
11 awk '{print \ 7 awk '/^#/ { next }; {print \
12 ".PHONY : " $$2 "\n" \ 8 ".PHONY : " $$2 "\n" \
13 "subdir-$$(" $$1 ") += " $$2 "\n\n" \ 9 "subdir-$$(" $$1 ") += " $$2 "\n\n" \
14 $$2 "/Makefile : " $$2 "/" $$3 " $$(TOPDIR)/qmake/qmake\n\t" \ 10 $$2 "/Makefile : " $$2 "/" $$3 " $$(TOPDIR)/qmake/qmake\n\t" \
15 "$$(call makefilegen,$$@)\n\n" \ 11 "$$(call makefilegen,$$@)\n\n" \
16 $$2 " : " $$2 "/Makefile\n\t$$(call descend,$$@)\n"}'\ 12 $$2 " : " $$2 "/Makefile\n\t$$(call descend,$$@)\n"}'\
17 > $(TOPDIR)/.depends 13 > $(TOPDIR)/.depends
14 @cat $(TOPDIR)/packages | \
15 $(TOPDIR)/scripts/deps.pl >> $(TOPDIR)/.depends
18 16
19$(TOPDIR)/qmake/qmake : 17$(TOPDIR)/qmake/qmake :
20 $(call descend,$(TOPDIR)/qmake) 18 $(call descend,$(TOPDIR)/qmake)
21 19
22$(TOPDIR)/scripts/lxdialog/lxdialog : 20$(TOPDIR)/scripts/lxdialog/lxdialog :
23 $(call descend,$(TOPDIR)/scripts/lxdialog) 21 $(call descend,$(TOPDIR)/scripts/lxdialog)