diff options
Diffstat (limited to 'usr/src/lib/pkcs11/libsoftcrypto/amd64/Makefile')
-rw-r--r-- | usr/src/lib/pkcs11/libsoftcrypto/amd64/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/src/lib/pkcs11/libsoftcrypto/amd64/Makefile b/usr/src/lib/pkcs11/libsoftcrypto/amd64/Makefile index e5062536aa..1e8872d386 100644 --- a/usr/src/lib/pkcs11/libsoftcrypto/amd64/Makefile +++ b/usr/src/lib/pkcs11/libsoftcrypto/amd64/Makefile @@ -21,6 +21,8 @@ # # Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright 2017 Jason King +# Copyright (c) 2018, Joyent, Inc. # LIBRARY = libsoftcrypto.a @@ -31,6 +33,7 @@ include ../Makefile.com AES_PSM_OBJS = aes_amd64.o aes_intel.o aeskey.o ARCFOUR_PSM_OBJS = arcfour-x86_64.o BIGNUM_PSM_OBJS = bignum_amd64.o bignum_amd64_asm.o +MODES_PSM_OBJS = gcm_intel.o include $(SRC)/lib/Makefile.lib include $(SRC)/lib/Makefile.lib.64 @@ -46,6 +49,8 @@ ARCFOUR_PSM_SRC = arcfour-x86_64.s BIGNUM_PSM_SRC = $(BIGNUM_DIR)/$(MACH64)/bignum_amd64.c \ $(BIGNUM_DIR)/$(MACH64)/bignum_amd64_asm.s +MODES_PSM_SRC = $(MODES_DIR)/$(MACH64)/gcm_intel.s + # Sources need to be redefined after Makefile.lib inclusion. SRCS = $(AES_SRC) $(ARCFOUR_SRC) $(BIGNUM_SRC) $(BLOWFISH_SRC) \ $(DES_SRC) $(MODES_SRC) $(DH_SRC) $(DSA_SRC) $(RSA_SRC) \ @@ -88,6 +93,10 @@ pics/%.o: $(BIGNUM_DIR)/$(MACH64)/%.s $(COMPILE64.s) $(BIGNUM_FLAGS) -o $@ $< $(POST_PROCESS_O) +pics/%.o: $(MODES_DIR)/$(MACH64)/%.s + $(COMPILE64.s) $(MODES_FLAGS) -o $@ $< + $(POST_PROCESS_O) + include ../Makefile.targ arcfour-x86_64.s: $(ARCFOUR_DIR)/amd64/arcfour-x86_64.pl |