summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2015-08-19 14:23:51 +0100
committerColin Watson <cjwatson@debian.org>2015-08-19 16:48:11 +0100
commit0f0841b2d28b7463267d4d91577e72e3340a1d3a (patch)
treeba55fcd2b6e2cc22b30f5afb561dbb3da4c8b6c7 /Makefile.in
parentf2a5f5dae656759efb0b76c3d94890b65c197a02 (diff)
parent8698446b972003b63dfe5dcbdb86acfe986afb85 (diff)
New upstream release (6.8p1).
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in103
1 files changed, 82 insertions, 21 deletions
diff --git a/Makefile.in b/Makefile.in
index 4eab574a7..f52f90389 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -65,29 +65,34 @@ MANFMT=@MANFMT@
65TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-keyscan${EXEEXT} ssh-keysign${EXEEXT} ssh-pkcs11-helper$(EXEEXT) ssh-agent$(EXEEXT) scp$(EXEEXT) sftp-server$(EXEEXT) sftp$(EXEEXT) 65TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-keyscan${EXEEXT} ssh-keysign${EXEEXT} ssh-pkcs11-helper$(EXEEXT) ssh-agent$(EXEEXT) scp$(EXEEXT) sftp-server$(EXEEXT) sftp$(EXEEXT)
66 66
67LIBOPENSSH_OBJS=\ 67LIBOPENSSH_OBJS=\
68 ssh_api.o \
68 ssherr.o \ 69 ssherr.o \
69 sshbuf.o \ 70 sshbuf.o \
70 sshkey.o \ 71 sshkey.o \
71 sshbuf-getput-basic.o \ 72 sshbuf-getput-basic.o \
72 sshbuf-misc.o \ 73 sshbuf-misc.o \
73 sshbuf-getput-crypto.o 74 sshbuf-getput-crypto.o \
75 krl.o \
76 bitmap.o
74 77
75LIBSSH_OBJS=${LIBOPENSSH_OBJS} \ 78LIBSSH_OBJS=${LIBOPENSSH_OBJS} \
76 authfd.o authfile.o bufaux.o bufbn.o buffer.o \ 79 authfd.o authfile.o bufaux.o bufbn.o bufec.o buffer.o \
77 canohost.o channels.o cipher.o cipher-aes.o \ 80 canohost.o channels.o cipher.o cipher-aes.o cipher-aesctr.o \
78 cipher-bf1.o cipher-ctr.o cipher-3des1.o cleanup.o \ 81 cipher-bf1.o cipher-ctr.o cipher-3des1.o cleanup.o \
79 compat.o compress.o crc32.o deattack.o fatal.o hostfile.o \ 82 compat.o crc32.o deattack.o fatal.o hostfile.o \
80 log.o match.o md-sha256.o moduli.o nchan.o packet.o \ 83 log.o match.o md-sha256.o moduli.o nchan.o packet.o opacket.o \
81 readpass.o rsa.o ttymodes.o xmalloc.o addrmatch.o \ 84 readpass.o rsa.o ttymodes.o xmalloc.o addrmatch.o \
82 atomicio.o key.o dispatch.o kex.o mac.o uidswap.o uuencode.o misc.o \ 85 atomicio.o key.o dispatch.o mac.o uidswap.o uuencode.o misc.o \
83 monitor_fdpass.o rijndael.o ssh-dss.o ssh-ecdsa.o ssh-rsa.o dh.o \ 86 monitor_fdpass.o rijndael.o ssh-dss.o ssh-ecdsa.o ssh-rsa.o dh.o \
84 kexdh.o kexgex.o kexdhc.o kexgexc.o bufec.o kexecdh.o kexecdhc.o \
85 kexgssc.o \
86 msg.o progressmeter.o dns.o entropy.o gss-genr.o umac.o umac128.o \ 87 msg.o progressmeter.o dns.o entropy.o gss-genr.o umac.o umac128.o \
87 ssh-pkcs11.o krl.o smult_curve25519_ref.o \ 88 ssh-pkcs11.o smult_curve25519_ref.o \
88 kexc25519.o kexc25519c.o poly1305.o chacha.o cipher-chachapoly.o \ 89 poly1305.o chacha.o cipher-chachapoly.o \
89 ssh-ed25519.o digest-openssl.o hmac.o \ 90 ssh-ed25519.o digest-openssl.o digest-libc.o hmac.o \
90 sc25519.o ge25519.o fe25519.o ed25519.o verify.o hash.o blocks.o 91 sc25519.o ge25519.o fe25519.o ed25519.o verify.o hash.o blocks.o \
92 kex.o kexdh.o kexgex.o kexecdh.o kexc25519.o \
93 kexdhc.o kexgexc.o kexecdhc.o kexc25519c.o \
94 kexdhs.o kexgexs.o kexecdhs.o kexc25519s.o \
95 kexgssc.o
91 96
92SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ 97SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \
93 sshconnect.o sshconnect1.o sshconnect2.o mux.o \ 98 sshconnect.o sshconnect1.o sshconnect2.o mux.o \
@@ -100,8 +105,7 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
100 auth-chall.o auth2-chall.o groupaccess.o \ 105 auth-chall.o auth2-chall.o groupaccess.o \
101 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 \
102 auth2-none.o auth2-passwd.o auth2-pubkey.o \ 107 auth2-none.o auth2-passwd.o auth2-pubkey.o \
103 monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o kexecdhs.o \ 108 monitor_mm.o monitor.o monitor_wrap.o auth-krb5.o \
104 kexc25519s.o auth-krb5.o \
105 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 \
106 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 \
107 sftp-server.o sftp-common.o \ 111 sftp-server.o sftp-common.o \
@@ -232,6 +236,12 @@ clean: regressclean
232 rm -f regress/unittests/sshbuf/test_sshbuf 236 rm -f regress/unittests/sshbuf/test_sshbuf
233 rm -f regress/unittests/sshkey/*.o 237 rm -f regress/unittests/sshkey/*.o
234 rm -f regress/unittests/sshkey/test_sshkey 238 rm -f regress/unittests/sshkey/test_sshkey
239 rm -f regress/unittests/bitmap/*.o
240 rm -f regress/unittests/bitmap/test_bitmap
241 rm -f regress/unittests/hostkeys/*.o
242 rm -f regress/unittests/hostkeys/test_hostkeys
243 rm -f regress/unittests/kex/*.o
244 rm -f regress/unittests/kex/test_kex
235 (cd openbsd-compat && $(MAKE) clean) 245 (cd openbsd-compat && $(MAKE) clean)
236 246
237distclean: regressclean 247distclean: regressclean
@@ -246,6 +256,12 @@ distclean: regressclean
246 rm -f regress/unittests/sshbuf/test_sshbuf 256 rm -f regress/unittests/sshbuf/test_sshbuf
247 rm -f regress/unittests/sshkey/*.o 257 rm -f regress/unittests/sshkey/*.o
248 rm -f regress/unittests/sshkey/test_sshkey 258 rm -f regress/unittests/sshkey/test_sshkey
259 rm -f regress/unittests/bitmap/*.o
260 rm -f regress/unittests/bitmap/test_bitmap
261 rm -f regress/unittests/hostkeys/*.o
262 rm -f regress/unittests/hostkeys/test_hostkeys
263 rm -f regress/unittests/kex/*.o
264 rm -f regress/unittests/kex/test_kex
249 (cd openbsd-compat && $(MAKE) distclean) 265 (cd openbsd-compat && $(MAKE) distclean)
250 if test -d pkg ; then \ 266 if test -d pkg ; then \
251 rm -fr pkg ; \ 267 rm -fr pkg ; \
@@ -420,15 +436,21 @@ uninstall:
420 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 436 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
421 437
422regress-prep: 438regress-prep:
423 [ -d `pwd`/regress ] || mkdir -p `pwd`/regress 439 [ -d `pwd`/regress ] || mkdir -p `pwd`/regress
424 [ -d `pwd`/regress/unittests ] || mkdir -p `pwd`/regress/unittests 440 [ -d `pwd`/regress/unittests ] || mkdir -p `pwd`/regress/unittests
425 [ -d `pwd`/regress/unittests/test_helper ] || \ 441 [ -d `pwd`/regress/unittests/test_helper ] || \
426 mkdir -p `pwd`/regress/unittests/test_helper 442 mkdir -p `pwd`/regress/unittests/test_helper
427 [ -d `pwd`/regress/unittests/sshbuf ] || \ 443 [ -d `pwd`/regress/unittests/sshbuf ] || \
428 mkdir -p `pwd`/regress/unittests/sshbuf 444 mkdir -p `pwd`/regress/unittests/sshbuf
429 [ -d `pwd`/regress/unittests/sshkey ] || \ 445 [ -d `pwd`/regress/unittests/sshkey ] || \
430 mkdir -p `pwd`/regress/unittests/sshkey 446 mkdir -p `pwd`/regress/unittests/sshkey
431 [ -f `pwd`/regress/Makefile ] || \ 447 [ -d `pwd`/regress/unittests/bitmap ] || \
448 mkdir -p `pwd`/regress/unittests/bitmap
449 [ -d `pwd`/regress/unittests/hostkeys ] || \
450 mkdir -p `pwd`/regress/unittests/hostkeys
451 [ -d `pwd`/regress/unittests/kex ] || \
452 mkdir -p `pwd`/regress/unittests/kex
453 [ -f `pwd`/regress/Makefile ] || \
432 ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile 454 ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile
433 455
434regress/modpipe$(EXEEXT): $(srcdir)/regress/modpipe.c 456regress/modpipe$(EXEEXT): $(srcdir)/regress/modpipe.c
@@ -439,6 +461,10 @@ regress/setuid-allowed$(EXEEXT): $(srcdir)/regress/setuid-allowed.c
439 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ 461 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \
440 $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) 462 $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
441 463
464regress/netcat$(EXEEXT): $(srcdir)/regress/netcat.c
465 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \
466 $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
467
442UNITTESTS_TEST_HELPER_OBJS=\ 468UNITTESTS_TEST_HELPER_OBJS=\
443 regress/unittests/test_helper/test_helper.o \ 469 regress/unittests/test_helper/test_helper.o \
444 regress/unittests/test_helper/fuzz.o 470 regress/unittests/test_helper/fuzz.o
@@ -476,11 +502,46 @@ regress/unittests/sshkey/test_sshkey$(EXEEXT): ${UNITTESTS_TEST_SSHKEY_OBJS} \
476 regress/unittests/test_helper/libtest_helper.a \ 502 regress/unittests/test_helper/libtest_helper.a \
477 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) 503 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
478 504
505UNITTESTS_TEST_BITMAP_OBJS=\
506 regress/unittests/bitmap/tests.o
507
508regress/unittests/bitmap/test_bitmap$(EXEEXT): ${UNITTESTS_TEST_BITMAP_OBJS} \
509 regress/unittests/test_helper/libtest_helper.a libssh.a
510 $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_BITMAP_OBJS) \
511 regress/unittests/test_helper/libtest_helper.a \
512 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
513
514UNITTESTS_TEST_KEX_OBJS=\
515 regress/unittests/kex/tests.o \
516 regress/unittests/kex/test_kex.o \
517 roaming_dummy.o
518
519regress/unittests/kex/test_kex$(EXEEXT): ${UNITTESTS_TEST_KEX_OBJS} \
520 regress/unittests/test_helper/libtest_helper.a libssh.a
521 $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_KEX_OBJS) \
522 regress/unittests/test_helper/libtest_helper.a \
523 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
524
525UNITTESTS_TEST_HOSTKEYS_OBJS=\
526 regress/unittests/hostkeys/tests.o \
527 regress/unittests/hostkeys/test_iterate.o
528
529regress/unittests/hostkeys/test_hostkeys$(EXEEXT): \
530 ${UNITTESTS_TEST_HOSTKEYS_OBJS} \
531 regress/unittests/test_helper/libtest_helper.a libssh.a
532 $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_HOSTKEYS_OBJS) \
533 regress/unittests/test_helper/libtest_helper.a \
534 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
535
479REGRESS_BINARIES=\ 536REGRESS_BINARIES=\
480 regress/modpipe$(EXEEXT) \ 537 regress/modpipe$(EXEEXT) \
481 regress/setuid-allowed$(EXEEXT) \ 538 regress/setuid-allowed$(EXEEXT) \
539 regress/netcat$(EXEEXT) \
482 regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ 540 regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \
483 regress/unittests/sshkey/test_sshkey$(EXEEXT) 541 regress/unittests/sshkey/test_sshkey$(EXEEXT) \
542 regress/unittests/bitmap/test_bitmap$(EXEEXT) \
543 regress/unittests/hostkeys/test_hostkeys$(EXEEXT) \
544 regress/unittests/kex/test_kex$(EXEEXT)
484 545
485tests interop-tests t-exec: regress-prep $(TARGETS) $(REGRESS_BINARIES) 546tests interop-tests t-exec: regress-prep $(TARGETS) $(REGRESS_BINARIES)
486 BUILDDIR=`pwd`; \ 547 BUILDDIR=`pwd`; \