diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
commit | baccdb349b31c47cd76fb63211f754ed33a9707e (patch) | |
tree | d03653f975fd4eb8bf71bb0c9d168614401202fa /Makefile.in | |
parent | 487bdb3a5ef6075887b830ccb8a0b14f6da78e93 (diff) | |
parent | 9f82e5a9042f2d872e98f48a876fcab3e25dd9bb (diff) |
Import openssh_6.8p1.orig.tar.gz
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 101 |
1 files changed, 81 insertions, 20 deletions
diff --git a/Makefile.in b/Makefile.in index 06be3d5d5..40cc7aae1 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -65,28 +65,33 @@ MANFMT=@MANFMT@ | |||
65 | TARGETS=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) | 65 | TARGETS=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 | ||
67 | LIBOPENSSH_OBJS=\ | 67 | LIBOPENSSH_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 | ||
75 | LIBSSH_OBJS=${LIBOPENSSH_OBJS} \ | 78 | LIBSSH_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 | 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 \ |
86 | ssh-pkcs11.o krl.o smult_curve25519_ref.o \ | 88 | ssh-pkcs11.o smult_curve25519_ref.o \ |
87 | kexc25519.o kexc25519c.o poly1305.o chacha.o cipher-chachapoly.o \ | 89 | poly1305.o chacha.o cipher-chachapoly.o \ |
88 | ssh-ed25519.o digest-openssl.o hmac.o \ | 90 | ssh-ed25519.o digest-openssl.o digest-libc.o hmac.o \ |
89 | 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 | ||
90 | 95 | ||
91 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ | 96 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ |
92 | sshconnect.o sshconnect1.o sshconnect2.o mux.o \ | 97 | sshconnect.o sshconnect1.o sshconnect2.o mux.o \ |
@@ -99,8 +104,7 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ | |||
99 | auth-chall.o auth2-chall.o groupaccess.o \ | 104 | auth-chall.o auth2-chall.o groupaccess.o \ |
100 | auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \ | 105 | auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \ |
101 | auth2-none.o auth2-passwd.o auth2-pubkey.o \ | 106 | auth2-none.o auth2-passwd.o auth2-pubkey.o \ |
102 | monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o kexecdhs.o \ | 107 | monitor_mm.o monitor.o monitor_wrap.o auth-krb5.o \ |
103 | kexc25519s.o auth-krb5.o \ | ||
104 | auth2-gss.o gss-serv.o gss-serv-krb5.o \ | 108 | auth2-gss.o gss-serv.o gss-serv-krb5.o \ |
105 | loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \ | 109 | loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \ |
106 | sftp-server.o sftp-common.o \ | 110 | sftp-server.o sftp-common.o \ |
@@ -230,6 +234,12 @@ clean: regressclean | |||
230 | rm -f regress/unittests/sshbuf/test_sshbuf | 234 | rm -f regress/unittests/sshbuf/test_sshbuf |
231 | rm -f regress/unittests/sshkey/*.o | 235 | rm -f regress/unittests/sshkey/*.o |
232 | rm -f regress/unittests/sshkey/test_sshkey | 236 | rm -f regress/unittests/sshkey/test_sshkey |
237 | rm -f regress/unittests/bitmap/*.o | ||
238 | rm -f regress/unittests/bitmap/test_bitmap | ||
239 | rm -f regress/unittests/hostkeys/*.o | ||
240 | rm -f regress/unittests/hostkeys/test_hostkeys | ||
241 | rm -f regress/unittests/kex/*.o | ||
242 | rm -f regress/unittests/kex/test_kex | ||
233 | (cd openbsd-compat && $(MAKE) clean) | 243 | (cd openbsd-compat && $(MAKE) clean) |
234 | 244 | ||
235 | distclean: regressclean | 245 | distclean: regressclean |
@@ -244,6 +254,12 @@ distclean: regressclean | |||
244 | rm -f regress/unittests/sshbuf/test_sshbuf | 254 | rm -f regress/unittests/sshbuf/test_sshbuf |
245 | rm -f regress/unittests/sshkey/*.o | 255 | rm -f regress/unittests/sshkey/*.o |
246 | rm -f regress/unittests/sshkey/test_sshkey | 256 | rm -f regress/unittests/sshkey/test_sshkey |
257 | rm -f regress/unittests/bitmap/*.o | ||
258 | rm -f regress/unittests/bitmap/test_bitmap | ||
259 | rm -f regress/unittests/hostkeys/*.o | ||
260 | rm -f regress/unittests/hostkeys/test_hostkeys | ||
261 | rm -f regress/unittests/kex/*.o | ||
262 | rm -f regress/unittests/kex/test_kex | ||
247 | (cd openbsd-compat && $(MAKE) distclean) | 263 | (cd openbsd-compat && $(MAKE) distclean) |
248 | if test -d pkg ; then \ | 264 | if test -d pkg ; then \ |
249 | rm -fr pkg ; \ | 265 | rm -fr pkg ; \ |
@@ -417,15 +433,21 @@ uninstall: | |||
417 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | 433 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 |
418 | 434 | ||
419 | regress-prep: | 435 | regress-prep: |
420 | [ -d `pwd`/regress ] || mkdir -p `pwd`/regress | 436 | [ -d `pwd`/regress ] || mkdir -p `pwd`/regress |
421 | [ -d `pwd`/regress/unittests ] || mkdir -p `pwd`/regress/unittests | 437 | [ -d `pwd`/regress/unittests ] || mkdir -p `pwd`/regress/unittests |
422 | [ -d `pwd`/regress/unittests/test_helper ] || \ | 438 | [ -d `pwd`/regress/unittests/test_helper ] || \ |
423 | mkdir -p `pwd`/regress/unittests/test_helper | 439 | mkdir -p `pwd`/regress/unittests/test_helper |
424 | [ -d `pwd`/regress/unittests/sshbuf ] || \ | 440 | [ -d `pwd`/regress/unittests/sshbuf ] || \ |
425 | mkdir -p `pwd`/regress/unittests/sshbuf | 441 | mkdir -p `pwd`/regress/unittests/sshbuf |
426 | [ -d `pwd`/regress/unittests/sshkey ] || \ | 442 | [ -d `pwd`/regress/unittests/sshkey ] || \ |
427 | mkdir -p `pwd`/regress/unittests/sshkey | 443 | mkdir -p `pwd`/regress/unittests/sshkey |
428 | [ -f `pwd`/regress/Makefile ] || \ | 444 | [ -d `pwd`/regress/unittests/bitmap ] || \ |
445 | mkdir -p `pwd`/regress/unittests/bitmap | ||
446 | [ -d `pwd`/regress/unittests/hostkeys ] || \ | ||
447 | mkdir -p `pwd`/regress/unittests/hostkeys | ||
448 | [ -d `pwd`/regress/unittests/kex ] || \ | ||
449 | mkdir -p `pwd`/regress/unittests/kex | ||
450 | [ -f `pwd`/regress/Makefile ] || \ | ||
429 | ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile | 451 | ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile |
430 | 452 | ||
431 | regress/modpipe$(EXEEXT): $(srcdir)/regress/modpipe.c | 453 | regress/modpipe$(EXEEXT): $(srcdir)/regress/modpipe.c |
@@ -436,6 +458,10 @@ regress/setuid-allowed$(EXEEXT): $(srcdir)/regress/setuid-allowed.c | |||
436 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | 458 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ |
437 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 459 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
438 | 460 | ||
461 | regress/netcat$(EXEEXT): $(srcdir)/regress/netcat.c | ||
462 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | ||
463 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | ||
464 | |||
439 | UNITTESTS_TEST_HELPER_OBJS=\ | 465 | UNITTESTS_TEST_HELPER_OBJS=\ |
440 | regress/unittests/test_helper/test_helper.o \ | 466 | regress/unittests/test_helper/test_helper.o \ |
441 | regress/unittests/test_helper/fuzz.o | 467 | regress/unittests/test_helper/fuzz.o |
@@ -473,11 +499,46 @@ regress/unittests/sshkey/test_sshkey$(EXEEXT): ${UNITTESTS_TEST_SSHKEY_OBJS} \ | |||
473 | regress/unittests/test_helper/libtest_helper.a \ | 499 | regress/unittests/test_helper/libtest_helper.a \ |
474 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 500 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
475 | 501 | ||
502 | UNITTESTS_TEST_BITMAP_OBJS=\ | ||
503 | regress/unittests/bitmap/tests.o | ||
504 | |||
505 | regress/unittests/bitmap/test_bitmap$(EXEEXT): ${UNITTESTS_TEST_BITMAP_OBJS} \ | ||
506 | regress/unittests/test_helper/libtest_helper.a libssh.a | ||
507 | $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_BITMAP_OBJS) \ | ||
508 | regress/unittests/test_helper/libtest_helper.a \ | ||
509 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | ||
510 | |||
511 | UNITTESTS_TEST_KEX_OBJS=\ | ||
512 | regress/unittests/kex/tests.o \ | ||
513 | regress/unittests/kex/test_kex.o \ | ||
514 | roaming_dummy.o | ||
515 | |||
516 | regress/unittests/kex/test_kex$(EXEEXT): ${UNITTESTS_TEST_KEX_OBJS} \ | ||
517 | regress/unittests/test_helper/libtest_helper.a libssh.a | ||
518 | $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_KEX_OBJS) \ | ||
519 | regress/unittests/test_helper/libtest_helper.a \ | ||
520 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | ||
521 | |||
522 | UNITTESTS_TEST_HOSTKEYS_OBJS=\ | ||
523 | regress/unittests/hostkeys/tests.o \ | ||
524 | regress/unittests/hostkeys/test_iterate.o | ||
525 | |||
526 | regress/unittests/hostkeys/test_hostkeys$(EXEEXT): \ | ||
527 | ${UNITTESTS_TEST_HOSTKEYS_OBJS} \ | ||
528 | regress/unittests/test_helper/libtest_helper.a libssh.a | ||
529 | $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_HOSTKEYS_OBJS) \ | ||
530 | regress/unittests/test_helper/libtest_helper.a \ | ||
531 | -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | ||
532 | |||
476 | REGRESS_BINARIES=\ | 533 | REGRESS_BINARIES=\ |
477 | regress/modpipe$(EXEEXT) \ | 534 | regress/modpipe$(EXEEXT) \ |
478 | regress/setuid-allowed$(EXEEXT) \ | 535 | regress/setuid-allowed$(EXEEXT) \ |
536 | regress/netcat$(EXEEXT) \ | ||
479 | regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ | 537 | regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ |
480 | regress/unittests/sshkey/test_sshkey$(EXEEXT) | 538 | regress/unittests/sshkey/test_sshkey$(EXEEXT) \ |
539 | regress/unittests/bitmap/test_bitmap$(EXEEXT) \ | ||
540 | regress/unittests/hostkeys/test_hostkeys$(EXEEXT) \ | ||
541 | regress/unittests/kex/test_kex$(EXEEXT) | ||
481 | 542 | ||
482 | tests interop-tests t-exec: regress-prep $(TARGETS) $(REGRESS_BINARIES) | 543 | tests interop-tests t-exec: regress-prep $(TARGETS) $(REGRESS_BINARIES) |
483 | BUILDDIR=`pwd`; \ | 544 | BUILDDIR=`pwd`; \ |