From: Frédéric Bonnard <frediz@debian.org>
Date: Mon, 16 Sep 2019 14:42:38 +0200
Subject: Fix parallel build
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

When building in parallel mode, test and test-cmd, compilations collide on stub.o
We could force make -j1, but the Makefile would still be inherently badly
written.
---
 Makefile.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- a/Makefile.in
+++ b/Makefile.in
@@ -76,7 +76,9 @@ configure:	configure.ac
 test/test test/test-cmd: test/test.c test/test-cmd.c test/stub.c src/mod_auth_openidc.la
 	@APXS2@ @APXS2_OPTS@ -Wc,"-DNAMEVER=\"@NAMEVER@\" $(CFLAGS)" -Wl,"$(LIBS)" -Isrc -Wc,-Wall -Wc,-g -c -o $@ $@.c test/stub.c $(SRC:.c=.lo) @APR_LIBS@
 
-test-compile: test/test test/test-cmd
+test/test: test/test-cmd
+
+test-compile: test/test
 
 test: test-compile
 	test/test
