From efd807bbbbf495942089f418d6762e24d6bb6fc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Tue, 7 May 2002 15:03:00 +0200
Subject: [PATCH] (%.asm): Added asm.m4, machine.m4 and config.m4 to the m4
 command line. (libnettle_a_SOURCES): Added aes-encrypt-table.c.

Rev: src/nettle/Makefile.am:1.35
---
 Makefile.am | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index b0286b08..d82ab8e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,7 +16,9 @@ libnettleinclude_HEADERS = aes.h arcfour.h blowfish.h \
 			   serpent.h sha.h twofish.h \
 			   yarrow.h
 			   
-libnettle_a_SOURCES = aes.c aes-decrypt.c aes-encrypt.c aes.h aes-internal.h \
+libnettle_a_SOURCES = aes.c aes-decrypt.c \
+		      aes-encrypt-table.c aes-encrypt.c \
+		      aes.h aes-internal.h \
 		      aes-set-encrypt-key.c aes-set-decrypt-key.c aes-meta.c \
 		      arcfour.c arcfour.h arcfour-meta.c \
                       base64.c base64-meta.c base64.h \
@@ -58,8 +60,9 @@ SUFFIXES = .asm
 RM_TMP = rm -f
 
 # FIXME: How to write this without using GNU make features?
-%.o: %.asm asm.m4 machine.m4
-	$(M4) `test -f $< || echo '$(srcdir)/'`$< >tmp-$*.s
+%.o: %.asm asm.m4 machine.m4 config.m4 
+	$(M4) $(srcdir)/asm.m4 $(srcdir)/machine.m4 config.m4 \
+		`test -f $< || echo '$(srcdir)/'`$< >tmp-$*.s
 	$(COMPILE) -c tmp-$*.s -o $@
 	$(RM_TMP) tmp-$*.s
 
-- 
GitLab