# Match at any level.
*~
autom4te.cache
*.beam
*.asn1db

!/bootstrap/lib/compiler/ebin/*.beam
!/bootstrap/lib/kernel/ebin/*.beam
!/bootstrap/lib/stdlib/ebin/*.beam
!/erts/preloaded/ebin/*.beam
!/lib/*/test/*_SUITE_data/*.beam

# Anchored from $ERL_TOP
/bin
/config.log
/config.status

/bootstrap/bin/*
!/bootstrap/bin/*.script
!/bootstrap/bin/*.boot

/bootstrap/lib/asn1
/bootstrap/lib/hipe
/bootstrap/lib/ic
/bootstrap/lib/parsetools
/bootstrap/lib/sasl
/bootstrap/lib/snmp
/bootstrap/lib/syntax_tools
/bootstrap/lib/wx

/Makefile
/configure

/release

# General patterns for applications in lib.
#
# Assume that all test/Emakefiles are generated.
#
# Any application with a checked-in test/Emakefile should
# use a negative pattern in its own .gitignore.

/lib/*/ebin/*.app
/lib/*/ebin/*.appup

/lib/*/test/Emakefile

/lib/configure
/lib/config.log
/lib/config.status

#
# Files generated by configure.
#

/lib/*/configure
/lib/*/config.log
/lib/*/config.status

# common_test

/lib/common_test/priv/install.sh

# compiler
/lib/compiler/src/beam_opcodes.erl
/lib/compiler/src/beam_opcodes.hrl
/lib/compiler/src/core_parse.erl

/lib/compiler/test/*_r11_SUITE.erl
/lib/compiler/test/*_no_opt_SUITE.erl
/lib/compiler/test/*_post_opt_SUITE.erl

# edoc

/lib/edoc/priv/edoc_generate

# gs

/lib/gs/src/gstk_generic.hrl
/lib/gs/contribs/ebin/*.gif
/lib/gs/contribs/ebin/*.tool

# hipe

/lib/hipe/main/hipe.hrl

# ic

/lib/ic/examples/pre_post_condition/m.hrl
/lib/ic/examples/pre_post_condition/m_i.erl
/lib/ic/examples/pre_post_condition/m_i.hrl
/lib/ic/examples/pre_post_condition/m_NotAnInteger.erl
/lib/ic/examples/pre_post_condition/oe_ex.erl
/lib/ic/examples/pre_post_condition/oe_ex.hrl
/lib/ic/priv/com/
/lib/ic/priv/ic.jar
/lib/ic/src/icparse.erl

# jinterface

/lib/jinterface/priv/OtpErlang.jar
/lib/jinterface/priv/com/

# kernel

/lib/kernel/src/inet_dns_record_adts.hrl

# otp_mibs

/lib/otp_mibs/include/[A-Z]*.hrl
/lib/otp_mibs/mibs/v1/OTP*.mib.v1
/lib/otp_mibs/priv/mibs/OTP*.bin

# os_mon

/lib/os_mon/include/[A-Z]*.hrl
/lib/os_mon/mibs/v1/OTP*.mib.v1
/lib/os_mon/priv/mibs/OTP*.bin

# public_key

/lib/public_key/asn1/*.asn1db
/lib/public_key/asn1/*.erl
/lib/public_key/asn1/*.hrl
/lib/public_key/include/OTP-PUB-KEY.hrl

# ssh

/lib/ssh/src/*.asn1db
/lib/ssh/src/DSS.erl
/lib/ssh/src/DSS.hrl
/lib/ssh/src/PKCS-1.erl
/lib/ssh/src/PKCS-1.hrl

# ssl

/lib/ssl/pkix/*.asn1db
/lib/ssl/examples/certs/done
/lib/ssl/examples/certs/ebin/make_certs.beam
/lib/ssl/examples/certs/etc/
/lib/ssl/include/OTP-PKIX.hrl
/lib/ssl/pkix/OTP-PKIX.erl
/lib/ssl/pkix/OTP-PKIX.hrl
/lib/ssl/pkix/ssl_pkix_oid.erl

# snmp

/lib/snmp/bin/snmp-v2tov1
/lib/snmp/examples/ex1/EX1-MIB.bin
/lib/snmp/mibs/Makefile
/lib/snmp/mibs/v1/OTP-SNMPEA-MIB.mib.v1
/lib/snmp/src/compile/snmpc_mib_gram.erl
/lib/snmp/include/[A-Z]*.hrl
/lib/snmp/priv/mibs/[A-Z]*.bin

# test_server
/lib/test_server/src/configure

# wx
/lib/wx/c_src/Makefile
/lib/wx/config.mk
/lib/wx/api_gen/wx_xml/*
/lib/wx/api_gen/gl_xml/*
/lib/wx/api_gen/??_doxygen
/lib/wx/api_gen/??xml_generated
/lib/wx/wx-*.ez

# xmerl

/lib/xmerl/src/xmerl_sax_parser_*.erl
/lib/xmerl/src/xmerl_b64Bin.erl
/lib/xmerl/src/xmerl_xpath_parse.erl