makefile.in 660 B

1234567891011121314151617181920212223242526
  1. # -*- make -*-
  2. # This is the build directory make file, it sets the build directory
  3. # and runs the src makefile.
  4. .SILENT:
  5. SRCDIR=@top_srcdir@
  6. SUBDIRS:=./doc ./bin ./obj ./include/apt-pkg ./include/deity
  7. BUILD:=$(shell pwd)
  8. export BUILD
  9. # Chain to the parent make to do the actual building
  10. .PHONY: headers library clean veryclean all binary program doc
  11. all headers library clean veryclean binary program doc:
  12. $(MAKE) -C $(SRCDIR) -f Makefile $@
  13. # This makes any missing directories
  14. .PHONY: dirs
  15. MISSING_DIRS:= $(filter-out $(wildcard $(SUBDIRS)),$(SUBDIRS))
  16. dirs:
  17. ifneq ($(words $(MISSING_DIRS)),0)
  18. @mkdir $(MISSING_DIRS)
  19. else
  20. @echo > /dev/null
  21. endif