*** empty log message ***
authorSapan Bhatia <sapanb@cs.princeton.edu>
Thu, 2 Aug 2007 20:27:20 +0000 (20:27 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Thu, 2 Aug 2007 20:27:20 +0000 (20:27 +0000)
Makefile
inotify.a [deleted file]
inotify.cma [deleted file]
inotify.cmxa [deleted file]

index 31d1963..4699dd6 100644 (file)
--- 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 (file)
index ddd0196..0000000
Binary files a/inotify.a and /dev/null differ
diff --git a/inotify.cma b/inotify.cma
deleted file mode 100644 (file)
index 2ce5647..0000000
Binary files a/inotify.cma and /dev/null differ
diff --git a/inotify.cmxa b/inotify.cmxa
deleted file mode 100644 (file)
index 08e6335..0000000
Binary files a/inotify.cmxa and /dev/null differ