diff options
Diffstat (limited to 'extras/BooBinding/rules.make')
-rw-r--r-- | extras/BooBinding/rules.make | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extras/BooBinding/rules.make b/extras/BooBinding/rules.make new file mode 100644 index 0000000000..5f906b2402 --- /dev/null +++ b/extras/BooBinding/rules.make @@ -0,0 +1,40 @@ +clean-local: + make pre-clean-local-hook + make $(CONFIG)_BeforeClean + -rm -f $(CLEANFILES) + make $(CONFIG)_AfterClean + make post-clean-local-hook + +install-local: +uninstall-local: + +dist-local: + make pre-dist-local-hook distdir=$$distdir + list='$(EXTRA_DIST)'; \ + for f in Makefile $$list; do \ + d=`dirname "$$f"`; \ + test -d "$(distdir)/$$d" || \ + mkdir -p "$(distdir)/$$d"; \ + cp -p "$$f" "$(distdir)/$$d" || exit 1; \ + done + make post-dist-local-hook distdir=$$distdir + +dist-local-recursive: + for dir in $(SUBDIRS); do \ + mkdir -p $(distdir)/$$dir || true; \ + case $$dir in \ + .) make dist-local distdir=$(distdir) || exit 1;; \ + *) (cd $$dir; make dist-local distdir=$(distdir)/$$dir) || exit 1; \ + esac \ + done + +#hooks: Available hooks - all, clean, install, uninstall and dist +# and their *-local variants +pre-%-hook: ; @: +post-%-hook: ; @: + +#targets for custom commands +%_BeforeBuild: ; @: +%_AfterBuild: ; @: +%_BeforeClean: ; @: +%_AfterClean: ; @: |