12 ocamlc -g -c $(INCLUDEDIR) $<
18 ocamlopt $(CFLAGS) -c $(INCLUDEDIR) $<
27 ocamldoc -d . -html -o docs *.ml
30 ocaml_inotify-0.4/inotify.cmxa:
31 $(MAKE) -C ocaml_inotify-0.4 && cp -f ocaml_inotify-0.4/inotify_stubs.o ./
33 vsys: ocaml_inotify-0.4/inotify.cmxa globals.cmx fdwatcher.cmx conffile.cmx dirwatcher.cmx fifowatcher.cmx frontend.cmx backend.cmx main.cmx docs
34 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 conffile.cmx main.cmx -o vsys
36 vsys.b: inotify.cma inotify.cmi globals.ml fdwatcher.ml dirwatcher.ml fifowatcher.ml frontend.ml backend.ml main.ml
37 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
40 cp vsys $(INSTALL_DIR)/usr/bin
41 cp vsys-initscript $(INSTALL_DIR)/etc/init.d/vsys
47 $(MAKE) -C ocaml_inotify-0.4 clean
48 rm -f *.cmi *.cmx sys usys *.o vsys vsys.b *.html *.css