Makefile 1.3 KB

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