[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[[UNIKRAFT/LIBNETTLE PATCH] v2 2/2] Add Makefile.uk



From: Cristian Vijelie <cristianvijelie@xxxxxxxxx>

Signed-off-by: Cristian Vijelie <cristianvijelie@xxxxxxxxx>
---
 Makefile.uk | 311 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 311 insertions(+)
 create mode 100644 Makefile.uk

diff --git a/Makefile.uk b/Makefile.uk
new file mode 100644
index 0000000..64cd2ce
--- /dev/null
+++ b/Makefile.uk
@@ -0,0 +1,311 @@
+################################################################################
+# Library registration
+################################################################################
+$(eval $(call addlib_s,libnettle,$(CONFIG_LIBNETTLE)))
+
+################################################################################
+# Original sources
+################################################################################
+LIBNETTLE_VERSION=3.6
+LIBNETTLE_TARNAME=nettle-$(LIBNETTLE_VERSION)
+LIBNETTLE_URL=https://ftp.gnu.org/gnu/nettle/$(LIBNETTLE_TARNAME).tar.gz
+$(eval $(call fetch,libnettle,$(LIBNETTLE_URL)))
+LIBNETTLE_PATCHDIR=$(LIBNETTLE_BASE)/patches
+$(eval $(call patch,libnettle,$(LIBNETTLE_PATCHDIR),$(LIBNETTLE_TARNAME)))
+
+################################################################################
+# Helpers
+################################################################################
+LIBNETTLE_DIR = $(LIBNETTLE_ORIGIN)/$(LIBNETTLE_TARNAME)
+
+################################################################################
+# Library includes
+################################################################################
+LIBNETTLE-CINCLUDES-y = -I$(LIBNETTLE_DIR) -I$(LIBNETTLE_BASE)/include
+
+################################################################################
+# Global flags
+################################################################################
+LIBNETTLE_CFLAGS = -DHAVE_CONFIG_H -g -O2 -ggdb3 -Wall -W -Wno-sign-compare   \
+-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   \
+-Wpointer-arith -Wbad-function-cast -Wnested-externs -fpic -MT $@ -MD -MP \
+-MF $@.d
+
+################################################################################
+# Nettle code
+################################################################################
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes-decrypt-internal.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes-decrypt.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes-encrypt-internal.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes-encrypt.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes-encrypt-table.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes-invert-internal.c 
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes-set-key-internal.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes-set-encrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes-set-decrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes128-set-encrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes128-set-decrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes128-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes192-set-encrypt-key.c 
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes192-set-decrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes192-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes256-set-encrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes256-set-decrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/aes256-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/arcfour.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/arcfour-crypt.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/arctwo.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/arctwo-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/blowfish.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/base16-encode.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/base16-decode.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/base16-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/base64-encode.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/base64-decode.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/base64-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/base64url-encode.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/base64url-decode.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/base64url-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/buffer.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/buffer-init.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia-crypt-internal.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia-table.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia-absorb.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia-invert-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia128-set-encrypt-key.c 
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia128-crypt.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia128-set-decrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia128-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia192-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia256-set-encrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia256-crypt.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia256-set-decrypt-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/camellia256-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cast128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cast128-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cbc.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/ccm.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/ccm-aes128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/ccm-aes192.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/ccm-aes256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cfb.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/siv-cmac.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/siv-cmac-aes128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/siv-cmac-aes256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cnd-memcpy.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/chacha-crypt.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/chacha-core-internal.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/chacha-poly1305.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/chacha-poly1305-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/chacha-set-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/chacha-set-nonce.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/ctr.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/ctr16.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/des.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/des3.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/eax.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/eax-aes128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/eax-aes128-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-aes.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-aes128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-aes128-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-aes192.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-aes192-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-aes256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-aes256-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-camellia128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-camellia128-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-camellia256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-camellia256-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cmac.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cmac64.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cmac-aes128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cmac-aes256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cmac-des3.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cmac-aes128-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cmac-aes256-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/cmac-des3-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gost28147.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gosthash94.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gosthash94-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-gosthash94.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-md5.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-ripemd160.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha1.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha224.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha384.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha512.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-md5-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-ripemd160-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha1-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha224-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha256-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha384-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hmac-sha512-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/knuth-lfib.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/hkdf.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/md2.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/md2-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/md4.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/md4-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/md5.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/md5-compress.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/md5-compat.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/md5-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/memeql-sec.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/memxor.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/memxor3.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/nettle-lookup-hash.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/nettle-meta-aeads.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/nettle-meta-armors.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/nettle-meta-ciphers.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/nettle-meta-hashes.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/nettle-meta-macs.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/pbkdf2.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/pbkdf2-hmac-gosthash94.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/pbkdf2-hmac-sha1.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/pbkdf2-hmac-sha256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/poly1305-aes.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/poly1305-internal.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/realloc.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/ripemd160.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/ripemd160-compress.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/ripemd160-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/salsa20-core-internal.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/salsa20-crypt.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/salsa20r12-crypt.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/salsa20-set-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/salsa20-set-nonce.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/salsa20-128-set-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/salsa20-256-set-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha1.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha1-compress.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha1-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha256-compress.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha224-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha256-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha512.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha512-compress.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha384-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha512-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha512-224-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha512-256-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3-permute.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3-224.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3-224-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3-256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3-256-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3-384.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3-384-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3-512.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/sha3-512-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/shake256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/serpent-set-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/serpent-encrypt.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/serpent-decrypt.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/serpent-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/twofish.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/twofish-meta.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac-nh.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac-nh-n.s
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac-l2.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac-l3.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac-poly64.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac-poly128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac-set-key.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac32.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac64.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac96.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/umac128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/version.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/write-be32.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/write-le32.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/write-le64.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/yarrow256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/yarrow_key_event.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/xts.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/xts-aes128.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/xts-aes256.c
+LIBNETTLE_SRCS-y += $(LIBNETTLE_DIR)/gcm-hash8.s
+
+################################################################################
+# Nettle prepare
+################################################################################
+# Run ./configure
+$(LIBNETTLE_DIR)/.configured: $(LIBNETTLE_BUILD)/.origin
+       $(call verbose_cmd,CONFIG,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) 
&& ./configure && touch $@)
+
+# Generate assembly files
+
+LIBNETTLE_ASSEMBLY_DEPS = $(LIBNETTLE_DIR)/asm.m4 $(LIBNETTLE_DIR)/machine.m4 
$(LIBNETTLE_DIR)/config.m4
+
+$(LIBNETTLE_DIR)/aes-decrypt-internal.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/aes-decrypt-internal.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/aes-encrypt-internal.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/aes-encrypt-internal.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/camellia-crypt-internal.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/camellia-crypt-internal.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/chacha-core-internal.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/chacha-core-internal.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/md5-compress.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/md5-compress.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/memxor.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/memxor.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/memxor3.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/memxor3.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/poly1305-internal.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/poly1305-internal.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/salsa20-core-internal.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/salsa20-core-internal.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/salsa20-crypt.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/salsa20-crypt.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/sha1-compress.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/sha1-compress.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/sha256-compress.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/sha256-compress.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/sha512-compress.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/sha512-compress.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/sha3-permute.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/sha3-permute.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/serpent-encrypt.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/serpent-encrypt.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/serpent-decrypt.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/serpent-decrypt.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/umac-nh.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/umac-nh.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/umac-nh-n.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/umac-nh-n.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+$(LIBNETTLE_DIR)/gcm-hash8.s: $(LIBNETTLE_ASSEMBLY_DEPS) 
$(LIBNETTLE_DIR)/gcm-hash8.asm
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
/usr/bin/m4 $^ >$@)
+
+LIBNETTLE_PREPAED_DEPS = \
+       $(LIBNETTLE_DIR)/.configured \
+       $(LIBNETTLE_DIR)/aes-decrypt-internal.s \
+       $(LIBNETTLE_DIR)/aes-encrypt-internal.s \
+       $(LIBNETTLE_DIR)/camellia-crypt-internal.s \
+       $(LIBNETTLE_DIR)/chacha-core-internal.s \
+       $(LIBNETTLE_DIR)/md5-compress.s \
+       $(LIBNETTLE_DIR)/memxor.s \
+       $(LIBNETTLE_DIR)/memxor3.s \
+       $(LIBNETTLE_DIR)/poly1305-internal.s \
+       $(LIBNETTLE_DIR)/salsa20-core-internal.s \
+       $(LIBNETTLE_DIR)/salsa20-crypt.s \
+       $(LIBNETTLE_DIR)/sha1-compress.s \
+       $(LIBNETTLE_DIR)/sha256-compress.s \
+       $(LIBNETTLE_DIR)/sha512-compress.s \
+       $(LIBNETTLE_DIR)/sha3-permute.s \
+       $(LIBNETTLE_DIR)/serpent-encrypt.s \
+       $(LIBNETTLE_DIR)/serpent-decrypt.s \
+       $(LIBNETTLE_DIR)/umac-nh.s \
+       $(LIBNETTLE_DIR)/umac-nh-n.s \
+       $(LIBNETTLE_DIR)/gcm-hash8.s \
+
+$(LIBNETTLE_BUILD)/.prepared : $(LIBNETTLE_PREPAED_DEPS)
+       $(call verbose_cmd,GEN,libnettle: $(notdir $@), cd $(LIBNETTLE_DIR) && 
touch $@)
+
+UK_PREPARE += $(LIBNETTLE_BUILD)/.prepared
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.