summaryrefslogtreecommitdiffstats
path: root/crypto/rc4/build.info
blob: 30e36bac107c9353c01d89715382f88d4453c8db (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
LIBS=../../libcrypto

$RC4ASM=rc4_enc.c rc4_skey.c
IF[{- !$disabled{asm} -}]
  $RC4ASM_x86=rc4-586.s
  $RC4ASM_x86_64=rc4-x86_64.s rc4-md5-x86_64.s
  $RC4ASM_s390x=rc4-s390x.s
  $RC4ASM_parisc11=rc4-parisc.s
  $RC4ASM_parisc20_64=$RC4ASM_parisc11
  $RC4ASM_c64xplus=rc4-c64xplus.s

  # Now that we have defined all the arch specific variables, use the
  # appropriate one, and define the appropriate macros
  IF[$RC4ASM_{- $target{asm_arch} -}]
    $RC4ASM=$RC4ASM_{- $target{asm_arch} -}
    $RC4DEF=RC4_ASM
  ENDIF
ENDIF

SOURCE[../../libcrypto]=$RC4ASM

GENERATE[rc4-586.s]=asm/rc4-586.pl \
        $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR)
DEPEND[rc4-586.s]=../perlasm/x86asm.pl

GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl $(PERLASM_SCHEME)
GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME)

GENERATE[rc4-parisc.s]=asm/rc4-parisc.pl $(PERLASM_SCHEME)
GENERATE[rc4-c64xplus.s]=asm/rc4-c64xplus.pl $(PERLASM_SCHEME)
GENERATE[rc4-s390x.s]=asm/rc4-s390x.pl $(PERLASM_SCHEME)