Makefile 1.3 KB

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