From ab14b48d10e2aceef314ead56ab9c570126ce737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 11 Feb 2002 18:57:53 +0100 Subject: [PATCH] (.asm.o): New rule for assembling via m4. (libnettle_a_SOURCES): Added new rsa and aes files. Rev: src/nettle/Makefile.am:1.29 --- Makefile.am | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 602ad86a..091545b6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,7 @@ libnettleinclude_HEADERS = aes.h arcfour.h blowfish.h \ serpent.h sha.h twofish.h \ yarrow.h -libnettle_a_SOURCES = aes.c aes.h aes-meta.c \ +libnettle_a_SOURCES = aes.c aes-tables.c aes-set-key.c aes.h aes-meta.c \ arcfour.c arcfour.h arcfour-meta.c \ base64.c base64-meta.c base64.h \ cast128.c cast128.h cast128_sboxes.h cast128-meta.c \ @@ -33,6 +33,7 @@ libnettle_a_SOURCES = aes.c aes.h aes-meta.c \ yarrow.h yarrow256.c yarrow_key_event.c \ bignum.h bignum.c \ rsa.h rsa.c rsa_md5.c rsa_sha1.c \ + rsa-encrypt.c rsa-decrypt.c \ rsa-keygen.c rsa-compat.h rsa-compat.c \ nettle-internal.c nettle-internal.h nettle-meta.h @@ -47,7 +48,16 @@ all-local: nettle.html EXTRA_DIST = macros.h memxor.h $(des_headers) descore.README nettle.html \ .bootstrap $(des_headers) -# BUILT_SOURCE = $(des_headers) +# Using assembler files. Should get precedence before the .c.o rule. +SUFFIXES = .asm + +# can be overridden during development, eg. "make RM_TMP=: aes.o" +RM_TMP = rm -f + +.asm.o: + $(M4) `test -f $< || echo '$(srcdir)/'`$< >tmp-$*.s + $(COMPILE) -c tmp-$*.s -o $@ + $(RM_TMP) tmp-$*.s %.html : %.texinfo (cd $(srcdir) \ -- GitLab