|
@@ -1,9 +1,22 @@
|
|
|
IF[{- !$disabled{"engine"} -}]
|
|
|
+ $PADLOCKASM=
|
|
|
+ IF[{- !$disabled{asm} -}]
|
|
|
+ $PADLOCKASM_x86=e_padlock-x86.s
|
|
|
+ $PADLOCKASM_x86_64=e_padlock-x86_64.s
|
|
|
+
|
|
|
+ # Now that we have defined all the arch specific variables, use the
|
|
|
+ # appropriate one, and define the appropriate macros
|
|
|
+ IF[$PADLOCKASM_{- $target{asm_arch} -}]
|
|
|
+ $PADLOCKASM=$PADLOCKASM_{- $target{asm_arch} -}
|
|
|
+ $PADLOCKDEF=PADLOCK_ASM
|
|
|
+ ENDIF
|
|
|
+ ENDIF
|
|
|
+
|
|
|
IF[{- $disabled{"dynamic-engine"} -}]
|
|
|
LIBS=../libcrypto
|
|
|
IF[{- !$disabled{padlockeng} -}]
|
|
|
- SOURCE[../libcrypto]=\
|
|
|
- e_padlock.c {- $target{padlock_asm_src} -}
|
|
|
+ SOURCE[../libcrypto]=e_padlock.c $PADLOCKASM
|
|
|
+ DEFINE[../libcrypto]=$PADLOCKDEF
|
|
|
ENDIF
|
|
|
IF[{- !$disabled{capieng} -}]
|
|
|
SOURCE[../libcrypto]=e_capi.c
|
|
@@ -17,7 +30,8 @@ IF[{- !$disabled{"engine"} -}]
|
|
|
ELSE
|
|
|
IF[{- !$disabled{padlockeng} -}]
|
|
|
MODULES{engine}=padlock
|
|
|
- SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
|
|
|
+ SOURCE[padlock]=e_padlock.c $PADLOCKASM
|
|
|
+ DEFINE[padlock]=$PADLOCKDEF
|
|
|
DEPEND[padlock]=../libcrypto
|
|
|
INCLUDE[padlock]=../include
|
|
|
IF[{- defined $target{shared_defflag} -}]
|