You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
1.6 KiB

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