2010-09-24 17:24:43 -06:00
|
|
|
MCP_PKGDIR = build/mcp
|
|
|
|
MCP_PACKAGE = mcp.pkg
|
|
|
|
|
2010-09-26 21:54:31 -06:00
|
|
|
mcp-install: mcp-build
|
2010-09-24 17:24:43 -06:00
|
|
|
mkdir -p $(MCP_PKGDIR)
|
|
|
|
|
|
|
|
cp mcp/setup $(MCP_PKGDIR)
|
|
|
|
|
|
|
|
$(call COPYTREE, mcp/bin, $(MCP_PKGDIR)/bin)
|
|
|
|
cp mcp/src/in.tokend $(MCP_PKGDIR)/bin/
|
|
|
|
cp mcp/src/tokencli $(MCP_PKGDIR)/bin/
|
|
|
|
cp mcp/src/tokencli $(MCP_PKGDIR)/bin/
|
|
|
|
cp mcp/src/puzzles.cgi $(MCP_PKGDIR)/bin/
|
|
|
|
|
|
|
|
$(call COPYTREE, mcp/service, $(MCP_PKGDIR)/service)
|
|
|
|
|
|
|
|
$(call COPYTREE, mcp/www, $(MCP_PKGDIR)/www)
|
|
|
|
cp mcp/src/puzzler.cgi $(MCP_PKGDIR)/www/
|
|
|
|
cp mcp/src/claim.cgi $(MCP_PKGDIR)/www/
|
|
|
|
|
2010-09-26 21:54:31 -06:00
|
|
|
touch $@
|
2010-09-24 17:24:43 -06:00
|
|
|
|
|
|
|
mcp-test: mcp-build
|
|
|
|
mcp/test.sh
|
|
|
|
|
|
|
|
mcp-clean:
|
|
|
|
rm -rf $(MCP_PKGDIR) $(MCP_PACKAGE)
|
|
|
|
$(MAKE) -C mcp/src clean
|
|
|
|
|
|
|
|
mcp-build:
|
|
|
|
$(MAKE) -C mcp/src build
|
|
|
|
|
|
|
|
PACKAGES += mcp
|