#**************************************************************************
#*                                                                        *
#*                                 OCaml                                  *
#*                                                                        *
#*                 Damien Doligez, projet Gallium, INRIA                  *
#*                                                                        *
#*   Copyright 2015 Institut National de Recherche en Informatique et     *
#*     en Automatique.                                                    *
#*                                                                        *
#*   All rights reserved.  This file is distributed under the terms of    *
#*   the GNU Lesser General Public License version 2.1, with the          *
#*   special exception on linking described in the file LICENSE.          *
#*                                                                        *
#**************************************************************************

# general patterns

*.o
*.a
*.so
*.obj
*.lib
*.dll
*.cm[ioxat]
*.cmx[as]
*.cmti
*.annot
*.exe
*.exe.manifest
.DS_Store
*.out
*.out.dSYM
*.swp
_ocamltest

# local to root directory

/ocamlc
/ocamlc.opt
/expunge
/ocaml
/ocamlopt
/ocamlopt.opt
/package-macosx
/ocamlnat

# specific files and patterns in sub-directories

/asmcomp/emit.ml
/asmcomp/arch.ml
/asmcomp/proc.ml
/asmcomp/selection.ml
/asmcomp/reload.ml
/asmcomp/scheduling.ml
/asmcomp/CSE.ml

/asmrun/*.p.c
/asmrun/*.d.c
/asmrun/alloc.c
/asmrun/afl.c
/asmrun/array.c
/asmrun/backtrace.c
/asmrun/bigarray.c
/asmrun/callback.c
/asmrun/compact.c
/asmrun/compare.c
/asmrun/custom.c
/asmrun/debugger.c
/asmrun/dynlink.c
/asmrun/extern.c
/asmrun/finalise.c
/asmrun/floats.c
/asmrun/freelist.c
/asmrun/gc_ctrl.c
/asmrun/globroots.c
/asmrun/hash.c
/asmrun/intern.c
/asmrun/ints.c
/asmrun/io.c
/asmrun/lexing.c
/asmrun/main.c
/asmrun/major_gc.c
/asmrun/md5.c
/asmrun/memory.c
/asmrun/meta.c
/asmrun/minor_gc.c
/asmrun/misc.c
/asmrun/obj.c
/asmrun/parsing.c
/asmrun/printexc.c
/asmrun/signals.c
/asmrun/startup_aux.c
/asmrun/str.c
/asmrun/sys.c
/asmrun/terminfo.c
/asmrun/unix.c
/asmrun/weak.c
/asmrun/win32.c

/boot/Saved
/boot/ocamlrun
/boot/ocamlyacc
/boot/camlheader

/bytecomp/runtimedef.ml
/bytecomp/opcodes.ml

/byterun/caml/jumptbl.h
/byterun/caml/m.h
/byterun/caml/s.h
/byterun/primitives
/byterun/prims.c
/byterun/caml/opnames.h
/byterun/caml/version.h
/byterun/ocamlrun
/byterun/ocamlrund
/byterun/ocamlruni
/byterun/ld.conf
/byterun/interp.a.lst
/byterun/*.[sd]obj
/byterun/.gdb_history
/byterun/*.d.c
/byterun/*.pic.c

/config/Makefile
/config/auto-aux/hashbang4

/debugger/lexer.ml
/debugger/parser.ml
/debugger/parser.mli
/debugger/ocamldebug
/driver/compdynlink.mlopt
/driver/compdynlink.mlbyte
/driver/compdynlink.mli

/emacs/ocamltags
/emacs/*.elc

/experimental/garrigue/*.out
/experimental/garrigue/*.out2

/lex/parser.ml
/lex/parser.mli
/lex/lexer.ml
/lex/ocamllex
/lex/ocamllex.opt
/lex/parser.output

/manual/manual/cmds/warnings-help.etex
/manual/manual/warnings-help.etex

/ocamlbuild/ocamlbuild_config.ml
/ocamlbuild/lexers.ml
/ocamlbuild/glob_lexer.ml
/ocamlbuild/ocamlbuild.native
/ocamlbuild/ocamlbuild.byte

/ocamldoc/ocamldoc
/ocamldoc/ocamldoc.opt
/ocamldoc/odoc_crc.ml
/ocamldoc/odoc_lexer.ml
/ocamldoc/odoc_ocamlhtml.ml
/ocamldoc/odoc_parser.ml
/ocamldoc/odoc_parser.mli
/ocamldoc/odoc_see_lexer.ml
/ocamldoc/odoc_text_lexer.ml
/ocamldoc/odoc_text_parser.ml
/ocamldoc/odoc_text_parser.mli
/ocamldoc/stdlib_man
/ocamldoc/stdlib_html
/ocamldoc/*.output
/ocamldoc/test_stdlib
/ocamldoc/test_latex
/ocamldoc/test

/ocamltest/ocamltest
/ocamltest/ocamltest.opt
/ocamltest/ocamltest_config.ml
/ocamltest/tsl_lexer.ml
/ocamltest/tsl_parser.ml
/ocamltest/tsl_parser.mli

/otherlibs/dynlink/extract_crc
/otherlibs/threads/marshal.mli
/otherlibs/threads/pervasives.mli
/otherlibs/threads/unix.mli
/otherlibs/win32graph/graphics.ml
/otherlibs/win32graph/graphics.mli
/otherlibs/win32unix/unixLabels.ml*
/otherlibs/win32unix/unix.mli
/otherlibs/win32unix/access.c
/otherlibs/win32unix/addrofstr.c
/otherlibs/win32unix/chdir.c
/otherlibs/win32unix/chmod.c
/otherlibs/win32unix/cst2constr.c
/otherlibs/win32unix/cstringv.c
/otherlibs/win32unix/execv.c
/otherlibs/win32unix/execve.c
/otherlibs/win32unix/execvp.c
/otherlibs/win32unix/exit.c
/otherlibs/win32unix/getaddrinfo.c
/otherlibs/win32unix/getcwd.c
/otherlibs/win32unix/gethost.c
/otherlibs/win32unix/gethostname.c
/otherlibs/win32unix/getnameinfo.c
/otherlibs/win32unix/getproto.c
/otherlibs/win32unix/getserv.c
/otherlibs/win32unix/gmtime.c
/otherlibs/win32unix/mmap_ba.c
/otherlibs/win32unix/putenv.c
/otherlibs/win32unix/rmdir.c
/otherlibs/win32unix/socketaddr.c
/otherlibs/win32unix/strofaddr.c
/otherlibs/win32unix/time.c
/otherlibs/win32unix/unlink.c
/otherlibs/win32unix/utimes.c

/parsing/parser.ml
/parsing/parser.mli
/parsing/lexer.ml
/parsing/lexer_tmp.mll
/parsing/lexer_tmp.ml
/parsing/linenum.ml
/parsing/parser.output
/parsing/parser.automaton
/parsing/parser.conflicts

/stdlib/camlheader
/stdlib/target_camlheader
/stdlib/camlheader[di]
/stdlib/target_camlheader[di]
/stdlib/camlheader_ur
/stdlib/labelled-*
/stdlib/caml
/stdlib/sys.ml

/testsuite/**/*.result
/testsuite/**/*.opt_result
/testsuite/**/*.corrected
/testsuite/**/*.byte
/testsuite/**/*.native
/testsuite/**/program
/testsuite/**/_log
/testsuite/failure.stamp

