From eb13d9782306038dfda7d5fbf0b1495a51f5df2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Fri, 25 Nov 2005 14:09:10 +0100
Subject: [PATCH] Avoid using single-suffix rule to build executables. (Actual
 change in the previous checkin).

Rev: src/nettle/testsuite/Makefile.in:1.18
---
 testsuite/Makefile.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in
index d0e1d192..9963df61 100644
--- a/testsuite/Makefile.in
+++ b/testsuite/Makefile.in
@@ -38,6 +38,11 @@ DISTFILES = $(SOURCES) Makefile.in $(TS_SH) run-tests teardown-env \
 
 all: $(TARGETS) $(EXTRA_TARGETS)
 
+# BSD (and Solaris) make doesn't allow extra dependencies together one
+# single-suffix rules. So in the common case of $(EXEEXT) empty, we
+# need a rule -test.$(OBJEXT)-test$(EXEEXT): rather than the simpler
+# .$(OBJEXT)$(EXEEXT):
+
 .SUFFIXES: -test.c -test.$(OBJEXT) -test$(EXEEXT)
 
 .c.$(OBJEXT):
-- 
GitLab