build.info 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. # Now that we have defined all the arch specific variables, use the
  7. # appropriate one, and define the appropriate macros
  8. IF[$PADLOCKASM_{- $target{asm_arch} -}]
  9. $PADLOCKASM=$PADLOCKASM_{- $target{asm_arch} -}
  10. $PADLOCKDEF=PADLOCK_ASM
  11. ENDIF
  12. ENDIF
  13. IF[{- $disabled{"dynamic-engine"} -}]
  14. LIBS=../libcrypto
  15. IF[{- !$disabled{padlockeng} -}]
  16. SOURCE[../libcrypto]=e_padlock.c $PADLOCKASM
  17. DEFINE[../libcrypto]=$PADLOCKDEF
  18. ENDIF
  19. IF[{- !$disabled{capieng} -}]
  20. SOURCE[../libcrypto]=e_capi.c
  21. ENDIF
  22. IF[{- !$disabled{afalgeng} -}]
  23. SOURCE[../libcrypto]=e_afalg.c
  24. ENDIF
  25. IF[{- !$disabled{"devcryptoeng"} -}]
  26. SOURCE[../libcrypto]=e_devcrypto.c
  27. ENDIF
  28. ELSE
  29. IF[{- !$disabled{padlockeng} -}]
  30. MODULES{engine}=padlock
  31. SOURCE[padlock]=e_padlock.c $PADLOCKASM
  32. DEFINE[padlock]=$PADLOCKDEF
  33. DEPEND[padlock]=../libcrypto
  34. INCLUDE[padlock]=../include
  35. IF[{- defined $target{shared_defflag} -}]
  36. SOURCE[padlock]=padlock.ld
  37. GENERATE[padlock.ld]=../util/engines.num
  38. ENDIF
  39. ENDIF
  40. IF[{- !$disabled{capieng} -}]
  41. MODULES{engine}=capi
  42. SOURCE[capi]=e_capi.c
  43. DEPEND[capi]=../libcrypto
  44. INCLUDE[capi]=../include
  45. IF[{- defined $target{shared_defflag} -}]
  46. SOURCE[capi]=capi.ld
  47. GENERATE[capi.ld]=../util/engines.num
  48. ENDIF
  49. ENDIF
  50. IF[{- !$disabled{afalgeng} -}]
  51. MODULES{engine}=afalg
  52. SOURCE[afalg]=e_afalg.c
  53. DEPEND[afalg]=../libcrypto
  54. INCLUDE[afalg]= ../include
  55. IF[{- defined $target{shared_defflag} -}]
  56. SOURCE[afalg]=afalg.ld
  57. GENERATE[afalg.ld]=../util/engines.num
  58. ENDIF
  59. ENDIF
  60. IF[{- !$disabled{"devcryptoeng"} -}]
  61. MODULES{engine}=devcrypto
  62. SOURCE[devcrypto]=e_devcrypto.c
  63. DEPEND[devcrypto]=../libcrypto
  64. INCLUDE[devcrypto]=../include
  65. IF[{- defined $target{shared_defflag} -}]
  66. SOURCE[devcrypto]=devcrypto.ld
  67. GENERATE[devcrypto.ld]=../util/engines.num
  68. ENDIF
  69. ENDIF
  70. MODULES{noinst,engine}=ossltest dasync
  71. SOURCE[dasync]=e_dasync.c
  72. DEPEND[dasync]=../libcrypto
  73. INCLUDE[dasync]=../include
  74. IF[{- defined $target{shared_defflag} -}]
  75. SOURCE[dasync]=dasync.ld
  76. GENERATE[dasync.ld]=../util/engines.num
  77. ENDIF
  78. SOURCE[ossltest]=e_ossltest.c
  79. DEPEND[ossltest]=../libcrypto
  80. INCLUDE[ossltest]=../include
  81. IF[{- defined $target{shared_defflag} -}]
  82. SOURCE[ossltest]=ossltest.ld
  83. GENERATE[ossltest.ld]=../util/engines.num
  84. ENDIF
  85. ENDIF
  86. GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl
  87. GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl
  88. ENDIF