/testsuite/_retries

/testsuite/tests/asmcomp/codegen
/testsuite/tests/asmcomp/parsecmm.ml
/testsuite/tests/asmcomp/parsecmm.mli
/testsuite/tests/asmcomp/lexcmm.ml
/testsuite/tests/asmcomp/*.s
/testsuite/tests/asmcomp/*.out.manifest

/testsuite/tests/basic/*.safe-string

/testsuite/tests/embedded/caml

/testsuite/tests/float-unboxing/*.flambda
/testsuite/tests/float-unboxing/float_inline.ml

/testsuite/tests/lib-dynlink-bytecode/main
/testsuite/tests/lib-dynlink-bytecode/static
/testsuite/tests/lib-dynlink-bytecode/custom
/testsuite/tests/lib-dynlink-bytecode/marshal.data
/testsuite/tests/lib-dynlink-bytecode/caml

/testsuite/tests/lib-dynlink-native/mypack.pack.s
/testsuite/tests/lib-dynlink-native/mypack.pack.asm
/testsuite/tests/lib-dynlink-native/result
/testsuite/tests/lib-dynlink-native/main
/testsuite/tests/lib-dynlink-native/marshal.data
/testsuite/tests/lib-dynlink-native/caml

/testsuite/tests/lib-scanf/tscanf_data

/testsuite/tests/lib-threads/*.byt

/testsuite/tests/lib-unix/win-stat/*-file
/testsuite/tests/lib-unix/win-symlink/link*
/testsuite/tests/lib-unix/win-symlink/test.txt

/testsuite/tests/lib-unix/win-symlink/link*
/testsuite/tests/lib-unix/win-symlink/test.txt

/testsuite/tests/opaque/*/*.mli

