mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
f425f9dcff
The reason to do so is that some of the generators detect PIC flags like -fPIC and -KPIC, and those are normally delivered in LD_CFLAGS. Reviewed-by: Rich Salz <rsalz@openssl.org>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
{- use File::Spec::Functions qw/:DEFAULT rel2abs/; -}
|
|
IF[{- !$disabled{"engine"} -}]
|
|
IF[{- $disabled{"dynamic-engine"} -}]
|
|
LIBS=../libcrypto
|
|
SOURCE[../libcrypto]=\
|
|
e_padlock.c {- $target{padlock_asm_src} -} \
|
|
e_dasync.c
|
|
IF[{- !$disabled{capieng} -}]
|
|
SOURCE[../libcrypto]=e_capi.c
|
|
ENDIF
|
|
ELSE
|
|
ENGINES=padlock dasync ossltest
|
|
SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
|
|
DEPEND[padlock]=../libcrypto
|
|
INCLUDE[padlock]={- rel2abs(catdir($builddir,"../include")) -} ../include
|
|
IF[{- !$disabled{capieng} -}]
|
|
ENGINES=capi
|
|
SOURCE[capi]=e_capi.c
|
|
DEPEND[capi]=../libcrypto
|
|
INCLUDE[capi]={- rel2abs(catdir($builddir,"../include")) -} ../include
|
|
ENDIF
|
|
SOURCE[dasync]=e_dasync.c
|
|
DEPEND[dasync]=../libcrypto
|
|
INCLUDE[dasync]={- rel2abs(catdir($builddir,"../include")) -} ../include
|
|
SOURCE[ossltest]=e_ossltest.c
|
|
DEPEND[ossltest]=../libcrypto
|
|
INCLUDE[ossltest]={- rel2abs(catdir($builddir,"../include")) -} ../include
|
|
ENDIF
|
|
|
|
GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
|
|
GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl $(PERLASM_SCHEME)
|
|
ENDIF
|