diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index 3aa808a38..73e56aaac 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -49,7 +49,6 @@ PICFLAG=@PICFLAG@ | |||
49 | LIBS=@LIBS@ | 49 | LIBS=@LIBS@ |
50 | K5LIBS=@K5LIBS@ | 50 | K5LIBS=@K5LIBS@ |
51 | GSSLIBS=@GSSLIBS@ | 51 | GSSLIBS=@GSSLIBS@ |
52 | SSHLIBS=@SSHLIBS@ | ||
53 | SSHDLIBS=@SSHDLIBS@ | 52 | SSHDLIBS=@SSHDLIBS@ |
54 | LIBEDIT=@LIBEDIT@ | 53 | LIBEDIT=@LIBEDIT@ |
55 | LIBFIDO2=@LIBFIDO2@ | 54 | LIBFIDO2=@LIBFIDO2@ |
@@ -58,7 +57,6 @@ AWK=@AWK@ | |||
58 | RANLIB=@RANLIB@ | 57 | RANLIB=@RANLIB@ |
59 | INSTALL=@INSTALL@ | 58 | INSTALL=@INSTALL@ |
60 | SED=@SED@ | 59 | SED=@SED@ |
61 | ENT=@ENT@ | ||
62 | XAUTH_PATH=@XAUTH_PATH@ | 60 | XAUTH_PATH=@XAUTH_PATH@ |
63 | LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@ | 61 | LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@ |
64 | LDFLAGS_NOPIE=-L. -Lopenbsd-compat/ @LDFLAGS_NOPIE@ | 62 | LDFLAGS_NOPIE=-L. -Lopenbsd-compat/ @LDFLAGS_NOPIE@ |
@@ -190,7 +188,7 @@ $(SSHOBJS): Makefile.in config.h | |||
190 | $(SSHDOBJS): Makefile.in config.h | 188 | $(SSHDOBJS): Makefile.in config.h |
191 | configure-check: $(srcdir)/configure | 189 | configure-check: $(srcdir)/configure |
192 | 190 | ||
193 | $(srcdir)/configure: configure.ac aclocal.m4 | 191 | $(srcdir)/configure: configure.ac $(srcdir)/m4/*.m4 |
194 | @echo "ERROR: configure is out of date; please run ${AUTORECONF} (and configure)" 1>&2 | 192 | @echo "ERROR: configure is out of date; please run ${AUTORECONF} (and configure)" 1>&2 |
195 | @exit 1 | 193 | @exit 1 |
196 | 194 | ||
@@ -207,7 +205,7 @@ libssh.a: $(LIBSSH_OBJS) | |||
207 | $(RANLIB) $@ | 205 | $(RANLIB) $@ |
208 | 206 | ||
209 | ssh$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS) | 207 | ssh$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS) |
210 | $(LD) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHLIBS) $(LIBS) $(GSSLIBS) | 208 | $(LD) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) $(GSSLIBS) |
211 | 209 | ||
212 | sshd$(EXEEXT): libssh.a $(LIBCOMPAT) $(SSHDOBJS) | 210 | sshd$(EXEEXT): libssh.a $(LIBCOMPAT) $(SSHDOBJS) |
213 | $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHDLIBS) $(LIBS) $(GSSLIBS) $(K5LIBS) | 211 | $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHDLIBS) $(LIBS) $(GSSLIBS) $(K5LIBS) |
@@ -278,6 +276,8 @@ clean: regressclean | |||
278 | rm -f regress/unittests/sshbuf/test_sshbuf$(EXEEXT) | 276 | rm -f regress/unittests/sshbuf/test_sshbuf$(EXEEXT) |
279 | rm -f regress/unittests/sshkey/*.o | 277 | rm -f regress/unittests/sshkey/*.o |
280 | rm -f regress/unittests/sshkey/test_sshkey$(EXEEXT) | 278 | rm -f regress/unittests/sshkey/test_sshkey$(EXEEXT) |
279 | rm -f regress/unittests/sshsig/*.o | ||
280 | rm -f regress/unittests/sshsig/test_sshsig$(EXEEXT) | ||
281 | rm -f regress/unittests/bitmap/*.o | 281 | rm -f regress/unittests/bitmap/*.o |
282 | rm -f regress/unittests/bitmap/test_bitmap$(EXEEXT) | 282 | rm -f regress/unittests/bitmap/test_bitmap$(EXEEXT) |
283 | rm -f regress/unittests/conversion/*.o | 283 | rm -f regress/unittests/conversion/*.o |
@@ -311,6 +311,8 @@ distclean: regressclean | |||
311 | rm -f regress/unittests/sshbuf/test_sshbuf | 311 | rm -f regress/unittests/sshbuf/test_sshbuf |
312 | rm -f regress/unittests/sshkey/*.o | 312 | rm -f regress/unittests/sshkey/*.o |
313 | rm -f regress/unittests/sshkey/test_sshkey | 313 | rm -f regress/unittests/sshkey/test_sshkey |
314 | rm -f regress/unittests/sshsig/*.o | ||
315 | rm -f regress/unittests/sshsig/test_sshsig | ||
314 | rm -f regress/unittests/bitmap/*.o | 316 | rm -f regress/unittests/bitmap/*.o |
315 | rm -f regress/unittests/bitmap/test_bitmap | 317 | rm -f regress/unittests/bitmap/test_bitmap |
316 | rm -f regress/unittests/conversion/*.o | 318 | rm -f regress/unittests/conversion/*.o |
@@ -490,6 +492,7 @@ regress-prep: | |||
490 | $(MKDIR_P) `pwd`/regress/unittests/test_helper | 492 | $(MKDIR_P) `pwd`/regress/unittests/test_helper |
491 | $(MKDIR_P) `pwd`/regress/unittests/sshbuf | 493 | $(MKDIR_P) `pwd`/regress/unittests/sshbuf |
492 | $(MKDIR_P) `pwd`/regress/unittests/sshkey | 494 | $(MKDIR_P) `pwd`/regress/unittests/sshkey |
495 | $(MKDIR_P) `pwd`/regress/unittests/sshsig | ||
493 | $(MKDIR_P) `pwd`/regress/unittests/bitmap | 496 | $(MKDIR_P) `pwd`/regress/unittests/bitmap |
494 | $(MKDIR_P) `pwd`/regress/unittests/conversion | 497 | $(MKDIR_P) `pwd`/regress/unittests/conversion |
495 | $(MKDIR_P) `pwd`/regress/unittests/hostkeys | 498 | $(MKDIR_P) `pwd`/regress/unittests/hostkeys |
@@ -561,6 +564,17 @@ regress/unittests/sshkey/test_sshkey$(EXEEXT): ${UNITTESTS_TEST_SSHKEY_OBJS} \ | |||
561 | regress/unittests/test_helper/libtest_helper.a \ | 564 | regress/unittests/test_helper/libtest_helper.a \ |
562 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 565 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
563 | 566 | ||
567 | UNITTESTS_TEST_SSHSIG_OBJS=\ | ||
568 | sshsig.o \ | ||
569 | regress/unittests/sshsig/tests.o \ | ||
570 | $(SKOBJS) | ||
571 | |||
572 | regress/unittests/sshsig/test_sshsig$(EXEEXT): ${UNITTESTS_TEST_SSHSIG_OBJS} \ | ||
573 | regress/unittests/test_helper/libtest_helper.a libssh.a | ||
574 | $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_SSHSIG_OBJS) \ | ||
575 | regress/unittests/test_helper/libtest_helper.a \ | ||
576 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | ||
577 | |||
564 | UNITTESTS_TEST_BITMAP_OBJS=\ | 578 | UNITTESTS_TEST_BITMAP_OBJS=\ |
565 | regress/unittests/bitmap/tests.o | 579 | regress/unittests/bitmap/tests.o |
566 | 580 | ||
@@ -657,6 +671,7 @@ regress-binaries: regress-prep $(LIBCOMPAT) \ | |||
657 | regress-unit-binaries: regress-prep $(REGRESSLIBS) \ | 671 | regress-unit-binaries: regress-prep $(REGRESSLIBS) \ |
658 | regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ | 672 | regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ |
659 | regress/unittests/sshkey/test_sshkey$(EXEEXT) \ | 673 | regress/unittests/sshkey/test_sshkey$(EXEEXT) \ |
674 | regress/unittests/sshsig/test_sshsig$(EXEEXT) \ | ||
660 | regress/unittests/bitmap/test_bitmap$(EXEEXT) \ | 675 | regress/unittests/bitmap/test_bitmap$(EXEEXT) \ |
661 | regress/unittests/conversion/test_conversion$(EXEEXT) \ | 676 | regress/unittests/conversion/test_conversion$(EXEEXT) \ |
662 | regress/unittests/hostkeys/test_hostkeys$(EXEEXT) \ | 677 | regress/unittests/hostkeys/test_hostkeys$(EXEEXT) \ |