2016-07-08 20:11:43 +08:00
|
|
|
# Ignore editor artefacts
|
2015-09-01 03:45:56 +08:00
|
|
|
/.dir-locals.el
|
2013-01-19 20:20:21 +08:00
|
|
|
|
2013-01-07 00:47:36 +08:00
|
|
|
# Top level excludes
|
2016-01-13 05:25:30 +08:00
|
|
|
/Makefile.orig
|
2013-02-27 05:50:40 +08:00
|
|
|
/MINFO
|
2015-03-17 05:36:19 +08:00
|
|
|
/TABLE
|
2013-01-07 00:47:36 +08:00
|
|
|
/*.pc
|
|
|
|
/rehash.time
|
2013-06-13 22:39:23 +08:00
|
|
|
/inc.*
|
|
|
|
/makefile.*
|
|
|
|
/out.*
|
|
|
|
/tmp.*
|
Refactor file writing - introduce template driven file writing
apps/CA.pl and tools/c_rehash are built from template files. So far,
this was done by Configure, which created its own problems as it
forced everyone to reconfigure just because one of the template files
had changed.
Instead, have those files created as part of the normal build in apps/
and in tools/.
Furthermore, this prepares for a future where Configure may produce
entirely other build files than Makefile, and the latter can't be
guaranteed to be the holder of all information for other scripts.
Instead, configdata.pm (described below) becomes the center of
configuration information.
This introduces a few new things:
%config a hash table to hold all kinds of configuration data
that can be used by any other script.
configdata.pm a perl module that Configure writes. It currently
holds the hash tables %config and %target.
util/dofile.pl a script that takes a template on STDIN and outputs
the result after applying configuration data on it.
It's supposed to be called like this:
perl -I$(TOP) -Mconfigdata < template > result
or
perl -I$(TOP) -Mconfigdata templ1 templ2 ... > result
Note: util/dofile.pl requires Text::Template.
As part of this changed, remove a number of variables that are really
just copies of entries in %target, and use %target directly. The
exceptions are $target{cflags} and $target{lflags}, they do get copied
to $cflags and $lflags. The reason for this is that those variable
potentially go through a lot of changes and would rather deserve a
place in %config. That, however, is for another commit.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-05-19 04:35:23 +08:00
|
|
|
/configdata.pm
|
2013-01-07 00:47:36 +08:00
|
|
|
|
2016-02-12 21:13:06 +08:00
|
|
|
# *all* Makefiles
|
|
|
|
Makefile
|
2016-09-09 07:01:15 +08:00
|
|
|
# ... except in demos
|
|
|
|
!/demos/*/Makefile
|
2016-01-13 05:25:30 +08:00
|
|
|
|
2013-01-07 00:47:36 +08:00
|
|
|
# Links under apps
|
2013-01-07 03:06:40 +08:00
|
|
|
/apps/CA.pl
|
2016-04-06 22:04:55 +08:00
|
|
|
/apps/tsget
|
2016-06-08 20:08:53 +08:00
|
|
|
/apps/tsget.pl
|
2013-01-07 03:06:40 +08:00
|
|
|
/apps/md4.c
|
2013-01-07 00:47:36 +08:00
|
|
|
|
|
|
|
# Auto generated headers
|
2013-01-07 03:06:40 +08:00
|
|
|
/crypto/buildinf.h
|
2016-01-25 22:44:08 +08:00
|
|
|
/crypto/include/internal/*_conf.h
|
2016-03-19 07:51:51 +08:00
|
|
|
/openssl/include/opensslconf.h
|
|
|
|
/util/domd
|
2013-01-07 00:47:36 +08:00
|
|
|
|
2017-06-08 03:12:03 +08:00
|
|
|
# error code files
|
|
|
|
/crypto/err/openssl.txt.old
|
|
|
|
/engines/e_afalg.txt.old
|
|
|
|
/engines/e_capi.txt.old
|
|
|
|
/engines/e_dasync.txt.old
|
|
|
|
/engines/e_ossltest.txt.old
|
|
|
|
|
2013-01-07 00:47:36 +08:00
|
|
|
# Executables
|
2013-01-07 03:06:40 +08:00
|
|
|
/apps/openssl
|
|
|
|
/test/sha256t
|
|
|
|
/test/sha512t
|
2013-01-20 01:41:44 +08:00
|
|
|
/test/gost2814789t
|
2016-04-06 22:04:55 +08:00
|
|
|
/test/ssltest_old
|
2013-01-07 03:06:40 +08:00
|
|
|
/test/*test
|
|
|
|
/test/fips_aesavs
|
|
|
|
/test/fips_desmovs
|
|
|
|
/test/fips_dhvs
|
|
|
|
/test/fips_drbgvs
|
|
|
|
/test/fips_dssvs
|
|
|
|
/test/fips_ecdhvs
|
|
|
|
/test/fips_ecdsavs
|
|
|
|
/test/fips_rngvs
|
|
|
|
/test/fips_test_suite
|
2016-04-06 22:03:06 +08:00
|
|
|
/test/ssltest_old
|
2016-05-23 20:48:22 +08:00
|
|
|
/test/x509aux
|
2016-06-08 23:37:06 +08:00
|
|
|
/test/v3ext
|
2016-10-12 19:07:33 +08:00
|
|
|
/test/ossl_shim/ossl_shim
|
2016-07-08 20:11:43 +08:00
|
|
|
|
|
|
|
# Certain files that get created by tests on the fly
|
|
|
|
/test/*.ss
|
|
|
|
/test/*.srl
|
|
|
|
/test/.rnd
|
|
|
|
/test/test*.pem
|
|
|
|
/test/newkey.pem
|
|
|
|
/test/*.log
|
|
|
|
/test/buildtest_*
|
|
|
|
|
|
|
|
# Fuzz stuff.
|
|
|
|
# Anything without an extension is an executable on Unix, so we keep files
|
|
|
|
# with extensions. And we keep the corpora subddir versioned as well.
|
|
|
|
# Anything more generic with extensions that should be ignored will be taken
|
|
|
|
# care of by general ignores for those extensions (*.o, *.obj, *.exe, ...)
|
|
|
|
/fuzz/*
|
|
|
|
!/fuzz/README*
|
|
|
|
!/fuzz/corpora
|
|
|
|
!/fuzz/*.*
|
2013-01-07 00:47:36 +08:00
|
|
|
|
|
|
|
# Misc auto generated files
|
2016-01-22 20:06:26 +08:00
|
|
|
/include/openssl/opensslconf.h
|
2013-01-07 03:06:40 +08:00
|
|
|
/tools/c_rehash
|
2016-06-08 20:08:53 +08:00
|
|
|
/tools/c_rehash.pl
|
2016-09-12 00:47:39 +08:00
|
|
|
/util/shlib_wrap.sh
|
2016-01-22 20:06:26 +08:00
|
|
|
/tags
|
|
|
|
/TAGS
|
|
|
|
/crypto.map
|
|
|
|
/ssl.map
|
2015-01-09 18:19:10 +08:00
|
|
|
|
2016-06-08 20:08:53 +08:00
|
|
|
# Windows (legacy)
|
2015-04-01 17:36:18 +08:00
|
|
|
/tmp32
|
|
|
|
/tmp32.dbg
|
2015-01-09 18:19:10 +08:00
|
|
|
/tmp32dll
|
2015-01-10 07:01:20 +08:00
|
|
|
/tmp32dll.dbg
|
2015-04-01 17:36:18 +08:00
|
|
|
/out32
|
|
|
|
/out32.dbg
|
2015-01-09 18:19:10 +08:00
|
|
|
/out32dll
|
2015-01-10 07:01:20 +08:00
|
|
|
/out32dll.dbg
|
2015-01-09 18:19:10 +08:00
|
|
|
/inc32
|
|
|
|
/MINFO
|
2016-03-09 22:38:06 +08:00
|
|
|
/ms/.rnd
|
2016-01-22 20:06:26 +08:00
|
|
|
/ms/bcb.mak
|
|
|
|
/ms/libeay32.def
|
|
|
|
/ms/nt.mak
|
|
|
|
/ms/ntdll.mak
|
|
|
|
/ms/ssleay32.def
|
|
|
|
/ms/version32.rc
|
2015-05-22 16:28:43 +08:00
|
|
|
|
|
|
|
# Files created on other branches that are not held in git, and are not
|
|
|
|
# needed on this branch
|
2016-01-22 20:06:26 +08:00
|
|
|
/include/openssl/asn1_mac.h
|
|
|
|
/include/openssl/des_old.h
|
|
|
|
/include/openssl/fips.h
|
|
|
|
/include/openssl/fips_rand.h
|
|
|
|
/include/openssl/krb5_asn.h
|
|
|
|
/include/openssl/kssl.h
|
|
|
|
/include/openssl/pq_compat.h
|
|
|
|
/include/openssl/ssl23.h
|
|
|
|
/include/openssl/tmdiff.h
|
|
|
|
/include/openssl/ui_compat.h
|
|
|
|
/test/fips_aesavs.c
|
|
|
|
/test/fips_desmovs.c
|
|
|
|
/test/fips_dsatest.c
|
|
|
|
/test/fips_dssvs.c
|
|
|
|
/test/fips_hmactest.c
|
|
|
|
/test/fips_randtest.c
|
|
|
|
/test/fips_rngvs.c
|
|
|
|
/test/fips_rsagtest.c
|
|
|
|
/test/fips_rsastest.c
|
|
|
|
/test/fips_rsavtest.c
|
|
|
|
/test/fips_shatest.c
|
|
|
|
/test/fips_test_suite.c
|
|
|
|
/test/shatest.c
|
2016-07-08 20:11:43 +08:00
|
|
|
|
|
|
|
##### Generic patterns
|
|
|
|
# Auto generated assembly language source files
|
|
|
|
*.s
|
|
|
|
!/crypto/*/asm/*.s
|
|
|
|
/crypto/arm*.S
|
|
|
|
/crypto/*/*.S
|
|
|
|
*.asm
|
|
|
|
!/crypto/*/asm/*.asm
|
|
|
|
|
|
|
|
# Object files
|
|
|
|
*.o
|
|
|
|
*.obj
|
|
|
|
|
|
|
|
# editor artefacts
|
|
|
|
*.swp
|
|
|
|
.#*
|
|
|
|
\#*#
|
|
|
|
*~
|
|
|
|
|
|
|
|
# Certificate symbolic links
|
|
|
|
*.0
|
|
|
|
|
2017-04-26 00:29:04 +08:00
|
|
|
# All kinds of libraries and executables
|
|
|
|
*.a
|
2016-07-08 20:11:43 +08:00
|
|
|
*.so
|
|
|
|
*.so.*
|
|
|
|
*.dylib
|
|
|
|
*.dylib.*
|
|
|
|
*.dll
|
|
|
|
*.dll.*
|
|
|
|
*.exe
|
|
|
|
*.pyc
|
|
|
|
*.exp
|
|
|
|
*.lib
|
|
|
|
*.pdb
|
|
|
|
*.ilk
|
|
|
|
*.def
|
|
|
|
*.rc
|
|
|
|
*.res
|
|
|
|
|
|
|
|
# Misc generated stuff
|
|
|
|
Makefile.save
|
|
|
|
/crypto/**/lib
|
|
|
|
/engines/**/lib
|
|
|
|
/ssl/**/lib
|
|
|
|
*.bak
|
|
|
|
cscope.*
|
|
|
|
*.d
|
2016-08-04 01:53:21 +08:00
|
|
|
pod2htmd.tmp
|
|
|
|
|
|
|
|
# Windows manifest files
|
|
|
|
*.manifest
|
2017-01-12 21:20:54 +08:00
|
|
|
doc-nits
|