# Ocamlbuild tags file true: -traverse # Traverse only these directories <{bytecomp,driver,stdlib,tools,asmcomp,camlp4,ocamlbuild,toplevel,ocamldoc,typing,otherlibs,utils,debugger,lex,parsing,byterun}/**>: traverse "boot" or "byterun": not_hygienic # These should not be required but it fails on *BSD and Windows... "yacc" or "asmrun" or "win32caml": not_hygienic <**/*.ml*>: warn_Alez "toplevel/topstart.byte": linkall : ocamldoc_sources : include_unix, include_str, include_dynlink "ocamldoc/odoc.byte": use_unix, use_str, use_dynlink "ocamldoc/odoc_opt.native": use_unix, use_str : debug : camlp4boot, -warn_Alez, warn_Ale : -camlp4boot or or "camlp4/Camlp4/Struct/Lexer.ml": -camlp4boot, -warn_Ale, warn_a, -debug "camlp4/Camlp4Bin.byte" or "camlp4/mkcamlp4.byte" or "camlp4/camlp4lib.cma": use_dynlink "camlp4/Camlp4/Printers/OCaml.ml" or "camlp4/Camlp4/Printers/OCamlr.ml": warn_Alezv : include_unix "camlp4/Camlp4/Struct/DynLoader.ml": include_dynlink : include_toplevel : -warn_Alez, include_unix <**/pervasives.ml> or <**/pervasives.mli> or <**/camlinternalOO.mli>: nopervasives <**/camlinternalOO*.cmx>: inline(0) <**/scanf*.cmx>: inline(9) <**/*Labels.ml*>: nolabels "tools/addlabels.ml": warn_s or : use_unix, use_dynlink, linkall : include_unix or : ocamlmklib or : ocamlmklib : ocamlmklib : ocamlmklib : ocamlmklib : include_unix # See the remark about static linking of threads.cmxa in myocamlbuild.ml : ocamlmklib <**/*.ml{,i}>: include_stdlib "otherlibs/threads/unix.ml" or "otherlibs/threads/marshal.ml": -include_stdlib, include_threads_stdlib "otherlibs/threads/pervasives.ml": include_unix : otherlibs : otherlibs_unix : otherlibs_win32unix : otherlibs_bigarray : otherlibs_num : otherlibs_threads : otherlibs_systhreads : otherlibs_dbm : otherlibs_graph : otherlibs_win32graph : otherlibs_labltk or : bootstrap_thread : ocamlmklib "otherlibs/labltk/browser/jglib.cma": -ocamlmklib "otherlibs/labltk/browser/main.byte": use_unix, use_str, ocamlbrowser, bootstrap_thread : include_unix, include_str : include_unix