From: Sapan Bhatia <sapanb@cs.princeton.edu>
Date: Thu, 2 Aug 2007 20:27:20 +0000 (+0000)
Subject: *** empty log message ***
X-Git-Tag: vsys-0.7-19~22
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d50abed53bc4998db78f2acc0d168ec39bfa3375;p=vsys.git

*** empty log message ***
---

diff --git a/Makefile b/Makefile
index 31d1963..4699dd6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: vsys vsyssh ocaml_inotify-0.4
+all: vsys 
 
 include .dep
 
@@ -27,8 +27,11 @@ docs: *.ml
 	ocamldoc -d . -html -o docs *.ml
 	mv *.html docs
 
-vsys: inotify.cmxa inotify.cmi globals.cmx fdwatcher.cmx dirwatcher.cmx fifowatcher.cmx frontend.cmx backend.cmx main.cmx docs
-	ocamlopt str.cmxa unix.cmxa inotify.cmxa globals.cmx fdwatcher.cmx dirwatcher.cmx fifowatcher.cmx frontend.cmx backend.cmx str.cmxa main.cmx -o vsys
+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.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
@@ -42,4 +45,5 @@ dep:
 	ocamldep *.ml > .dep
 
 clean:
-	rm -fR *.cmi *.cmx sys usys 
+	$(MAKE) -C ocaml_inotify-0.4 clean
+	rm -fR *.cmi *.cmx sys usys *.o vsys vsys.b
diff --git a/inotify.a b/inotify.a
deleted file mode 100644
index ddd0196..0000000
Binary files a/inotify.a and /dev/null differ
diff --git a/inotify.cma b/inotify.cma
deleted file mode 100644
index 2ce5647..0000000
Binary files a/inotify.cma and /dev/null differ
diff --git a/inotify.cmxa b/inotify.cmxa
deleted file mode 100644
index 08e6335..0000000
Binary files a/inotify.cmxa and /dev/null differ