X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=55e146c7a0ad7a05d02d727f4d38c917180df3bb;hb=210b03e8a5cfffb3c25ea04a03548a430fd13372;hp=4699dd68f2d2959471a7301a63c950a0c87fcf6c;hpb=d50abed53bc4998db78f2acc0d168ec39bfa3375;p=vsys.git diff --git a/Makefile b/Makefile index 4699dd6..55e146c 100644 --- a/Makefile +++ b/Makefile @@ -25,25 +25,24 @@ include .dep docs: *.ml ocamldoc -d . -html -o docs *.ml - mv *.html docs + mv *.html *.css docs ocaml_inotify-0.4/inotify.cmxa: $(MAKE) -C ocaml_inotify-0.4 && cp -f ocaml_inotify-0.4/inotify_stubs.o ./ -vsys: ocaml_inotify-0.4/inotify.cmxa globals.cmx fdwatcher.cmx dirwatcher.cmx fifowatcher.cmx frontend.cmx backend.cmx main.cmx docs - ocamlopt -I ocaml_inotify-0.4 str.cmxa unix.cmxa inotify.cmxa globals.cmx fdwatcher.cmx dirwatcher.cmx fifowatcher.cmx frontend.cmx backend.cmx str.cmxa main.cmx -o vsys +vsys: ocaml_inotify-0.4/inotify.cmxa globals.cmx fdwatcher.cmx conffile.cmx splice_stub.o splice.cmx dirwatcher.cmx fifowatcher.cmx frontend.cmx backend.cmx main.cmx docs + ocamlopt -I ocaml_inotify-0.4 str.cmxa unix.cmxa inotify.cmxa globals.cmx fdwatcher.cmx dirwatcher.cmx splice.cmx splice_stub.o fifowatcher.cmx frontend.cmx backend.cmx str.cmxa conffile.cmx main.cmx -o vsys -vsys.b: inotify.cma inotify.cmi globals.ml fdwatcher.ml dirwatcher.ml fifowatcher.ml frontend.ml backend.ml main.ml - ocamlc -g str.cma unix.cma inotify.cma globals.cmo fdwatcher.cmo dirwatcher.cmo fifowatcher.cmo frontend.cmo backend.cmo str.cma main.cmo -o vsys.b +vsys.b: ocaml_inotify-0.4/inotify.cma inotify.cmi globals.ml fdwatcher.ml dirwatcher.ml fifowatcher.ml frontend.ml backend.ml main.ml + ocamlc -g str.cma unix.cma ocaml_inotify-0.4/inotify.cma globals.cmo fdwatcher.cmo dirwatcher.cmo fifowatcher.cmo frontend.cmo backend.cmo str.cma conffile.cmo main.cmo -o vsys.b install: vsys - cp vsys /usr/bin - cp vsys.b /usr/bin - cp vsys-initscript /etc/init.d/vsys + cp vsys $(INSTALL_DIR)/usr/bin + cp vsys-initscript $(INSTALL_DIR)/etc/init.d/vsys dep: ocamldep *.ml > .dep clean: $(MAKE) -C ocaml_inotify-0.4 clean - rm -fR *.cmi *.cmx sys usys *.o vsys vsys.b + rm -f *.cmi *.cmx sys usys *.o vsys vsys.b *.html *.css