2016-01-29 22:33:10 +00: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 02:25:40 +00:00
|
|
|
|
|
|
|
BEGINRAW[Makefile]
|
|
|
|
{- $builddir -}/ghash-ia64.s: {- $sourcedir -}/asm/ghash-ia64.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-ia64.pl $@ $(CFLAGS)
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/ghash-x86.s: {- $sourcedir -}/asm/ghash-x86.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/ghash-x86_64.s: {- $sourcedir -}/asm/ghash-x86_64.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-x86_64.pl $(PERLASM_SCHEME) > $@
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/aesni-gcm-x86_64.s: {- $sourcedir -}/asm/aesni-gcm-x86_64.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/aesni-gcm-x86_64.pl $(PERLASM_SCHEME) > $@
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/ghash-sparcv9.s: {- $sourcedir -}/asm/ghash-sparcv9.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-sparcv9.pl $@ $(CFLAGS)
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/ghash-alpha.s: {- $sourcedir -}/asm/ghash-alpha.pl
|
|
|
|
(preproc=$$$$.$@.S; trap "rm $$preproc" INT; \
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-alpha.pl > $$preproc && \
|
2016-01-30 02:25:40 +00:00
|
|
|
$(CC) -E -P $$preproc > $@ && rm $$preproc)
|
|
|
|
{- $builddir -}/ghash-parisc.s: {- $sourcedir -}/asm/ghash-parisc.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-parisc.pl $(PERLASM_SCHEME) $@
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/ghashv8-armx.S: {- $sourcedir -}/asm/ghashv8-armx.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghashv8-armx.pl $(PERLASM_SCHEME) $@
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/ghashp8-ppc.s: {- $sourcedir -}/asm/ghashp8-ppc.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghashp8-ppc.pl $(PERLASM_SCHEME) $@
|
2016-01-30 02:25:40 +00:00
|
|
|
|
|
|
|
# GNU make "catch all"
|
|
|
|
{- $builddir -}/ghash-%.S: {- $sourcedir -}/asm/ghash-%.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
2016-01-30 02:25:40 +00:00
|
|
|
ENDRAW[Makefile]
|