Merge commit 'ocaml3102'
[ocaml.git] / _tags
blob322973a98ef5a2d0a73aaac957382f2ea8b45839
1 # Ocamlbuild tags file
3 true: -traverse
5 # Traverse only these directories
6 <{bytecomp,driver,stdlib,tools,asmcomp,camlp4,ocamlbuild,toplevel,ocamldoc,typing,otherlibs,utils,debugger,lex,parsing,byterun,asmrun}/**>: traverse
8 "boot" or "byterun" or "asmrun": not_hygienic
10 # These should not be required but it fails on *BSD and Windows...
11 "yacc" or "win32caml": not_hygienic
13 # We want -g everywhere it's possible
14 true: debug
16 # By default everything we link needs the stdlib
17 true: use_stdlib
19 # The stdlib neither requires the stdlib nor debug information
20 <stdlib/**>: -use_stdlib, -debug
22 <**/*.ml*>: warn_Alez
24 "toplevel/topstart.byte": linkall
26 <ocamldoc/**>: -debug
27 <ocamldoc/*.ml>: ocamldoc_sources
28 <ocamldoc/*.ml*>: include_unix, include_str, include_dynlink
29 "ocamldoc/odoc.byte": use_unix, use_str, use_dynlink
30 "ocamldoc/odoc_opt.native": use_unix, use_str
32 <camlp4/**/*.ml*>: camlp4boot, -warn_Alez, warn_Ale
33 <camlp4/Camlp4_{config,import}.ml*>: -camlp4boot
34 "camlp4/Camlp4_import.ml": -warn_Ale
35 <camlp4/build/*> or <camlp4/boot/*> or "camlp4/Camlp4/Struct/Lexer.ml": -camlp4boot, -warn_Ale, warn_a
36 "camlp4/Camlp4Bin.byte" or "camlp4/mkcamlp4.byte" or "camlp4/camlp4lib.cma": use_dynlink
37 "camlp4/Camlp4/Printers/OCaml.ml" or "camlp4/Camlp4/Printers/OCamlr.ml": warn_Alezv
38 <camlp4/Camlp4Printers/**.ml>: include_unix
39 "camlp4/Camlp4/Struct/DynLoader.ml": include_dynlink
40 <camlp4/Camlp4Top/**>: include_toplevel
41 <camlp4/camlp4{,boot,o,r,of,rf,oof,orf}.byte>: -debug
43 <ocamlbuild/*>: -warn_Alez, include_unix
45 <**/pervasives.ml> or <**/pervasives.mli> or <**/camlinternalOO.mli>: nopervasives
46 <**/camlinternalOO*.cmx>: inline(0)
47 <**/scanf*.cmx>: inline(9)
48 <**/*Labels.ml*>: nolabels
50 "tools/addlabels.ml": warn_s
52 <debugger/main.byte> or <debugger/main.native>: use_unix, use_dynlink, linkall
53 <debugger/*.ml*>: include_unix
55 <otherlibs/{,win32}unix/unix.cm{,x}a> or <otherlibs/str/str.cm{,x}a>: ocamlmklib
56 <otherlibs/num/nums.cm{,x}a> or <otherlibs/dbm/dbm.cm{,x}a>: ocamlmklib
57 <otherlibs/{,win32}graph/graphics.cm{,x}a>: ocamlmklib
58 <otherlibs/threads/threads.cm{,x}a>: ocamlmklib
59 <otherlibs/bigarray/bigarray.cm{,x}a>: ocamlmklib
61 <otherlibs/{bigarray,systhreads}/**.ml*>: include_unix
63 # See the remark about static linking of threads.cmxa in myocamlbuild.ml
64 <otherlibs/systhreads/threads.cma>: ocamlmklib
66 "otherlibs/threads/pervasives.ml": include_unix
68 <otherlibs/**>: otherlibs
69 <otherlibs/{,win32}unix/**>: otherlibs_unix
70 <otherlibs/win32unix/**>: otherlibs_win32unix
71 <otherlibs/bigarray/**>: otherlibs_bigarray
72 <otherlibs/num/**>: otherlibs_num
73 <otherlibs/threads/**>: otherlibs_threads
74 <otherlibs/systhreads/**>: otherlibs_systhreads
75 <otherlibs/dbm/**>: otherlibs_dbm
76 <otherlibs/graph/**>: otherlibs_graph
77 <otherlibs/win32graph/**>: otherlibs_win32graph
78 <otherlibs/labltk/**>: otherlibs_labltk
80 <otherlibs/labltk/support/tkthread.ml*> or <otherlibs/labltk/browser/*.ml*>: bootstrap_thread
81 <otherlibs/labltk/**.{cm{,x},}a>: ocamlmklib
82 "otherlibs/labltk/browser/jglib.cma": -ocamlmklib
83 "otherlibs/labltk/browser/main.byte": use_unix, use_str, ocamlbrowser, bootstrap_thread
84 <otherlibs/labltk/{browser,jpf}/**.ml*>: include_unix, include_str
85 <otherlibs/labltk/{tkanim,frx}/**.ml*>: include_unix