From 7b40ef6c2eef40c339f6ea8920cb8a44838e10c9 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 8 Mar 2016 14:12:58 -0800 Subject: [PATCH] make a regress-binaries target Easier to build all the regression/unit test binaries in one pass than going through all of ${REGRESS_BINARIES} --- Makefile.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 84c3c6c16..139e20a8c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -516,8 +516,7 @@ regress/misc/kexfuzz/kexfuzz$(EXEEXT): ${MISC_KEX_FUZZ_OBJS} libssh.a $(LD) -o $@ $(LDFLAGS) $(MISC_KEX_FUZZ_OBJS) \ -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) -REGRESS_BINARIES=\ - regress/modpipe$(EXEEXT) \ +regress-binaries: regress/modpipe$(EXEEXT) \ regress/setuid-allowed$(EXEEXT) \ regress/netcat$(EXEEXT) \ regress/check-perm$(EXEEXT) \ @@ -528,7 +527,7 @@ REGRESS_BINARIES=\ regress/unittests/kex/test_kex$(EXEEXT) \ regress/misc/kexfuzz/kexfuzz$(EXEEXT) -tests interop-tests t-exec: regress-prep $(TARGETS) $(REGRESS_BINARIES) +tests interop-tests t-exec: regress-prep regress-binaries $(TARGETS) BUILDDIR=`pwd`; \ TEST_SSH_SCP="$${BUILDDIR}/scp"; \ TEST_SSH_SSH="$${BUILDDIR}/ssh"; \