1e1051a39Sopenharmony_ciSUBDIRS=lib 2e1051a39Sopenharmony_ci 3e1051a39Sopenharmony_ci# Program init source, that don't have direct linkage with the rest of the 4e1051a39Sopenharmony_ci# source, and can therefore not be part of a library. 5e1051a39Sopenharmony_ciIF[{- !$disabled{uplink} -}] 6e1051a39Sopenharmony_ci $INITSRC=../ms/applink.c 7e1051a39Sopenharmony_ciENDIF 8e1051a39Sopenharmony_ciIF[{- $config{target} =~ /^vms-/ -}] 9e1051a39Sopenharmony_ci $INITSRC=vms_decc_init.c 10e1051a39Sopenharmony_ciENDIF 11e1051a39Sopenharmony_ci 12e1051a39Sopenharmony_ci# Source for the 'openssl' program 13e1051a39Sopenharmony_ci$OPENSSLSRC=\ 14e1051a39Sopenharmony_ci openssl.c \ 15e1051a39Sopenharmony_ci asn1parse.c ca.c ciphers.c crl.c crl2pkcs7.c dgst.c \ 16e1051a39Sopenharmony_ci enc.c errstr.c \ 17e1051a39Sopenharmony_ci genpkey.c kdf.c mac.c nseq.c passwd.c pkcs7.c \ 18e1051a39Sopenharmony_ci pkcs8.c pkey.c pkeyparam.c pkeyutl.c prime.c rand.c req.c \ 19e1051a39Sopenharmony_ci s_client.c s_server.c s_time.c sess_id.c smime.c speed.c \ 20e1051a39Sopenharmony_ci spkac.c verify.c version.c x509.c rehash.c storeutl.c \ 21e1051a39Sopenharmony_ci list.c info.c fipsinstall.c pkcs12.c 22e1051a39Sopenharmony_ciIF[{- !$disabled{'ec'} -}] 23e1051a39Sopenharmony_ci $OPENSSLSRC=$OPENSSLSRC ec.c ecparam.c 24e1051a39Sopenharmony_ciENDIF 25e1051a39Sopenharmony_ciIF[{- !$disabled{'ocsp'} -}] 26e1051a39Sopenharmony_ci $OPENSSLSRC=$OPENSSLSRC ocsp.c 27e1051a39Sopenharmony_ciENDIF 28e1051a39Sopenharmony_ciIF[{- !$disabled{'srp'} -}] 29e1051a39Sopenharmony_ci $OPENSSLSRC=$OPENSSLSRC srp.c 30e1051a39Sopenharmony_ciENDIF 31e1051a39Sopenharmony_ciIF[{- !$disabled{'ts'} -}] 32e1051a39Sopenharmony_ci $OPENSSLSRC=$OPENSSLSRC ts.c 33e1051a39Sopenharmony_ciENDIF 34e1051a39Sopenharmony_ciIF[{- !$disabled{'dh'} -}] 35e1051a39Sopenharmony_ci$OPENSSLSRC=$OPENSSLSRC dhparam.c 36e1051a39Sopenharmony_ciENDIF 37e1051a39Sopenharmony_ciIF[{- !$disabled{'dsa'} -}] 38e1051a39Sopenharmony_ci$OPENSSLSRC=$OPENSSLSRC dsa.c dsaparam.c gendsa.c 39e1051a39Sopenharmony_ciENDIF 40e1051a39Sopenharmony_ciIF[{- !$disabled{'engine'} -}] 41e1051a39Sopenharmony_ci$OPENSSLSRC=$OPENSSLSRC engine.c 42e1051a39Sopenharmony_ciENDIF 43e1051a39Sopenharmony_ciIF[{- !$disabled{'rsa'} -}] 44e1051a39Sopenharmony_ci$OPENSSLSRC=$OPENSSLSRC rsa.c genrsa.c 45e1051a39Sopenharmony_ciENDIF 46e1051a39Sopenharmony_ciIF[{- !$disabled{'deprecated-3.0'} -}] 47e1051a39Sopenharmony_ci IF[{- !$disabled{'rsa'} -}] 48e1051a39Sopenharmony_ci $OPENSSLSRC=$OPENSSLSRC rsautl.c 49e1051a39Sopenharmony_ci ENDIF 50e1051a39Sopenharmony_ciENDIF 51e1051a39Sopenharmony_ciIF[{- !$disabled{'cms'} -}] 52e1051a39Sopenharmony_ci $OPENSSLSRC=$OPENSSLSRC cms.c 53e1051a39Sopenharmony_ciENDIF 54e1051a39Sopenharmony_ciIF[{- !$disabled{'cmp'} -}] 55e1051a39Sopenharmony_ci $OPENSSLSRC=$OPENSSLSRC cmp.c lib/cmp_mock_srv.c 56e1051a39Sopenharmony_ciENDIF 57e1051a39Sopenharmony_ci 58e1051a39Sopenharmony_ciIF[{- !$disabled{apps} -}] 59e1051a39Sopenharmony_ci PROGRAMS=openssl 60e1051a39Sopenharmony_ci SOURCE[openssl]=$INITSRC $OPENSSLSRC 61e1051a39Sopenharmony_ci INCLUDE[openssl]=.. ../include include 62e1051a39Sopenharmony_ci DEPEND[openssl]=libapps.a ../libssl 63e1051a39Sopenharmony_ci 64e1051a39Sopenharmony_ci # The nocheck attribute is picked up by progs.pl as a signal not to look 65e1051a39Sopenharmony_ci # at that file; some systems may have locked it as the output file, and 66e1051a39Sopenharmony_ci # therefore don't allow it to be read at the same time, making progs.pl 67e1051a39Sopenharmony_ci # fail. 68e1051a39Sopenharmony_ci SOURCE[openssl]{nocheck}=progs.c 69e1051a39Sopenharmony_ci DEPEND[${OPENSSLSRC/.c/.o} progs.o]=progs.h 70e1051a39Sopenharmony_ci GENERATE[progs.c]=progs.pl "-C" $(APPS_OPENSSL) 71e1051a39Sopenharmony_ci GENERATE[progs.h]=progs.pl "-H" $(APPS_OPENSSL) 72e1051a39Sopenharmony_ci # progs.pl tries to read all 'openssl' sources, including progs.c, so we make 73e1051a39Sopenharmony_ci # sure things are generated in the correct order. 74e1051a39Sopenharmony_ci DEPEND[progs.h]=progs.c 75e1051a39Sopenharmony_ci # Because the files to look through may change (depends on $OPENSSLSRC), 76e1051a39Sopenharmony_ci # always depend on a changed configuration. 77e1051a39Sopenharmony_ci DEPEND[progs.c]=../configdata.pm 78e1051a39Sopenharmony_ci 79e1051a39Sopenharmony_ci IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}] 80e1051a39Sopenharmony_ci GENERATE[openssl.rc]=../util/mkrc.pl openssl 81e1051a39Sopenharmony_ci SOURCE[openssl]=openssl.rc 82e1051a39Sopenharmony_ci ENDIF 83e1051a39Sopenharmony_ci 84e1051a39Sopenharmony_ci SCRIPTS{misc}=CA.pl 85e1051a39Sopenharmony_ci SOURCE[CA.pl]=CA.pl.in 86e1051a39Sopenharmony_ci # linkname tells build files that a symbolic link or copy of this script 87e1051a39Sopenharmony_ci # without extension must be installed as well. Unix or Unix lookalike only. 88e1051a39Sopenharmony_ci SCRIPTS{misc,linkname=tsget}=tsget.pl 89e1051a39Sopenharmony_ci SOURCE[tsget.pl]=tsget.in 90e1051a39Sopenharmony_ciENDIF 91