1if SHIP_BINARIES
2
3EXTRA_DIST = include bin
4
5SH_DIST_HOOK = dist-ship-binary-hook
6dist-ship-binary-hook include bin:
7	cd "$(top_builddir)" && $(MAKE) includedir="$(PWD)/include" DESTDIR="" prefix="$(PWD)/tmp" install
8	mkdir -p "$(PWD)/bin"
9	cp "$(PWD)/tmp/bin/"*.dll "bin/"
10
11endif
12
13dist-hook: $(SH_DIST_HOOK)
14