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.

rules.make 962 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. clean-local:
  2. make pre-clean-local-hook
  3. make $(CONFIG)_BeforeClean
  4. -rm -f $(CLEANFILES)
  5. make $(CONFIG)_AfterClean
  6. make post-clean-local-hook
  7. install-local:
  8. uninstall-local:
  9. dist-local:
  10. make pre-dist-local-hook distdir=$$distdir
  11. list='$(EXTRA_DIST)'; \
  12. for f in Makefile $$list; do \
  13. d=`dirname "$$f"`; \
  14. test -d "$(distdir)/$$d" || \
  15. mkdir -p "$(distdir)/$$d"; \
  16. cp -p "$$f" "$(distdir)/$$d" || exit 1; \
  17. done
  18. make post-dist-local-hook distdir=$$distdir
  19. dist-local-recursive:
  20. for dir in $(SUBDIRS); do \
  21. mkdir -p $(distdir)/$$dir || true; \
  22. case $$dir in \
  23. .) make dist-local distdir=$(distdir) || exit 1;; \
  24. *) (cd $$dir; make dist-local distdir=$(distdir)/$$dir) || exit 1; \
  25. esac \
  26. done
  27. #hooks: Available hooks - all, clean, install, uninstall and dist
  28. # and their *-local variants
  29. pre-%-hook: ; @:
  30. post-%-hook: ; @:
  31. #targets for custom commands
  32. %_BeforeBuild: ; @:
  33. %_AfterBuild: ; @:
  34. %_BeforeClean: ; @:
  35. %_AfterClean: ; @: