Makefile 914 B

123456789101112131415161718192021222324252627282930
  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: headers library clean veryclean all binary program doc
  8. all headers library clean veryclean binary program doc:
  9. $(MAKE) -C libdsync $@
  10. $(MAKE) -C cmdline $@
  11. $(MAKE) -C doc $@
  12. static:
  13. $(MAKE) -C libdsync
  14. LDFLAGS="-static" $(MAKE) -C cmdline
  15. # Some very common aliases
  16. .PHONY: maintainer-clean dist-clean distclean pristine sanity
  17. maintainer-clean dist-clean distclean pristine sanity: veryclean
  18. # The startup target builds the necessary configure scripts. It should
  19. # be used after a CVS checkout.
  20. CONVERTED=environment.mak include/config.h makefile
  21. include buildlib/configure.mak
  22. $(BUILDDIR)/include/config.h: buildlib/config.h.in
  23. $(BUILDDIR)/environment.mak: buildlib/environment.mak.in
  24. $(BUILDDIR)/makefile: buildlib/makefile.in