Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 test update-po
  10. startup all headers library clean veryclean binary program doc dirs test update-po:
  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. $(MAKE) -C po $@
  19. $(MAKE) -C test $@
  20. update-po: startup
  21. # Some very common aliases
  22. .PHONY: maintainer-clean dist-clean distclean pristine sanity
  23. maintainer-clean dist-clean distclean pristine sanity: veryclean
  24. # The startup target builds the necessary configure scripts. It should
  25. # be used after a CVS checkout.
  26. CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile
  27. include buildlib/configure.mak
  28. $(BUILDDIR)/include/config.h: buildlib/config.h.in
  29. $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in
  30. $(BUILDDIR)/environment.mak: buildlib/environment.mak.in
  31. $(BUILDDIR)/makefile: buildlib/makefile.in