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