Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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: default
  8. default: startup all
  9. .PHONY: headers library clean veryclean all binary program doc
  10. all headers library clean veryclean binary program doc dirs:
  11. $(MAKE) -C apt-pkg $@
  12. $(MAKE) -C apt-inst $@
  13. $(MAKE) -C methods $@
  14. $(MAKE) -C cmdline $@
  15. $(MAKE) -C ftparchive $@
  16. $(MAKE) -C dselect $@
  17. $(MAKE) -C doc $@
  18. # Some very common aliases
  19. .PHONY: maintainer-clean dist-clean distclean pristine sanity
  20. maintainer-clean dist-clean distclean pristine sanity: veryclean
  21. # The startup target builds the necessary configure scripts. It should
  22. # be used after a CVS checkout.
  23. CONVERTED=environment.mak include/config.h include/apti18n.h makefile
  24. include buildlib/configure.mak
  25. $(BUILDDIR)/include/config.h: buildlib/config.h.in
  26. $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in
  27. $(BUILDDIR)/environment.mak: buildlib/environment.mak.in
  28. $(BUILDDIR)/makefile: buildlib/makefile.in