#**************************************************************************
#*                                                                        *
#*                                 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
*.la
*.cm[ioxat]
*.cmx[as]
*.cmti
*.annot
*.exe
*.exe.manifest
.DS_Store
*.out
*.out.dSYM
*.swp
_ocamltest
_ocamltestd
*.odoc
.merlin
_build
META

# local to root directory

/.dep
/Makefile.build_config
/Makefile.config
/autom4te.cache
/ocamlc
/config.cache
/ocaml-*.cache
/config.log
/config.status
/configure~
/flexlink.opt
/libtool
/ocamlc.opt
/expunge
/ocaml
/ocamlopt
/ocamlopt.opt
/ocamlnat
/_opam

# specific files and patterns in sub-directories

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

/boot/ocamlrun
/boot/runtime-launch-info
/boot/ocamlc.opt

/byte/**

/bytecomp/opcodes.ml
/bytecomp/opcodes.mli

/debugger/debugger_lexer.ml
/debugger/debugger_parser.ml
/debugger/debugger_parser.mli
/debugger/debugger_parser.output
/debugger/ocamldebug

/emacs/ocamltags
/emacs/*.elc

/flexdll-sources

/lambda/runtimedef.ml

/lex/parser.ml
/lex/parser.mli
/lex/lexer.ml
/lex/ocamllex
/lex/ocamllex.opt
/lex/parser.output
/manual/src/allfiles.tex
/manual/src/biblio.tex
/manual/src/foreword.tex
/manual/src/version.tex
/manual/src/warnings.etex
/manual/src/warnings.tex
/manual/src/foreword.htex
/manual/src/manual.html
/manual/src/webman
/manual/src/ifocamldoc.tex
/manual/src/cmds/*.tex
/manual/src/cmds/*.htex
/manual/src/cmds/warnings.etex
/manual/src/cmds/warnings-help.etex
/manual/src/html_processing/.sass-cache
/manual/src/html_processing/camlp-streams
/manual/src/html_processing/dune
/manual/src/html_processing/markup.ml
/manual/src/html_processing/uchar
/manual/src/html_processing/uutf
/manual/src/html_processing/lambdasoup
/manual/src/html_processing/ocaml-re
/manual/src/html_processing/src/common.ml
/manual/src/htmlman/*.html
/manual/src/htmlman/*.haux
/manual/src/htmlman/*.hind
/manual/src/htmlman/compilerlibref
/manual/src/htmlman/highlight.pack.js
/manual/src/htmlman/katex.min.css
/manual/src/htmlman/katex.min.js
/manual/src/htmlman/libref
/manual/src/htmlman/fonts/KaTeX*
/manual/src/htmlman/manual.hmanual
/manual/src/htmlman/manual.hmanual.kwd
/manual/src/htmlman/manual.css
/manual/src/htmlman/odoc.css
/manual/src/htmlman/*.htoc
/manual/src/htmlman/*.svg
/manual/src/infoman/*.haux
/manual/src/infoman/*.hind
/manual/src/infoman/*.info*.gz
/manual/src/infoman/*.info.body*
/manual/src/infoman/ocaml.hocaml.kwd
/manual/src/library/*.tex
/manual/src/library/*.htex
/manual/src/library/ocamldoc.out
/manual/src/library/ocamldoc.sty
/manual/src/library/compiler_libs.txt
/manual/src/refman/*.tex
/manual/src/refman/*.htex
/manual/src/refman/extensions/*.tex
/manual/src/refman/extensions/*.htex
/manual/src/texstuff/*.aux
/manual/src/texstuff/*.dvi
/manual/src/texstuff/*.idx
/manual/src/texstuff/*.ilg
/manual/src/texstuff/*.ind
/manual/src/texstuff/*.log
/manual/src/texstuff/*.toc
/manual/src/texstuff/*.ipr
/manual/src/texstuff/*.txt
/manual/src/texstuff/*.pdf
/manual/src/texstuff/*.ps
/manual/src/texstuff/manual.out
/manual/src/textman/manual.txt
/manual/src/textman/manual.hmanual.kwd
/manual/src/textman/*.haux
/manual/src/textman/*.hind
/manual/src/textman/*.htoc
/manual/src/tutorials/*.tex
/manual/src/tutorials/*.htex
/manual/src/warnings-help.etex
/manual/tests/cross-reference-checker
/manual/tools/transf.ml
/manual/tools/texquote2
/manual/tools/transf

/api_docgen/build
/api_docgen/odoc/build
/api_docgen/ocamldoc/build

/ocamldoc/ocamldoc
/ocamldoc/ocamldoc.opt
/ocamldoc/odoc
/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/*.output

/ocamltest/ocamltest
/ocamltest/ocamltest.opt
/ocamltest/ocamltest_config.ml
/ocamltest/ocamltest_unix.ml
/ocamltest/tsl_lexer.ml
/ocamltest/tsl_parser.ml
/ocamltest/tsl_parser.mli
/ocamltest/tsl_parser.output
/ocamltest/ocamltest.html

/opt/**

/otherlibs/*/.dep
/otherlibs/dynlink/dynlink_platform_intf.mli
/otherlibs/dynlink/byte/dynlink.mli
/otherlibs/dynlink/native/dynlink.mli
/otherlibs/dynlink/dynlink_compilerlibs/Makefile
/otherlibs/dynlink/dynlink_compilerlibs/*.ml
/otherlibs/dynlink/dynlink_compilerlibs/*.mli
/otherlibs/dynlink/dynlink_compilerlibs/.depend
/otherlibs/unix/unix.ml

/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
/parsing/parser.auto.messages
/parsing/camlinternalMenhirLib.ml
/parsing/camlinternalMenhirLib.mli

/runtime/domain_state.inc
/runtime/caml/jumptbl.h
/runtime/caml/m.h
/runtime/caml/s.h
/runtime/primitives
/runtime/primitives*.new
/runtime/prims.c
/runtime/caml/exec.h
/runtime/caml/opnames.h
/runtime/caml/version.h
/runtime/ocamlrun
/runtime/ocamlrund
/runtime/ocamlruni
/runtime/ld.conf
/runtime/.gdb_history
/runtime/build_config.h
/runtime/sak

/stdlib/runtime.info
/stdlib/runtime-launch-info
/stdlib/labelled-*
/stdlib/caml
/stdlib/sys.ml
/stdlib/target_runtime.info
/stdlib/target_runtime-launch-info

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

/testsuite/_retries

/testsuite/tools/codegen
/testsuite/tools/expect
/testsuite/tools/lexcmm.ml
/testsuite/tools/parsecmm.ml
/testsuite/tools/parsecmm.mli
/testsuite/tools/parsecmm.output

/tools/ocamldep
/tools/ocamldep.opt
/tools/ocamlprof
/tools/ocamlprof.opt
/tools/opnames.ml
/tools/dumpobj
/tools/dumpobj.opt
/tools/ocamlobjinfo
/tools/ocamlobjinfo.opt
/tools/cvt_emit
/tools/cvt_emit.opt
/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/ocamlmklib
/tools/ocamlmklib.opt
/tools/ocamlcmt
/tools/ocamlcmt.opt
/tools/cmpbyt
/tools/cmpbyt.opt
/tools/stripdebug
/tools/stripdebug.opt
/tools/make_opcodes
/tools/make_opcodes.ml
/tools/ocamltex
/tools/eventlog_metadata
/tools/lintapidiff.opt

/toplevel/byte/topeval.mli
/toplevel/byte/trace.mli
/toplevel/byte/topmain.mli
/toplevel/native/topeval.mli
/toplevel/native/trace.mli
/toplevel/native/topmain.mli

/utils/config_boot.ml
/utils/config_boot.mli
/utils/config.common.ml
/utils/config.generated.ml
/utils/config_main.ml
/utils/config_main.mli
/utils/config.ml
/utils/domainstate.ml
/utils/domainstate.mli

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