diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-07-18 17:22:49 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-07-18 17:22:49 +1000 |
commit | e8b58f48fbb1b524fb4f0d4865fa0005d6a4b782 (patch) | |
tree | 4a0c1da6da376b83268bd51c0598a60715e9c417 /Makefile.in | |
parent | eac1bbd06872c273f16ac0f9976b0aef026b701b (diff) |
Explicitly specify source files for regress tools.
Since adding $(REGRESSLIBS), $? is wrong because it includes only the
changed source files. $< seems like it'd be right however it doesn't
seem to work on some non-GNU makes, so do what works everywhere.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index e324f6538..12991cd9f 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -430,19 +430,19 @@ regress-prep: | |||
430 | REGRESSLIBS=libssh.a $(LIBCOMPAT) | 430 | REGRESSLIBS=libssh.a $(LIBCOMPAT) |
431 | 431 | ||
432 | regress/modpipe$(EXEEXT): $(srcdir)/regress/modpipe.c $(REGRESSLIBS) | 432 | regress/modpipe$(EXEEXT): $(srcdir)/regress/modpipe.c $(REGRESSLIBS) |
433 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | 433 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/modpipe.c \ |
434 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 434 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
435 | 435 | ||
436 | regress/setuid-allowed$(EXEEXT): $(srcdir)/regress/setuid-allowed.c $(REGRESSLIBS) | 436 | regress/setuid-allowed$(EXEEXT): $(srcdir)/regress/setuid-allowed.c $(REGRESSLIBS) |
437 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | 437 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/setuid-allowed.c \ |
438 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 438 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
439 | 439 | ||
440 | regress/netcat$(EXEEXT): $(srcdir)/regress/netcat.c $(REGRESSLIBS) | 440 | regress/netcat$(EXEEXT): $(srcdir)/regress/netcat.c $(REGRESSLIBS) |
441 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | 441 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/netcat.c \ |
442 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 442 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
443 | 443 | ||
444 | regress/check-perm$(EXEEXT): $(srcdir)/regress/check-perm.c $(REGRESSLIBS) | 444 | regress/check-perm$(EXEEXT): $(srcdir)/regress/check-perm.c $(REGRESSLIBS) |
445 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | 445 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/check-perm.c \ |
446 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 446 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
447 | 447 | ||
448 | UNITTESTS_TEST_HELPER_OBJS=\ | 448 | UNITTESTS_TEST_HELPER_OBJS=\ |