2016-03-09 16:05:43 +08:00
|
|
|
IF[{- !$disabled{"engine"} -}]
|
2019-06-17 04:39:19 +08:00
|
|
|
$PADLOCKASM=
|
|
|
|
IF[{- !$disabled{asm} -}]
|
|
|
|
$PADLOCKASM_x86=e_padlock-x86.s
|
|
|
|
$PADLOCKASM_x86_64=e_padlock-x86_64.s
|
|
|
|
|
|
|
|
# Now that we have defined all the arch specific variables, use the
|
|
|
|
# appropriate one, and define the appropriate macros
|
|
|
|
IF[$PADLOCKASM_{- $target{asm_arch} -}]
|
|
|
|
$PADLOCKASM=$PADLOCKASM_{- $target{asm_arch} -}
|
|
|
|
$PADLOCKDEF=PADLOCK_ASM
|
|
|
|
ENDIF
|
|
|
|
ENDIF
|
|
|
|
|
2016-03-09 16:05:43 +08:00
|
|
|
IF[{- $disabled{"dynamic-engine"} -}]
|
|
|
|
LIBS=../libcrypto
|
2019-03-01 20:18:11 +08:00
|
|
|
IF[{- !$disabled{padlockeng} -}]
|
2019-06-17 04:39:19 +08:00
|
|
|
SOURCE[../libcrypto]=e_padlock.c $PADLOCKASM
|
|
|
|
DEFINE[../libcrypto]=$PADLOCKDEF
|
2019-03-01 20:18:11 +08:00
|
|
|
ENDIF
|
2016-03-09 16:05:43 +08:00
|
|
|
IF[{- !$disabled{capieng} -}]
|
|
|
|
SOURCE[../libcrypto]=e_capi.c
|
|
|
|
ENDIF
|
2017-05-20 09:27:58 +08:00
|
|
|
IF[{- !$disabled{afalgeng} -}]
|
2017-06-08 03:12:03 +08:00
|
|
|
SOURCE[../libcrypto]=e_afalg.c
|
2017-05-20 09:27:58 +08:00
|
|
|
ENDIF
|
2018-11-06 20:57:03 +08:00
|
|
|
IF[{- !$disabled{"devcryptoeng"} -}]
|
|
|
|
SOURCE[../libcrypto]=e_devcrypto.c
|
|
|
|
ENDIF
|
2016-03-09 16:05:43 +08:00
|
|
|
ELSE
|
2019-03-01 20:18:11 +08:00
|
|
|
IF[{- !$disabled{padlockeng} -}]
|
|
|
|
MODULES{engine}=padlock
|
2019-06-17 04:39:19 +08:00
|
|
|
SOURCE[padlock]=e_padlock.c $PADLOCKASM
|
|
|
|
DEFINE[padlock]=$PADLOCKDEF
|
2019-03-01 20:18:11 +08:00
|
|
|
DEPEND[padlock]=../libcrypto
|
|
|
|
INCLUDE[padlock]=../include
|
|
|
|
IF[{- defined $target{shared_defflag} -}]
|
2019-03-31 21:14:00 +08:00
|
|
|
SOURCE[padlock]=padlock.ld
|
2019-03-01 20:18:11 +08:00
|
|
|
GENERATE[padlock.ld]=../util/engines.num
|
|
|
|
ENDIF
|
2018-10-04 23:40:33 +08:00
|
|
|
ENDIF
|
2016-03-09 16:05:43 +08:00
|
|
|
IF[{- !$disabled{capieng} -}]
|
2019-01-31 07:06:50 +08:00
|
|
|
MODULES{engine}=capi
|
2016-03-09 16:05:43 +08:00
|
|
|
SOURCE[capi]=e_capi.c
|
|
|
|
DEPEND[capi]=../libcrypto
|
2016-06-30 04:59:50 +08:00
|
|
|
INCLUDE[capi]=../include
|
2018-10-04 23:40:33 +08:00
|
|
|
IF[{- defined $target{shared_defflag} -}]
|
2019-03-31 21:14:00 +08:00
|
|
|
SOURCE[capi]=capi.ld
|
2018-10-04 23:40:33 +08:00
|
|
|
GENERATE[capi.ld]=../util/engines.num
|
|
|
|
ENDIF
|
2016-03-09 16:05:43 +08:00
|
|
|
ENDIF
|
2017-05-20 09:27:58 +08:00
|
|
|
IF[{- !$disabled{afalgeng} -}]
|
2019-01-31 07:06:50 +08:00
|
|
|
MODULES{engine}=afalg
|
2017-06-08 03:12:03 +08:00
|
|
|
SOURCE[afalg]=e_afalg.c
|
2017-05-20 09:27:58 +08:00
|
|
|
DEPEND[afalg]=../libcrypto
|
|
|
|
INCLUDE[afalg]= ../include
|
2018-10-04 23:40:33 +08:00
|
|
|
IF[{- defined $target{shared_defflag} -}]
|
2019-03-31 21:14:00 +08:00
|
|
|
SOURCE[afalg]=afalg.ld
|
2018-10-04 23:40:33 +08:00
|
|
|
GENERATE[afalg.ld]=../util/engines.num
|
|
|
|
ENDIF
|
2017-05-20 09:27:58 +08:00
|
|
|
ENDIF
|
2018-11-06 20:57:03 +08:00
|
|
|
IF[{- !$disabled{"devcryptoeng"} -}]
|
2019-02-13 04:02:51 +08:00
|
|
|
MODULES{engine}=devcrypto
|
2018-11-06 20:57:03 +08:00
|
|
|
SOURCE[devcrypto]=e_devcrypto.c
|
|
|
|
DEPEND[devcrypto]=../libcrypto
|
|
|
|
INCLUDE[devcrypto]=../include
|
|
|
|
IF[{- defined $target{shared_defflag} -}]
|
2019-03-31 21:14:00 +08:00
|
|
|
SOURCE[devcrypto]=devcrypto.ld
|
2018-11-06 20:57:03 +08:00
|
|
|
GENERATE[devcrypto.ld]=../util/engines.num
|
|
|
|
ENDIF
|
|
|
|
ENDIF
|
2016-08-17 16:45:03 +08:00
|
|
|
|
2020-07-23 22:56:59 +08:00
|
|
|
MODULES{noinst,engine}=ossltest dasync loader_attic
|
2016-03-09 16:05:43 +08:00
|
|
|
SOURCE[dasync]=e_dasync.c
|
|
|
|
DEPEND[dasync]=../libcrypto
|
2016-06-30 04:59:50 +08:00
|
|
|
INCLUDE[dasync]=../include
|
2018-10-04 23:40:33 +08:00
|
|
|
IF[{- defined $target{shared_defflag} -}]
|
2019-03-31 21:14:00 +08:00
|
|
|
SOURCE[dasync]=dasync.ld
|
2018-10-04 23:40:33 +08:00
|
|
|
GENERATE[dasync.ld]=../util/engines.num
|
|
|
|
ENDIF
|
2020-02-12 13:03:51 +08:00
|
|
|
|
2016-03-09 16:05:43 +08:00
|
|
|
SOURCE[ossltest]=e_ossltest.c
|
|
|
|
DEPEND[ossltest]=../libcrypto
|
2016-06-30 04:59:50 +08:00
|
|
|
INCLUDE[ossltest]=../include
|
2018-10-04 23:40:33 +08:00
|
|
|
IF[{- defined $target{shared_defflag} -}]
|
2019-03-31 21:14:00 +08:00
|
|
|
SOURCE[ossltest]=ossltest.ld
|
2018-10-04 23:40:33 +08:00
|
|
|
GENERATE[ossltest.ld]=../util/engines.num
|
|
|
|
ENDIF
|
2020-07-23 22:56:59 +08:00
|
|
|
|
|
|
|
SOURCE[loader_attic]=e_loader_attic.c
|
|
|
|
DEPEND[loader_attic]=../libcrypto
|
|
|
|
INCLUDE[loader_attic]=../include
|
|
|
|
IF[{- defined $target{shared_defflag} -}]
|
|
|
|
SOURCE[loader_attic]=loader_attic.ld
|
|
|
|
GENERATE[loader_attic.ld]=../util/engines.num
|
|
|
|
ENDIF
|
2016-03-09 16:05:43 +08:00
|
|
|
ENDIF
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl
|
|
|
|
GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl
|
2016-03-09 16:05:43 +08:00
|
|
|
ENDIF
|