[OCaml] Expose Llvm.parse_command_line_options.
[oota-llvm.git] / bindings / ocaml / Makefile
index 5cd3b89b5793aa915c7b497b5865db4cb1031fee..2005367e8d75b537e9eac7df1c4eb29af2f696ee 100644 (file)
@@ -1,13 +1,20 @@
 ##===- bindings/ocaml/Makefile -----------------------------*- Makefile -*-===##
-# 
+#
 #                     The LLVM Compiler Infrastructure
 #
 # This file is distributed under the University of Illinois Open Source
 # License. See LICENSE.TXT for details.
-# 
+#
 ##===----------------------------------------------------------------------===##
 
 LEVEL := ../..
-DIRS = llvm bitreader bitwriter analysis executionengine
+DIRS = llvm bitreader bitwriter irreader analysis target executionengine \
+       transforms linker backends all_backends
+ExtraMakefiles = $(PROJ_OBJ_DIR)/Makefile.ocaml
+
+ocamldoc:
+       $(Verb) for i in $(DIRS) ; do \
+               $(MAKE) -C $$i ocamldoc; \
+       done
 
 include $(LEVEL)/Makefile.common