OCAML_LIBS    = ../util/version ../idl/ocaml_backend/common ../idl/ocaml_backend/client
OCAMLINCLUDES = ../idl/ocaml_backend/ ../idl ../autogen ..
OCAMLPACKS    = xml-light2 stdext stunnel http-svr log rpc-light

OCamlProgram(mpathalert, mpathalert ../fhs)
OCamlDocProgram(mpathalert, mpathalert)

.PHONY: clean

clean:
	rm -f *.cmi *.cmx *.cmo *.a *.cma *.cmxa *.run *.opt *.annot *.o mpathalert

.PHONY: install
install:
	mkdir -p $(DESTDIR)$(OPTDIR)/bin
	$(IPROG) mpathalert $(DESTDIR)$(OPTDIR)/bin

