makefile.in 639 B

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