-all: vsys factory-exec/*
+all: vsys
include .dep
vsys.b: ocaml_inotify-0.4/inotify.cma inotify.cmi globals.ml fdwatcher.ml dirwatcher.ml directfifowatcher.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 directfifowatcher.cmo frontend.cmo backend.cmo str.cma conffile.cmo main.cmo -o vsys.b
-factory-exec/%: factory/%
- $(MAKE) -C factory/
- cp -fR factory/ factory-exec
-
-install: vsys factory
+install: vsys
cp vsys $(INSTALL_DIR)/usr/bin
cp vsys-initscript $(INSTALL_DIR)/etc/init.d/vsys
- cp -fR factory/ factory-exec/
dep:
ocamldep *.ml > .dep
clean:
$(MAKE) -C ocaml_inotify-0.4 clean
- $(MAKE) -C factory clean
rm -f *.cmi *.cmx sys usys *.o vsys vsys.b *.html *.css