Makefile 976 B

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