Coverity 1414465: Resource leaks (RESOURCE_LEAK)
[oweals/openssl.git] / engines / build.info
1 IF[{- !$disabled{"engine"} -}]
2   $PADLOCKASM=
3   IF[{- !$disabled{asm} -}]
4     $PADLOCKASM_x86=e_padlock-x86.s
5     $PADLOCKASM_x86_64=e_padlock-x86_64.s
6
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
12     ENDIF
13   ENDIF
14
15   IF[{- $disabled{"dynamic-engine"} -}]
16     LIBS=../libcrypto
17     IF[{- !$disabled{padlockeng} -}]
18       SOURCE[../libcrypto]=e_padlock.c $PADLOCKASM
19       DEFINE[../libcrypto]=$PADLOCKDEF
20     ENDIF
21     IF[{- !$disabled{capieng} -}]
22       SOURCE[../libcrypto]=e_capi.c
23     ENDIF
24     IF[{- !$disabled{afalgeng} -}]
25       SOURCE[../libcrypto]=e_afalg.c
26     ENDIF
27     IF[{- !$disabled{"devcryptoeng"} -}]
28       SOURCE[../libcrypto]=e_devcrypto.c
29     ENDIF
30   ELSE
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
40       ENDIF
41     ENDIF
42     IF[{- !$disabled{capieng} -}]
43       MODULES{engine}=capi
44       SOURCE[capi]=e_capi.c
45       DEPEND[capi]=../libcrypto
46       INCLUDE[capi]=../include
47       IF[{- defined $target{shared_defflag} -}]
48         SOURCE[capi]=capi.ld
49         GENERATE[capi.ld]=../util/engines.num
50       ENDIF
51     ENDIF
52     IF[{- !$disabled{afalgeng} -}]
53       MODULES{engine}=afalg
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
60       ENDIF
61     ENDIF
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
70       ENDIF
71     ENDIF
72
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
80     ENDIF
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
87     ENDIF
88   ENDIF
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)
92 ENDIF