11cb0ef41Sopenharmony_ciIF[{- !$disabled{"engine"} -}]
21cb0ef41Sopenharmony_ci  $PADLOCKASM=
31cb0ef41Sopenharmony_ci  IF[{- !$disabled{asm} -}]
41cb0ef41Sopenharmony_ci    $PADLOCKASM_x86=e_padlock-x86.S
51cb0ef41Sopenharmony_ci    $PADLOCKASM_x86_64=e_padlock-x86_64.s
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ci    # Now that we have defined all the arch specific variables, use the
81cb0ef41Sopenharmony_ci    # appropriate one, and define the appropriate macros
91cb0ef41Sopenharmony_ci    IF[$PADLOCKASM_{- $target{asm_arch} -}]
101cb0ef41Sopenharmony_ci      $PADLOCKASM=$PADLOCKASM_{- $target{asm_arch} -}
111cb0ef41Sopenharmony_ci      $PADLOCKDEF=PADLOCK_ASM
121cb0ef41Sopenharmony_ci    ENDIF
131cb0ef41Sopenharmony_ci  ENDIF
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_ci  IF[{- $disabled{"dynamic-engine"} -}]
161cb0ef41Sopenharmony_ci    LIBS=../libcrypto
171cb0ef41Sopenharmony_ci    IF[{- !$disabled{padlockeng} -}]
181cb0ef41Sopenharmony_ci      SOURCE[../libcrypto]=e_padlock.c $PADLOCKASM
191cb0ef41Sopenharmony_ci      DEFINE[../libcrypto]=$PADLOCKDEF
201cb0ef41Sopenharmony_ci    ENDIF
211cb0ef41Sopenharmony_ci    IF[{- !$disabled{capieng} -}]
221cb0ef41Sopenharmony_ci      SOURCE[../libcrypto]=e_capi.c
231cb0ef41Sopenharmony_ci    ENDIF
241cb0ef41Sopenharmony_ci    IF[{- !$disabled{afalgeng} -}]
251cb0ef41Sopenharmony_ci      SOURCE[../libcrypto]=e_afalg.c
261cb0ef41Sopenharmony_ci    ENDIF
271cb0ef41Sopenharmony_ci    IF[{- !$disabled{"devcryptoeng"} -}]
281cb0ef41Sopenharmony_ci      SOURCE[../libcrypto]=e_devcrypto.c
291cb0ef41Sopenharmony_ci    ENDIF
301cb0ef41Sopenharmony_ci  ELSE
311cb0ef41Sopenharmony_ci    IF[{- !$disabled{padlockeng} -}]
321cb0ef41Sopenharmony_ci      MODULES{engine}=padlock
331cb0ef41Sopenharmony_ci      SOURCE[padlock]=e_padlock.c $PADLOCKASM
341cb0ef41Sopenharmony_ci      DEFINE[padlock]=$PADLOCKDEF
351cb0ef41Sopenharmony_ci      DEPEND[padlock]=../libcrypto
361cb0ef41Sopenharmony_ci      INCLUDE[padlock]=../include
371cb0ef41Sopenharmony_ci      IF[{- defined $target{shared_defflag} -}]
381cb0ef41Sopenharmony_ci        SOURCE[padlock]=padlock.ld
391cb0ef41Sopenharmony_ci        GENERATE[padlock.ld]=../util/engines.num
401cb0ef41Sopenharmony_ci      ENDIF
411cb0ef41Sopenharmony_ci    ENDIF
421cb0ef41Sopenharmony_ci    IF[{- !$disabled{capieng} -}]
431cb0ef41Sopenharmony_ci      MODULES{engine}=capi
441cb0ef41Sopenharmony_ci      SOURCE[capi]=e_capi.c
451cb0ef41Sopenharmony_ci      DEPEND[capi]=../libcrypto
461cb0ef41Sopenharmony_ci      INCLUDE[capi]=../include
471cb0ef41Sopenharmony_ci      IF[{- defined $target{shared_defflag} -}]
481cb0ef41Sopenharmony_ci        SOURCE[capi]=capi.ld
491cb0ef41Sopenharmony_ci        GENERATE[capi.ld]=../util/engines.num
501cb0ef41Sopenharmony_ci      ENDIF
511cb0ef41Sopenharmony_ci    ENDIF
521cb0ef41Sopenharmony_ci    IF[{- !$disabled{afalgeng} -}]
531cb0ef41Sopenharmony_ci      MODULES{engine}=afalg
541cb0ef41Sopenharmony_ci      SOURCE[afalg]=e_afalg.c
551cb0ef41Sopenharmony_ci      DEPEND[afalg]=../libcrypto
561cb0ef41Sopenharmony_ci      INCLUDE[afalg]= ../include
571cb0ef41Sopenharmony_ci      IF[{- defined $target{shared_defflag} -}]
581cb0ef41Sopenharmony_ci        SOURCE[afalg]=afalg.ld
591cb0ef41Sopenharmony_ci        GENERATE[afalg.ld]=../util/engines.num
601cb0ef41Sopenharmony_ci      ENDIF
611cb0ef41Sopenharmony_ci    ENDIF
621cb0ef41Sopenharmony_ci    IF[{- !$disabled{"devcryptoeng"} -}]
631cb0ef41Sopenharmony_ci      MODULES{engine}=devcrypto
641cb0ef41Sopenharmony_ci      SOURCE[devcrypto]=e_devcrypto.c
651cb0ef41Sopenharmony_ci      DEPEND[devcrypto]=../libcrypto
661cb0ef41Sopenharmony_ci      INCLUDE[devcrypto]=../include
671cb0ef41Sopenharmony_ci      IF[{- defined $target{shared_defflag} -}]
681cb0ef41Sopenharmony_ci        SOURCE[devcrypto]=devcrypto.ld
691cb0ef41Sopenharmony_ci        GENERATE[devcrypto.ld]=../util/engines.num
701cb0ef41Sopenharmony_ci      ENDIF
711cb0ef41Sopenharmony_ci    ENDIF
721cb0ef41Sopenharmony_ci    IF[{- !$disabled{"loadereng"} -}]
731cb0ef41Sopenharmony_ci      MODULES{engine}=loader_attic
741cb0ef41Sopenharmony_ci      SOURCE[loader_attic]=e_loader_attic.c ../crypto/pem/pvkfmt.c
751cb0ef41Sopenharmony_ci      DEFINE[loader_attic]=OPENSSL_NO_PROVIDER_CODE
761cb0ef41Sopenharmony_ci      DEPEND[loader_attic]=../libcrypto
771cb0ef41Sopenharmony_ci      INCLUDE[loader_attic]=../include
781cb0ef41Sopenharmony_ci      IF[{- defined $target{shared_defflag} -}]
791cb0ef41Sopenharmony_ci        SOURCE[loader_attic]=loader_attic.ld
801cb0ef41Sopenharmony_ci        GENERATE[loader_attic.ld]=../util/engines.num
811cb0ef41Sopenharmony_ci      ENDIF
821cb0ef41Sopenharmony_ci    ENDIF
831cb0ef41Sopenharmony_ci
841cb0ef41Sopenharmony_ci    MODULES{noinst,engine}=ossltest dasync
851cb0ef41Sopenharmony_ci    SOURCE[dasync]=e_dasync.c
861cb0ef41Sopenharmony_ci    DEPEND[dasync]=../libcrypto
871cb0ef41Sopenharmony_ci    INCLUDE[dasync]=../include
881cb0ef41Sopenharmony_ci    IF[{- defined $target{shared_defflag} -}]
891cb0ef41Sopenharmony_ci      SOURCE[dasync]=dasync.ld
901cb0ef41Sopenharmony_ci      GENERATE[dasync.ld]=../util/engines.num
911cb0ef41Sopenharmony_ci    ENDIF
921cb0ef41Sopenharmony_ci
931cb0ef41Sopenharmony_ci    SOURCE[ossltest]=e_ossltest.c
941cb0ef41Sopenharmony_ci    DEPEND[ossltest]=../libcrypto
951cb0ef41Sopenharmony_ci    INCLUDE[ossltest]=../include
961cb0ef41Sopenharmony_ci    IF[{- defined $target{shared_defflag} -}]
971cb0ef41Sopenharmony_ci      SOURCE[ossltest]=ossltest.ld
981cb0ef41Sopenharmony_ci      GENERATE[ossltest.ld]=../util/engines.num
991cb0ef41Sopenharmony_ci    ENDIF
1001cb0ef41Sopenharmony_ci  ENDIF
1011cb0ef41Sopenharmony_ci  GENERATE[e_padlock-x86.S]=asm/e_padlock-x86.pl
1021cb0ef41Sopenharmony_ci  GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl
1031cb0ef41Sopenharmony_ciENDIF
104