/testsuite/tests/output_obj/*.bc.c
/testsuite/tests/output_obj/*_stub
/testsuite/tests/output_obj/*_stub

/testsuite/tests/runtime-errors/*.bytecode

/testsuite/tests/self-contained-toplevel/cached_cmi.ml

/testsuite/tests/tool-debugger/**/compiler-libs
/testsuite/tests/tool-debugger/find-artifacts/out
/testsuite/tests/tool-debugger/no_debug_event/out
/testsuite/tests/tool-debugger/no_debug_event/c

/testsuite/tests/tool-ocamldep-modalias/*.byt*
/testsuite/tests/tool-ocamldep-modalias/*.opt*
/testsuite/tests/tool-ocamldep-modalias/depend.mk
/testsuite/tests/tool-ocamldep-modalias/depend.mk2
/testsuite/tests/tool-ocamldep-modalias/depend.mod
/testsuite/tests/tool-ocamldep-modalias/depend.mod2
/testsuite/tests/tool-ocamldep-modalias/depend.mod3

/testsuite/tests/tool-ocamldoc/*.html
/testsuite/tests/tool-ocamldoc/*.sty
/testsuite/tests/tool-ocamldoc/*.css

/testsuite/tests/tool-ocamldoc-2/ocamldoc.sty

/testsuite/tests/tool-ocamldoc-html/*.html
/testsuite/tests/tool-ocamldoc-html/style.css

/testsuite/tests/tool-ocamldoc-man/*.3o

/testsuite/tests/tool-ocamldoc-open/alias.odoc
/testsuite/tests/tool-ocamldoc-open/inner.odoc
/testsuite/tests/tool-ocamldoc-open/main.odoc
/testsuite/tests/tool-ocamldoc-open/ocamldoc.sty

/testsuite/tests/tool-lexyacc/scanner.ml
/testsuite/tests/tool-lexyacc/grammar.mli
/testsuite/tests/tool-lexyacc/grammar.ml

/testsuite/tests/typing-misc/false.flat-float
/testsuite/tests/typing-misc/true.flat-float
/testsuite/tests/typing-misc/pr6939.ml

/testsuite/tests/typing-multifile/a.ml
/testsuite/tests/typing-multifile/b.ml
/testsuite/tests/typing-multifile/c.ml
/testsuite/tests/typing-multifile/d.mli
/testsuite/tests/typing-multifile/e.ml
/testsuite/tests/typing-multifile/f.ml
/testsuite/tests/typing-multifile/g.ml
/testsuite/tests/typing-multifile/test

/testsuite/tests/typing-unboxed-types/false.flat-float
/testsuite/tests/typing-unboxed-types/true.flat-float
/testsuite/tests/typing-unboxed-types/test.ml.reference

/testsuite/tests/translprim/false.flat-float
/testsuite/tests/translprim/true.flat-float
/testsuite/tests/translprim/array_spec.ml.reference
/testsuite/tests/translprim/module_coercion.ml.reference

/testsuite/tests/unboxed-primitive-args/main.ml
/testsuite/tests/unboxed-primitive-args/stubs.c

/testsuite/tests/unwind/unwind_test

/testsuite/tests/warnings/w55.opt.opt_result
/testsuite/tests/warnings/w58.opt.opt_result

/testsuite/tests/win-unicode/symlink_tests.precheck

/testsuite/tools/expect_test

/tools/ocamldep
/tools/ocamldep.opt
/tools/ocamldep.bak
/tools/ocamlprof
/tools/ocamlprof.opt
/tools/opnames.ml
/tools/dumpobj
/tools/dumpobj.opt
/tools/dumpapprox
/tools/ocamlobjinfo
/tools/ocamlobjinfo.opt
/tools/cvt_emit
/tools/cvt_emit.opt
/tools/cvt_emit.bak
/tools/cvt_emit.ml
/tools/ocamlcp
/tools/ocamlcp.opt
/tools/ocamloptp
/tools/ocamloptp.opt
/tools/ocamlmktop
/tools/ocamlmktop.opt
/tools/primreq
/tools/primreq.opt
/tools/ocamldumpobj
/tools/keywords
/tools/lexer299.ml
/tools/ocaml299to3
/tools/ocamlmklib
/tools/ocamlmklib.opt
/tools/ocamlmklibconfig.ml
/tools/lexer301.ml
/tools/scrapelabels
/tools/addlabels
/tools/objinfo_helper
/tools/read_cmt
/tools/read_cmt.opt
/tools/cmpbyt
/tools/cmpbyt.opt
/tools/stripdebug
/tools/stripdebug.opt
/tools/make_opcodes
/tools/make_opcodes.ml

/utils/config.ml

/yacc/ocamlyacc
/yacc/version.h
/yacc/.gdb_history
