Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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: fast headers library clean veryclean all binary program doc test update-po
  10. all headers library clean veryclean binary program doc manpages docbook test update-po startup dirs:
  11. $(MAKE) -C vendor $@
  12. $(MAKE) -C apt-pkg $@
  13. $(MAKE) -C apt-inst $@
  14. $(MAKE) -C apt-private $@
  15. $(MAKE) -C methods $@
  16. $(MAKE) -C cmdline $@
  17. $(MAKE) -C ftparchive $@
  18. $(MAKE) -C dselect $@
  19. $(MAKE) -C doc $@
  20. $(MAKE) -C po $@
  21. $(MAKE) -C test $@
  22. fast:
  23. $(MAKE) -C vendor all
  24. $(MAKE) -C apt-pkg all
  25. $(MAKE) -C apt-inst all
  26. $(MAKE) -C apt-private all
  27. $(MAKE) -C methods all
  28. $(MAKE) -C cmdline all
  29. $(MAKE) -C ftparchive all
  30. $(MAKE) -C test all
  31. all headers library clean veryclean binary program doc manpages docbook test update-po: startup dirs
  32. dirs: startup
  33. # Some very common aliases
  34. .PHONY: maintainer-clean dist-clean distclean pristine sanity
  35. maintainer-clean dist-clean distclean pristine sanity: veryclean
  36. veryclean: clean
  37. # The startup target builds the necessary configure scripts. It should
  38. # be used after a CVS checkout.
  39. CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile
  40. include buildlib/configure.mak
  41. $(BUILDDIR)/include/config.h: buildlib/config.h.in
  42. $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in
  43. $(BUILDDIR)/environment.mak: buildlib/environment.mak.in
  44. $(BUILDDIR)/makefile: buildlib/makefile.in