webmcp / Makefile

include Makefile.options

	make documentation
	make accelerator
	make libraries
	make symlinks
	make precompile

	rm -f doc/autodoc.tmp
	lua framework/bin/autodoc.lua framework/cgi-bin/ framework/env/ libraries/ > doc/autodoc.tmp
	cat doc/autodoc-header.htmlpart doc/autodoc.tmp doc/autodoc-footer.htmlpart > doc/autodoc.html
	rm -f doc/autodoc.tmp

	cd framework/accelerator; make

	cd libraries/extos; make
	cd libraries/mondelefant; make
	cd libraries/multirand; make

	ln -s -f ../../libraries/atom/atom.lua framework/lib/
	ln -s -f ../../libraries/extos/extos.so framework/lib/
	ln -s -f ../../libraries/mondelefant/mondelefant.lua framework/lib/
	ln -s -f ../../libraries/mondelefant/mondelefant_native.so framework/lib/
	ln -s -f ../../libraries/mondelefant/mondelefant_atom_connector.lua framework/lib/
	ln -s -f ../../libraries/multirand/multirand.so framework/lib/
	ln -s -f ../../libraries/rocketcgi/rocketcgi.lua framework/lib/
	ln -s -f ../../libraries/nihil/nihil.lua framework/lib/
	ln -s -f ../../libraries/luatex/luatex.lua framework/lib/

	rm -Rf framework.precompiled
	rm -Rf demo-app.precompiled
	sh framework/bin/recursive-luac framework/ framework.precompiled/
	rm -f framework.precompiled/accelerator/Makefile
	rm -f framework.precompiled/accelerator/webmcp_accelerator.c
	rm -f framework.precompiled/accelerator/webmcp_accelerator.o
	framework/bin/recursive-luac demo-app/ demo-app.precompiled/

	rm -f doc/autodoc.tmp doc/autodoc.html
	rm -Rf framework.precompiled
	rm -Rf demo-app.precompiled
	rm -f demo-app/tmp/*
	rm -f framework/lib/*
	cd libraries/extos; make clean
	cd libraries/mondelefant; make clean
	cd libraries/multirand; make clean
	cd framework/accelerator; make clean
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.