e_devcrypto: make the /dev/crypto engine dynamic
[openssl.git] / engines / build.info
1 IF[{- !$disabled{"engine"} -}]
2
3   IF[{- $disabled{"dynamic-engine"} -}]
4     LIBS=../libcrypto
5     SOURCE[../libcrypto]=\
6             e_padlock.c {- $target{padlock_asm_src} -}
7     IF[{- !$disabled{capieng} -}]
8       SOURCE[../libcrypto]=e_capi.c
9     ENDIF
10     IF[{- !$disabled{afalgeng} -}]
11       SOURCE[../libcrypto]=e_afalg.c
12     ENDIF
13     IF[{- !$disabled{"devcryptoeng"} -}]
14       SOURCE[../libcrypto]=e_devcrypto.c
15     ENDIF
16   ELSE
17     MODULES{engine}=padlock
18     SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
19     DEPEND[padlock]=../libcrypto
20     INCLUDE[padlock]=../include
21     IF[{- defined $target{shared_defflag} -}]
22       SHARED_SOURCE[padlock]=padlock.ld
23       GENERATE[padlock.ld]=../util/engines.num
24     ENDIF
25     IF[{- !$disabled{capieng} -}]
26       MODULES{engine}=capi
27       SOURCE[capi]=e_capi.c
28       DEPEND[capi]=../libcrypto
29       INCLUDE[capi]=../include
30       IF[{- defined $target{shared_defflag} -}]
31         SHARED_SOURCE[capi]=capi.ld
32         GENERATE[capi.ld]=../util/engines.num
33       ENDIF
34     ENDIF
35     IF[{- !$disabled{afalgeng} -}]
36       MODULES{engine}=afalg
37       SOURCE[afalg]=e_afalg.c
38       DEPEND[afalg]=../libcrypto
39       INCLUDE[afalg]= ../include
40       IF[{- defined $target{shared_defflag} -}]
41         SHARED_SOURCE[afalg]=afalg.ld
42         GENERATE[afalg.ld]=../util/engines.num
43       ENDIF
44     ENDIF
45     IF[{- !$disabled{"devcryptoeng"} -}]
46       ENGINES=devcrypto
47       SOURCE[devcrypto]=e_devcrypto.c
48       DEPEND[devcrypto]=../libcrypto
49       INCLUDE[devcrypto]=../include
50       IF[{- defined $target{shared_defflag} -}]
51         SHARED_SOURCE[devcrypto]=devcrypto.ld
52         GENERATE[devcrypto.ld]=../util/engines.num
53       ENDIF
54     ENDIF
55
56     MODULES{noinst,engine}=ossltest dasync
57     SOURCE[dasync]=e_dasync.c
58     DEPEND[dasync]=../libcrypto
59     INCLUDE[dasync]=../include
60     IF[{- defined $target{shared_defflag} -}]
61       SHARED_SOURCE[dasync]=dasync.ld
62       GENERATE[dasync.ld]=../util/engines.num
63     ENDIF
64     SOURCE[ossltest]=e_ossltest.c
65     DEPEND[ossltest]=../libcrypto
66     INCLUDE[ossltest]=../include
67     IF[{- defined $target{shared_defflag} -}]
68       SHARED_SOURCE[ossltest]=ossltest.ld
69       GENERATE[ossltest.ld]=../util/engines.num
70     ENDIF
71   ENDIF
72
73   GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl \
74         $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
75   GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl $(PERLASM_SCHEME)
76 ENDIF