2016-01-30 06:33:10 +08:00
|
|
|
LIBS=../../libcrypto
|
|
|
|
SOURCE[../../libcrypto]=\
|
|
|
|
cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c \
|
|
|
|
ccm128.c xts128.c wrap128.c ocb128.c \
|
|
|
|
{- $target{modes_asm_src} -}
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2016-03-09 05:22:53 +08:00
|
|
|
INCLUDE[gcm128.o]=..
|
|
|
|
|
2016-03-12 16:46:28 +08:00
|
|
|
GENERATE[ghash-ia64.s]=asm/ghash-ia64.pl $(CFLAGS) $(LIB_CFLAGS)
|
|
|
|
GENERATE[ghash-x86.s]=asm/ghash-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
|
2016-03-07 22:47:57 +08:00
|
|
|
GENERATE[ghash-x86_64.s]=asm/ghash-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[ghash-sparcv9.S]=asm/ghash-sparcv9.pl $(PERLASM_SCHEME)
|
2016-03-11 03:05:52 +08:00
|
|
|
INCLUDE[ghash-sparcv9.o]=..
|
2016-05-03 19:17:30 +08:00
|
|
|
GENERATE[ghash-alpha.S]=asm/ghash-alpha.pl $(PERLASM_SCHEME)
|
2016-03-07 22:47:57 +08:00
|
|
|
GENERATE[ghash-parisc.s]=asm/ghash-parisc.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[ghashp8-ppc.s]=asm/ghashp8-ppc.pl $(PERLASM_SCHEME)
|
2016-03-11 20:44:46 +08:00
|
|
|
GENERATE[ghash-armv4.S]=asm/ghash-armv4.pl $(PERLASM_SCHEME)
|
|
|
|
INCLUDE[ghash-armv4.o]=..
|
|
|
|
GENERATE[ghashv8-armx.S]=asm/ghashv8-armx.pl $(PERLASM_SCHEME)
|
|
|
|
INCLUDE[ghashv8-armx.o]=..
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2016-03-07 22:47:57 +08:00
|
|
|
BEGINRAW[Makefile]
|
2016-01-30 10:25:40 +08:00
|
|
|
# GNU make "catch all"
|
|
|
|
{- $builddir -}/ghash-%.S: {- $sourcedir -}/asm/ghash-%.pl
|
2016-02-14 02:15:52 +08:00
|
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
2016-01-30 10:25:40 +08:00
|
|
|
ENDRAW[Makefile]
|