X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fmodes%2FMakefile;h=4c0de955ba5aeba6a0c2658b7fb365556195e75e;hp=6c85861b6c56f4c744a563c35236109c85161f2c;hb=5e19ee96f6c0d59e5e63c8366e7989c3ae26852f;hpb=fe150ac25df9d15d149c796cc8a8435fa291dc5b diff --git a/crypto/modes/Makefile b/crypto/modes/Makefile index 6c85861b6c..4c0de955ba 100644 --- a/crypto/modes/Makefile +++ b/crypto/modes/Makefile @@ -10,15 +10,20 @@ CFLAG=-g MAKEFILE= Makefile AR= ar r +MODES_ASM_OBJ= + CFLAGS= $(INCLUDES) $(CFLAG) +ASFLAGS= $(INCLUDES) $(ASFLAG) +AFLAGS= $(ASFLAGS) GENERAL=Makefile TEST= APPS= LIB=$(TOP)/libcrypto.a -LIBSRC= cbc128.c ctr128.c cts128.c cfb128.c ofb128.c -LIBOBJ= cbc128.o ctr128.o cts128.o cfb128.o ofb128.o +LIBSRC= cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c +LIBOBJ= cbc128.o ctr128.o cts128.o cfb128.o ofb128.o gcm128.o \ + $(MODES_ASM_OBJ) SRC= $(LIBSRC) @@ -38,6 +43,21 @@ lib: $(LIBOBJ) $(RANLIB) $(LIB) || echo Never mind. @touch lib +aes-ia64.s: asm/ghash-ia64.pl + $(PERL) asm/ghash-ia64.pl $@ $(CFLAGS) +ghash-x86.s: asm/ghash-x86.pl + $(PERL) asm/ghash-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ +ghash-x86_64.s: asm/ghash-x86_64.pl + $(PERL) asm/ghash-x86_64.pl $(PERLASM_SCHEME) > $@ +ghash-sparcv9.s: asm/ghash-sparcv9.pl + $(PERL) asm/ghash-sparcv9.pl $(CFLAGS) > $@ +ghash-alpha.s: asm/ghash-alpha.pl + $(PERL) $< | $(CC) -E - | tee $@ > /dev/null +ghash-parisc.s: asm/ghash-parisc.pl + $($PERL) asm/ghash-parisc.pl $(PERLASM_SCHEME) $@ +# GNU make "catch all" +ghash-%.s: asm/ghash-%.pl; $(PERL) $< $(PERLASM_SCHEME) $(CFLAGS) > $@ + files: $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO