summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in44
1 files changed, 40 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 21948dd7d..a6eb81ec2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -98,14 +98,14 @@ LIBSSH_OBJS=${LIBOPENSSH_OBJS} \
98SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ 98SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \
99 sshconnect.o sshconnect1.o sshconnect2.o mux.o 99 sshconnect.o sshconnect1.o sshconnect2.o mux.o
100 100
101SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ 101SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o \
102 audit.o audit-bsm.o audit-linux.o platform.o \ 102 audit.o audit-bsm.o audit-linux.o platform.o \
103 sshpty.o sshlogin.o servconf.o serverloop.o \ 103 sshpty.o sshlogin.o servconf.o serverloop.o \
104 auth.o auth1.o auth2.o auth-options.o session.o \ 104 auth.o auth2.o auth-options.o session.o \
105 auth-chall.o auth2-chall.o groupaccess.o \ 105 auth2-chall.o groupaccess.o \
106 auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \ 106 auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \
107 auth2-none.o auth2-passwd.o auth2-pubkey.o \ 107 auth2-none.o auth2-passwd.o auth2-pubkey.o \
108 monitor_mm.o monitor.o monitor_wrap.o auth-krb5.o \ 108 monitor.o monitor_wrap.o auth-krb5.o \
109 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o \ 109 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o \
110 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \ 110 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \
111 sftp-server.o sftp-common.o \ 111 sftp-server.o sftp-common.o \
@@ -241,6 +241,10 @@ clean: regressclean
241 rm -f regress/unittests/hostkeys/test_hostkeys 241 rm -f regress/unittests/hostkeys/test_hostkeys
242 rm -f regress/unittests/kex/*.o 242 rm -f regress/unittests/kex/*.o
243 rm -f regress/unittests/kex/test_kex 243 rm -f regress/unittests/kex/test_kex
244 rm -f regress/unittests/match/*.o
245 rm -f regress/unittests/match/test_match
246 rm -f regress/unittests/utf8/*.o
247 rm -f regress/unittests/utf8/test_utf8
244 rm -f regress/misc/kexfuzz/*.o 248 rm -f regress/misc/kexfuzz/*.o
245 rm -f regress/misc/kexfuzz/kexfuzz 249 rm -f regress/misc/kexfuzz/kexfuzz
246 (cd openbsd-compat && $(MAKE) clean) 250 (cd openbsd-compat && $(MAKE) clean)
@@ -263,6 +267,10 @@ distclean: regressclean
263 rm -f regress/unittests/hostkeys/test_hostkeys 267 rm -f regress/unittests/hostkeys/test_hostkeys
264 rm -f regress/unittests/kex/*.o 268 rm -f regress/unittests/kex/*.o
265 rm -f regress/unittests/kex/test_kex 269 rm -f regress/unittests/kex/test_kex
270 rm -f regress/unittests/match/*.o
271 rm -f regress/unittests/match/test_match
272 rm -f regress/unittests/utf8/*.o
273 rm -f regress/unittests/utf8/test_utf8
266 rm -f regress/unittests/misc/kexfuzz 274 rm -f regress/unittests/misc/kexfuzz
267 (cd openbsd-compat && $(MAKE) distclean) 275 (cd openbsd-compat && $(MAKE) distclean)
268 if test -d pkg ; then \ 276 if test -d pkg ; then \
@@ -424,6 +432,10 @@ regress-prep:
424 mkdir -p `pwd`/regress/unittests/hostkeys 432 mkdir -p `pwd`/regress/unittests/hostkeys
425 [ -d `pwd`/regress/unittests/kex ] || \ 433 [ -d `pwd`/regress/unittests/kex ] || \
426 mkdir -p `pwd`/regress/unittests/kex 434 mkdir -p `pwd`/regress/unittests/kex
435 [ -d `pwd`/regress/unittests/match ] || \
436 mkdir -p `pwd`/regress/unittests/match
437 [ -d `pwd`/regress/unittests/utf8 ] || \
438 mkdir -p `pwd`/regress/unittests/utf8
427 [ -d `pwd`/regress/misc/kexfuzz ] || \ 439 [ -d `pwd`/regress/misc/kexfuzz ] || \
428 mkdir -p `pwd`/regress/misc/kexfuzz 440 mkdir -p `pwd`/regress/misc/kexfuzz
429 [ -f `pwd`/regress/Makefile ] || \ 441 [ -f `pwd`/regress/Makefile ] || \
@@ -514,6 +526,26 @@ regress/unittests/hostkeys/test_hostkeys$(EXEEXT): \
514 regress/unittests/test_helper/libtest_helper.a \ 526 regress/unittests/test_helper/libtest_helper.a \
515 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) 527 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
516 528
529UNITTESTS_TEST_MATCH_OBJS=\
530 regress/unittests/match/tests.o
531
532regress/unittests/match/test_match$(EXEEXT): \
533 ${UNITTESTS_TEST_MATCH_OBJS} \
534 regress/unittests/test_helper/libtest_helper.a libssh.a
535 $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_MATCH_OBJS) \
536 regress/unittests/test_helper/libtest_helper.a \
537 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
538
539UNITTESTS_TEST_UTF8_OBJS=\
540 regress/unittests/utf8/tests.o
541
542regress/unittests/utf8/test_utf8$(EXEEXT): \
543 ${UNITTESTS_TEST_UTF8_OBJS} \
544 regress/unittests/test_helper/libtest_helper.a libssh.a
545 $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_UTF8_OBJS) \
546 regress/unittests/test_helper/libtest_helper.a \
547 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
548
517MISC_KEX_FUZZ_OBJS=\ 549MISC_KEX_FUZZ_OBJS=\
518 regress/misc/kexfuzz/kexfuzz.o 550 regress/misc/kexfuzz/kexfuzz.o
519 551
@@ -530,6 +562,8 @@ regress-binaries: regress/modpipe$(EXEEXT) \
530 regress/unittests/bitmap/test_bitmap$(EXEEXT) \ 562 regress/unittests/bitmap/test_bitmap$(EXEEXT) \
531 regress/unittests/hostkeys/test_hostkeys$(EXEEXT) \ 563 regress/unittests/hostkeys/test_hostkeys$(EXEEXT) \
532 regress/unittests/kex/test_kex$(EXEEXT) \ 564 regress/unittests/kex/test_kex$(EXEEXT) \
565 regress/unittests/match/test_match$(EXEEXT) \
566 regress/unittests/utf8/test_utf8$(EXEEXT) \
533 regress/misc/kexfuzz/kexfuzz$(EXEEXT) 567 regress/misc/kexfuzz/kexfuzz$(EXEEXT)
534 568
535tests interop-tests t-exec: regress-prep regress-binaries $(TARGETS) 569tests interop-tests t-exec: regress-prep regress-binaries $(TARGETS)
@@ -548,6 +582,7 @@ tests interop-tests t-exec: regress-prep regress-binaries $(TARGETS)
548 TEST_SSH_PUTTYGEN="puttygen"; \ 582 TEST_SSH_PUTTYGEN="puttygen"; \
549 TEST_SSH_CONCH="conch"; \ 583 TEST_SSH_CONCH="conch"; \
550 TEST_SSH_IPV6="@TEST_SSH_IPV6@" ; \ 584 TEST_SSH_IPV6="@TEST_SSH_IPV6@" ; \
585 TEST_SSH_UTF8="@TEST_SSH_UTF8@" ; \
551 TEST_SSH_ECC="@TEST_SSH_ECC@" ; \ 586 TEST_SSH_ECC="@TEST_SSH_ECC@" ; \
552 cd $(srcdir)/regress || exit $$?; \ 587 cd $(srcdir)/regress || exit $$?; \
553 $(MAKE) \ 588 $(MAKE) \
@@ -572,6 +607,7 @@ tests interop-tests t-exec: regress-prep regress-binaries $(TARGETS)
572 TEST_SSH_PUTTYGEN="$${TEST_SSH_PUTTYGEN}" \ 607 TEST_SSH_PUTTYGEN="$${TEST_SSH_PUTTYGEN}" \
573 TEST_SSH_CONCH="$${TEST_SSH_CONCH}" \ 608 TEST_SSH_CONCH="$${TEST_SSH_CONCH}" \
574 TEST_SSH_IPV6="$${TEST_SSH_IPV6}" \ 609 TEST_SSH_IPV6="$${TEST_SSH_IPV6}" \
610 TEST_SSH_UTF8="$${TEST_SSH_UTF8}" \
575 TEST_SSH_ECC="$${TEST_SSH_ECC}" \ 611 TEST_SSH_ECC="$${TEST_SSH_ECC}" \
576 TEST_SHELL="${TEST_SHELL}" \ 612 TEST_SHELL="${TEST_SHELL}" \
577 EXEEXT="$(EXEEXT)" \ 613 EXEEXT="$(EXEEXT)" \