Build dynamic engines even if configured "no-shared"
[openssl.git] / engines / build.info
1 {- use File::Spec::Functions qw/:DEFAULT rel2abs/; -}
2 IF[{- !$config{dynamic_engines} -}]
3  LIBS=../libcrypto
4  SOURCE[../libcrypto]=\
5         e_padlock.c {- $target{padlock_asm_src} -} \
6         e_capi.c \
7         e_dasync.c
8 ELSE
9  ENGINES=padlock capi dasync ossltest
10  SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
11  DEPEND[padlock]=../libcrypto
12  INCLUDE[padlock]={- rel2abs(catdir($builddir,"../include")) -} ../include
13  SOURCE[capi]=e_capi.c
14  DEPEND[capi]=../libcrypto
15  INCLUDE[capi]={- rel2abs(catdir($builddir,"../include")) -} ../include
16  SOURCE[dasync]=e_dasync.c
17  DEPEND[dasync]=../libcrypto
18  INCLUDE[dasync]={- rel2abs(catdir($builddir,"../include")) -} ../include
19  SOURCE[ossltest]=e_ossltest.c
20  DEPEND[ossltest]=../libcrypto
21  INCLUDE[ossltest]={- rel2abs(catdir($builddir,"../include")) -} ../include
22 ENDIF
23
24 BEGINRAW[Makefile]
25 {- $builddir -}/e_padlock-x86.s:        {- $sourcedir -}/asm/e_padlock-x86.pl
26         CC="$(CC)" $(PERL) {- $sourcedir -}/asm/e_padlock-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
27 {- $builddir -}/e_padlock-x86_64.s:     {- $sourcedir -}/asm/e_padlock-x86_64.pl
28         CC="$(CC)" $(PERL) {- $sourcedir -}/asm/e_padlock-x86_64.pl $(PERLASM_SCHEME) > $@
29 ENDRAW[Makefile]