diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index 095f4ff32..b7de26f2e 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: Makefile.in,v 1.340 2013/06/11 01:26:10 dtucker Exp $ | 1 | # $Id: Makefile.in,v 1.352 2014/01/27 06:35:04 dtucker Exp $ |
2 | 2 | ||
3 | # uncomment if you run a non bourne compatable shell. Ie. csh | 3 | # uncomment if you run a non bourne compatable shell. Ie. csh |
4 | #SHELL = @SH@ | 4 | #SHELL = @SH@ |
@@ -74,7 +74,10 @@ LIBSSH_OBJS=authfd.o authfile.o bufaux.o bufbn.o buffer.o \ | |||
74 | kexdh.o kexgex.o kexdhc.o kexgexc.o bufec.o kexecdh.o kexecdhc.o \ | 74 | kexdh.o kexgex.o kexdhc.o kexgexc.o bufec.o kexecdh.o kexecdhc.o \ |
75 | kexgssc.o \ | 75 | kexgssc.o \ |
76 | msg.o progressmeter.o dns.o entropy.o gss-genr.o umac.o umac128.o \ | 76 | msg.o progressmeter.o dns.o entropy.o gss-genr.o umac.o umac128.o \ |
77 | jpake.o schnorr.o ssh-pkcs11.o krl.o | 77 | jpake.o schnorr.o ssh-pkcs11.o krl.o smult_curve25519_ref.o \ |
78 | kexc25519.o kexc25519c.o poly1305.o chacha.o cipher-chachapoly.o \ | ||
79 | ssh-ed25519.o digest.o \ | ||
80 | sc25519.o ge25519.o fe25519.o ed25519.o verify.o hash.o blocks.o | ||
78 | 81 | ||
79 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ | 82 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ |
80 | sshconnect.o sshconnect1.o sshconnect2.o mux.o \ | 83 | sshconnect.o sshconnect1.o sshconnect2.o mux.o \ |
@@ -88,13 +91,13 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ | |||
88 | auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \ | 91 | auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \ |
89 | auth2-none.o auth2-passwd.o auth2-pubkey.o auth2-jpake.o \ | 92 | auth2-none.o auth2-passwd.o auth2-pubkey.o auth2-jpake.o \ |
90 | monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o kexecdhs.o \ | 93 | monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o kexecdhs.o \ |
91 | auth-krb5.o \ | 94 | kexc25519s.o auth-krb5.o \ |
92 | auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o\ | 95 | auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o \ |
93 | loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \ | 96 | loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \ |
94 | sftp-server.o sftp-common.o \ | 97 | sftp-server.o sftp-common.o \ |
95 | roaming_common.o roaming_serv.o \ | 98 | roaming_common.o roaming_serv.o \ |
96 | sandbox-null.o sandbox-rlimit.o sandbox-systrace.o sandbox-darwin.o \ | 99 | sandbox-null.o sandbox-rlimit.o sandbox-systrace.o sandbox-darwin.o \ |
97 | sandbox-seccomp-filter.o \ | 100 | sandbox-seccomp-filter.o sandbox-capsicum.o \ |
98 | consolekit.o | 101 | consolekit.o |
99 | 102 | ||
100 | MANPAGES = moduli.5.out scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out ssh-keysign.8.out ssh-pkcs11-helper.8.out sshd_config.5.out ssh_config.5.out | 103 | MANPAGES = moduli.5.out scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out ssh-keysign.8.out ssh-pkcs11-helper.8.out sshd_config.5.out ssh_config.5.out |
@@ -114,6 +117,7 @@ PATHSUBS = \ | |||
114 | -e 's|/etc/ssh/ssh_host_ecdsa_key|$(sysconfdir)/ssh_host_ecdsa_key|g' \ | 117 | -e 's|/etc/ssh/ssh_host_ecdsa_key|$(sysconfdir)/ssh_host_ecdsa_key|g' \ |
115 | -e 's|/etc/ssh/ssh_host_dsa_key|$(sysconfdir)/ssh_host_dsa_key|g' \ | 118 | -e 's|/etc/ssh/ssh_host_dsa_key|$(sysconfdir)/ssh_host_dsa_key|g' \ |
116 | -e 's|/etc/ssh/ssh_host_rsa_key|$(sysconfdir)/ssh_host_rsa_key|g' \ | 119 | -e 's|/etc/ssh/ssh_host_rsa_key|$(sysconfdir)/ssh_host_rsa_key|g' \ |
120 | -e 's|/etc/ssh/ssh_host_ed25519_key|$(sysconfdir)/ssh_host_ed25519_key|g' \ | ||
117 | -e 's|/var/run/sshd.pid|$(piddir)/sshd.pid|g' \ | 121 | -e 's|/var/run/sshd.pid|$(piddir)/sshd.pid|g' \ |
118 | -e 's|/etc/moduli|$(sysconfdir)/moduli|g' \ | 122 | -e 's|/etc/moduli|$(sysconfdir)/moduli|g' \ |
119 | -e 's|/etc/ssh/moduli|$(sysconfdir)/moduli|g' \ | 123 | -e 's|/etc/ssh/moduli|$(sysconfdir)/moduli|g' \ |
@@ -335,6 +339,11 @@ host-key: ssh-keygen$(EXEEXT) | |||
335 | else \ | 339 | else \ |
336 | ./ssh-keygen -t rsa -f $(sysconfdir)/ssh_host_rsa_key -N "" ; \ | 340 | ./ssh-keygen -t rsa -f $(sysconfdir)/ssh_host_rsa_key -N "" ; \ |
337 | fi ; \ | 341 | fi ; \ |
342 | if [ -f $(sysconfdir)/ssh_host_ed25519_key ] ; then \ | ||
343 | echo "$(sysconfdir)/ssh_host_ed25519_key already exists, skipping." ; \ | ||
344 | else \ | ||
345 | ./ssh-keygen -t ed25519 -f $(sysconfdir)/ssh_host_ed25519_key -N "" ; \ | ||
346 | fi ; \ | ||
338 | if [ -z "@COMMENT_OUT_ECC@" ] ; then \ | 347 | if [ -z "@COMMENT_OUT_ECC@" ] ; then \ |
339 | if [ -f $(sysconfdir)/ssh_host_ecdsa_key ] ; then \ | 348 | if [ -f $(sysconfdir)/ssh_host_ecdsa_key ] ; then \ |
340 | echo "$(sysconfdir)/ssh_host_ecdsa_key already exists, skipping." ; \ | 349 | echo "$(sysconfdir)/ssh_host_ecdsa_key already exists, skipping." ; \ |
@@ -348,6 +357,7 @@ host-key-force: ssh-keygen$(EXEEXT) | |||
348 | ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" | 357 | ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" |
349 | ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" | 358 | ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" |
350 | ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" | 359 | ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" |
360 | ./ssh-keygen -t ed25519 -f $(DESTDIR)$(sysconfdir)/ssh_host_ed25519_key -N "" | ||
351 | test -z "@COMMENT_OUT_ECC@" && ./ssh-keygen -t ecdsa -f $(DESTDIR)$(sysconfdir)/ssh_host_ecdsa_key -N "" | 361 | test -z "@COMMENT_OUT_ECC@" && ./ssh-keygen -t ecdsa -f $(DESTDIR)$(sysconfdir)/ssh_host_ecdsa_key -N "" |
352 | 362 | ||
353 | uninstallall: uninstall | 363 | uninstallall: uninstall |
@@ -394,9 +404,17 @@ regress/modpipe$(EXEEXT): $(srcdir)/regress/modpipe.c | |||
394 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | 404 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ |
395 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 405 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
396 | 406 | ||
407 | regress/setuid-allowed$(EXEEXT): $(srcdir)/regress/setuid-allowed.c | ||
408 | [ -d `pwd`/regress ] || mkdir -p `pwd`/regress | ||
409 | [ -f `pwd`/regress/Makefile ] || \ | ||
410 | ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile | ||
411 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | ||
412 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | ||
413 | |||
397 | tests interop-tests: $(TARGETS) regress/modpipe$(EXEEXT) | 414 | tests interop-tests: $(TARGETS) regress/modpipe$(EXEEXT) |
398 | BUILDDIR=`pwd`; \ | 415 | BUILDDIR=`pwd`; \ |
399 | TEST_SHELL="@TEST_SHELL@"; \ | 416 | TEST_SHELL="@TEST_SHELL@"; \ |
417 | TEST_SSH_SCP="$${BUILDDIR}/scp"; \ | ||
400 | TEST_SSH_SSH="$${BUILDDIR}/ssh"; \ | 418 | TEST_SSH_SSH="$${BUILDDIR}/ssh"; \ |
401 | TEST_SSH_SSHD="$${BUILDDIR}/sshd"; \ | 419 | TEST_SSH_SSHD="$${BUILDDIR}/sshd"; \ |
402 | TEST_SSH_SSHAGENT="$${BUILDDIR}/ssh-agent"; \ | 420 | TEST_SSH_SSHAGENT="$${BUILDDIR}/ssh-agent"; \ |
@@ -411,7 +429,6 @@ tests interop-tests: $(TARGETS) regress/modpipe$(EXEEXT) | |||
411 | TEST_SSH_CONCH="conch"; \ | 429 | TEST_SSH_CONCH="conch"; \ |
412 | TEST_SSH_IPV6="@TEST_SSH_IPV6@" ; \ | 430 | TEST_SSH_IPV6="@TEST_SSH_IPV6@" ; \ |
413 | TEST_SSH_ECC="@TEST_SSH_ECC@" ; \ | 431 | TEST_SSH_ECC="@TEST_SSH_ECC@" ; \ |
414 | TEST_SSH_SHA256="@TEST_SSH_SHA256@" ; \ | ||
415 | cd $(srcdir)/regress || exit $$?; \ | 432 | cd $(srcdir)/regress || exit $$?; \ |
416 | $(MAKE) \ | 433 | $(MAKE) \ |
417 | .OBJDIR="$${BUILDDIR}/regress" \ | 434 | .OBJDIR="$${BUILDDIR}/regress" \ |
@@ -419,7 +436,9 @@ tests interop-tests: $(TARGETS) regress/modpipe$(EXEEXT) | |||
419 | BUILDDIR="$${BUILDDIR}" \ | 436 | BUILDDIR="$${BUILDDIR}" \ |
420 | OBJ="$${BUILDDIR}/regress/" \ | 437 | OBJ="$${BUILDDIR}/regress/" \ |
421 | PATH="$${BUILDDIR}:$${PATH}" \ | 438 | PATH="$${BUILDDIR}:$${PATH}" \ |
439 | TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \ | ||
422 | TEST_SHELL="$${TEST_SHELL}" \ | 440 | TEST_SHELL="$${TEST_SHELL}" \ |
441 | TEST_SSH_SCP="$${TEST_SSH_SCP}" \ | ||
423 | TEST_SSH_SSH="$${TEST_SSH_SSH}" \ | 442 | TEST_SSH_SSH="$${TEST_SSH_SSH}" \ |
424 | TEST_SSH_SSHD="$${TEST_SSH_SSHD}" \ | 443 | TEST_SSH_SSHD="$${TEST_SSH_SSHD}" \ |
425 | TEST_SSH_SSHAGENT="$${TEST_SSH_SSHAGENT}" \ | 444 | TEST_SSH_SSHAGENT="$${TEST_SSH_SSHAGENT}" \ |
@@ -434,7 +453,6 @@ tests interop-tests: $(TARGETS) regress/modpipe$(EXEEXT) | |||
434 | TEST_SSH_CONCH="$${TEST_SSH_CONCH}" \ | 453 | TEST_SSH_CONCH="$${TEST_SSH_CONCH}" \ |
435 | TEST_SSH_IPV6="$${TEST_SSH_IPV6}" \ | 454 | TEST_SSH_IPV6="$${TEST_SSH_IPV6}" \ |
436 | TEST_SSH_ECC="$${TEST_SSH_ECC}" \ | 455 | TEST_SSH_ECC="$${TEST_SSH_ECC}" \ |
437 | TEST_SSH_SHA256="$${TEST_SSH_SHA256}" \ | ||
438 | EXEEXT="$(EXEEXT)" \ | 456 | EXEEXT="$(EXEEXT)" \ |
439 | $@ && echo all tests passed | 457 | $@ && echo all tests passed |
440 | 458 | ||
@@ -459,4 +477,3 @@ package: $(CONFIGFILES) $(MANPAGES) $(TARGETS) | |||
459 | if [ "@MAKE_PACKAGE_SUPPORTED@" = yes ]; then \ | 477 | if [ "@MAKE_PACKAGE_SUPPORTED@" = yes ]; then \ |
460 | sh buildpkg.sh; \ | 478 | sh buildpkg.sh; \ |
461 | fi | 479 | fi |
462 | |||