|
|
|
@@ -1,25 +1,23 @@ |
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) |
24 | |
22 | |
25 | $(TOPDIR)/scripts/kconfig/conf scripts/kconfig/conf: |
23 | $(TOPDIR)/scripts/kconfig/conf scripts/kconfig/conf: |
|