mirror of
https://github.com/openssl/openssl.git
synced 2024-11-25 02:53:30 +08:00
291e94df90
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>
136 lines
1.9 KiB
Plaintext
136 lines
1.9 KiB
Plaintext
# Object files
|
|
*.o
|
|
*.obj
|
|
|
|
# editor artefacts
|
|
*.swp
|
|
.#*
|
|
\#*#
|
|
*~
|
|
/.dir-locals.el
|
|
|
|
# Top level excludes
|
|
/Makefile.orig
|
|
/Makefile
|
|
/MINFO
|
|
/TABLE
|
|
/*.a
|
|
/*.pc
|
|
/rehash.time
|
|
/inc.*
|
|
/makefile.*
|
|
/out.*
|
|
/tmp.*
|
|
/configdata.pm
|
|
|
|
**/Makefile
|
|
|
|
/test/*.ss
|
|
/test/*.srl
|
|
/test/.rnd
|
|
/test/test*.pem
|
|
/test/newkey.pem
|
|
/test/*.log
|
|
|
|
# Certificate symbolic links
|
|
*.0
|
|
|
|
# Links under apps
|
|
/apps/CA.pl
|
|
/apps/md4.c
|
|
|
|
|
|
# Auto generated headers
|
|
/crypto/buildinf.h
|
|
/crypto/opensslconf.h
|
|
|
|
# Auto generated assembly language source files
|
|
*.s
|
|
!/crypto/*/asm/*.s
|
|
/crypto/arm*.S
|
|
/crypto/*/*.S
|
|
*.asm
|
|
!/crypto/*/asm/*.asm
|
|
|
|
# Executables
|
|
/apps/openssl
|
|
/test/sha256t
|
|
/test/sha512t
|
|
/test/gost2814789t
|
|
/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
|
|
*.so*
|
|
*.dylib*
|
|
*.dll*
|
|
*.exe
|
|
# Exceptions
|
|
!/test/bctest
|
|
!/crypto/des/times/486-50.sol
|
|
|
|
# Misc auto generated files
|
|
/include/openssl/opensslconf.h
|
|
/tools/c_rehash
|
|
/crypto/**/lib
|
|
/engines/**/lib
|
|
/ssl/**/lib
|
|
Makefile.save
|
|
*.bak
|
|
/tags
|
|
/TAGS
|
|
cscope.out
|
|
*.d
|
|
/crypto.map
|
|
/ssl.map
|
|
|
|
# Windows
|
|
/tmp32
|
|
/tmp32.dbg
|
|
/tmp32dll
|
|
/tmp32dll.dbg
|
|
/out32
|
|
/out32.dbg
|
|
/out32dll
|
|
/out32dll.dbg
|
|
/inc32
|
|
/MINFO
|
|
/ms/bcb.mak
|
|
/ms/libeay32.def
|
|
/ms/nt.mak
|
|
/ms/ntdll.mak
|
|
/ms/ssleay32.def
|
|
/ms/version32.rc
|
|
|
|
# Files created on other branches that are not held in git, and are not
|
|
# needed on this branch
|
|
/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
|