summaryrefslogtreecommitdiffstats
path: root/engines/build.info
blob: e493cedaab85ac4af40fd516d5e1f90d3c69d3c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
IF[{- !$disabled{"engine"} -}]

  IF[{- $disabled{"dynamic-engine"} -}]
    LIBS=../libcrypto
    SOURCE[../libcrypto]=\
            e_padlock.c {- $target{padlock_asm_src} -}
    IF[{- !$disabled{capieng} -}]
      SOURCE[../libcrypto]=e_capi.c
    ENDIF
    IF[{- !$disabled{afalgeng} -}]
      SOURCE[../libcrypto]=e_afalg.c
    ENDIF
    IF[{- !$disabled{"devcryptoeng"} -}]
      SOURCE[../libcrypto]=e_devcrypto.c
    ENDIF
  ELSE
    MODULES{engine}=padlock
    SOURCE[padlock]=e_padlock.c {- $target{padlock_asm_src} -}
    DEPEND[padlock]=../libcrypto
    INCLUDE[padlock]=../include
    IF[{- defined $target{shared_defflag} -}]
      SHARED_SOURCE[padlock]=padlock.ld
      GENERATE[padlock.ld]=../util/engines.num
    ENDIF
    IF[{- !$disabled{capieng} -}]
      MODULES{engine}=capi
      SOURCE[capi]=e_capi.c
      DEPEND[capi]=../libcrypto
      INCLUDE[capi]=../include
      IF[{- defined $target{shared_defflag} -}]
        SHARED_SOURCE[capi]=capi.ld
        GENERATE[capi.ld]=../util/engines.num
      ENDIF
    ENDIF
    IF[{- !$disabled{afalgeng} -}]
      MODULES{engine}=afalg
      SOURCE[afalg]=e_afalg.c
      DEPEND[afalg]=../libcrypto
      INCLUDE[afalg]= ../include
      IF[{- defined $target{shared_defflag} -}]
        SHARED_SOURCE[afalg]=afalg.ld
        GENERATE[afalg.ld]=../util/engines.num
      ENDIF
    ENDIF
    IF[{- !$disabled{"devcryptoeng"} -}]
      MODULES=devcrypto
      SOURCE[devcrypto]=e_devcrypto.c
      DEPEND[devcrypto]=../libcrypto
      INCLUDE[devcrypto]=../include
      IF[{- defined $target{shared_defflag} -}]
        SHARED_SOURCE[devcrypto]=devcrypto.ld
        GENERATE[devcrypto.ld]=../util/engines.num
      ENDIF
    ENDIF

    MODULES{noinst,engine}=ossltest dasync
    SOURCE[dasync]=e_dasync.c
    DEPEND[dasync]=../libcrypto
    INCLUDE[dasync]=../include
    IF[{- defined $target{shared_defflag} -}]
      SHARED_SOURCE[dasync]=dasync.ld
      GENERATE[dasync.ld]=../util/engines.num
    ENDIF
    SOURCE[ossltest]=e_ossltest.c
    DEPEND[ossltest]=../libcrypto
    INCLUDE[ossltest]=../include
    IF[{- defined $target{shared_defflag} -}]
      SHARED_SOURCE[ossltest]=ossltest.ld
      GENERATE[ossltest.ld]=../util/engines.num
    ENDIF
  ENDIF

  GENERATE[e_padlock-x86.s]=asm/e_padlock-x86.pl \
        $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
  GENERATE[e_padlock-x86_64.s]=asm/e_padlock-x86_64.pl $(PERLASM_SCHEME)
ENDIF