xref: /freebsd/crypto/openssl/engines/build.info (revision 43a5ec4eb41567cc92586503212743d89686d78f)
1IF[{- !$disabled{"engine"} -}]
2
3  IF[{- $disabled{"dynamic-engine"} -}]
4    LIBS=../libcrypto
5    IF[{- !$disabled{hw} && !$disabled{'hw-padlock'} -}]
6      SOURCE[../libcrypto]= e_padlock.c {- $target{padlock_asm_src} -}
7    ENDIF
8    IF[{- !$disabled{capieng} -}]
9      SOURCE[../libcrypto]=e_capi.c
10    ENDIF
11    IF[{- !$disabled{afalgeng} -}]
12      SOURCE[../libcrypto]=e_afalg.c
13    ENDIF
14  ELSE
15    IF[{- !$disabled{hw} && !$disabled{'hw-padlock'} -}]
16      ENGINES=padlock
17      SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
18      DEPEND[padlock]=../libcrypto
19      INCLUDE[padlock]=../include
20    ENDIF
21    IF[{- !$disabled{capieng} -}]
22      ENGINES=capi
23      SOURCE[capi]=e_capi.c
24      DEPEND[capi]=../libcrypto
25      INCLUDE[capi]=../include
26    ENDIF
27    IF[{- !$disabled{afalgeng} -}]
28      ENGINES=afalg
29      SOURCE[afalg]=e_afalg.c
30      DEPEND[afalg]=../libcrypto
31      INCLUDE[afalg]= ../include
32    ENDIF
33
34    ENGINES_NO_INST=ossltest dasync
35    SOURCE[dasync]=e_dasync.c
36    DEPEND[dasync]=../libcrypto
37    INCLUDE[dasync]=../include
38    SOURCE[ossltest]=e_ossltest.c
39    DEPEND[ossltest]=../libcrypto
40    INCLUDE[ossltest]=../include
41  ENDIF
42
43  GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl \
44        $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
45  GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl $(PERLASM_SCHEME)
46ENDIF
47