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