| 1 | # -*- make -*- |
| 2 | |
| 3 | # This is the top level make file for APT, it recurses to each lower |
| 4 | # level make file and runs it with the proper target |
| 5 | ifndef NOISY |
| 6 | .SILENT: |
| 7 | endif |
| 8 | |
| 9 | .PHONY: headers library clean veryclean all binary program doc |
| 10 | all headers library clean veryclean binary program doc: |
| 11 | $(MAKE) -C apt-pkg $@ |
| 12 | $(MAKE) -C methods $@ |
| 13 | # $(MAKE) -C methods/ftp $@ |
| 14 | $(MAKE) -C cmdline $@ |
| 15 | $(MAKE) -C dselect $@ |
| 16 | ifdef GUI |
| 17 | $(MAKE) -C deity $@ |
| 18 | $(MAKE) -C gui $@ |
| 19 | endif |
| 20 | $(MAKE) -C doc $@ |
| 21 | |
| 22 | # Some very common aliases |
| 23 | .PHONY: maintainer-clean dist-clean distclean pristine sanity |
| 24 | maintainer-clean dist-clean distclean pristine sanity: veryclean |
| 25 | |
| 26 | # The startup target builds the necessary configure scripts. It should |
| 27 | # be used after a CVS checkout. |
| 28 | CONVERTED=environment.mak include/config.h makefile |
| 29 | include buildlib/configure.mak |
| 30 | $(BUILDDIR)/include/config.h: buildlib/config.h.in |
| 31 | $(BUILDDIR)/environment.mak: buildlib/environment.mak.in |
| 32 | $(BUILDDIR)/makefile: buildlib/makefile.in |