1 IF[{- !$disabled{"engine"} -}]
3 IF[{- !$disabled{asm} -}]
4 $PADLOCKASM_x86=e_padlock-x86.s
5 $PADLOCKASM_x86_64=e_padlock-x86_64.s
7 # Now that we have defined all the arch specific variables, use the
8 # appropriate one, and define the appropriate macros
9 IF[$PADLOCKASM_{- $target{asm_arch} -}]
10 $PADLOCKASM=$PADLOCKASM_{- $target{asm_arch} -}
11 $PADLOCKDEF=PADLOCK_ASM
15 IF[{- $disabled{"dynamic-engine"} -}]
17 IF[{- !$disabled{padlockeng} -}]
18 SOURCE[../libcrypto]=e_padlock.c $PADLOCKASM
19 DEFINE[../libcrypto]=$PADLOCKDEF
21 IF[{- !$disabled{capieng} -}]
22 SOURCE[../libcrypto]=e_capi.c
24 IF[{- !$disabled{afalgeng} -}]
25 SOURCE[../libcrypto]=e_afalg.c
27 IF[{- !$disabled{"devcryptoeng"} -}]
28 SOURCE[../libcrypto]=e_devcrypto.c
31 IF[{- !$disabled{padlockeng} -}]
32 MODULES{engine}=padlock
33 SOURCE[padlock]=e_padlock.c $PADLOCKASM
34 DEFINE[padlock]=$PADLOCKDEF
35 DEPEND[padlock]=../libcrypto
36 INCLUDE[padlock]=../include
37 IF[{- defined $target{shared_defflag} -}]
38 SOURCE[padlock]=padlock.ld
39 GENERATE[padlock.ld]=../util/engines.num
42 IF[{- !$disabled{capieng} -}]
45 DEPEND[capi]=../libcrypto
46 INCLUDE[capi]=../include
47 IF[{- defined $target{shared_defflag} -}]
49 GENERATE[capi.ld]=../util/engines.num
52 IF[{- !$disabled{afalgeng} -}]
54 SOURCE[afalg]=e_afalg.c
55 DEPEND[afalg]=../libcrypto
56 INCLUDE[afalg]= ../include
57 IF[{- defined $target{shared_defflag} -}]
58 SOURCE[afalg]=afalg.ld
59 GENERATE[afalg.ld]=../util/engines.num
62 IF[{- !$disabled{"devcryptoeng"} -}]
63 MODULES{engine}=devcrypto
64 SOURCE[devcrypto]=e_devcrypto.c
65 DEPEND[devcrypto]=../libcrypto
66 INCLUDE[devcrypto]=../include
67 IF[{- defined $target{shared_defflag} -}]
68 SOURCE[devcrypto]=devcrypto.ld
69 GENERATE[devcrypto.ld]=../util/engines.num
73 MODULES{noinst,engine}=ossltest dasync
74 SOURCE[dasync]=e_dasync.c
75 DEPEND[dasync]=../libcrypto
76 INCLUDE[dasync]=../include
77 IF[{- defined $target{shared_defflag} -}]
78 SOURCE[dasync]=dasync.ld
79 GENERATE[dasync.ld]=../util/engines.num
81 SOURCE[ossltest]=e_ossltest.c
82 DEPEND[ossltest]=../libcrypto
83 INCLUDE[ossltest]=../include
84 IF[{- defined $target{shared_defflag} -}]
85 SOURCE[ossltest]=ossltest.ld
86 GENERATE[ossltest.ld]=../util/engines.num
89 GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl \
90 $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
91 GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl $(PERLASM_SCHEME)