diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 72 |
1 files changed, 24 insertions, 48 deletions
diff --git a/Makefile.in b/Makefile.in index e161d0e6c..85cde7fc4 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -92,11 +92,11 @@ LIBSSH_OBJS=${LIBOPENSSH_OBJS} \ | |||
92 | kex.o kexdh.o kexgex.o kexecdh.o kexc25519.o \ | 92 | kex.o kexdh.o kexgex.o kexecdh.o kexc25519.o \ |
93 | kexdhc.o kexgexc.o kexecdhc.o kexc25519c.o \ | 93 | kexdhc.o kexgexc.o kexecdhc.o kexc25519c.o \ |
94 | kexdhs.o kexgexs.o kexecdhs.o kexc25519s.o \ | 94 | kexdhs.o kexgexs.o kexecdhs.o kexc25519s.o \ |
95 | kexgssc.o | 95 | kexgssc.o \ |
96 | platform-pledge.o | ||
96 | 97 | ||
97 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ | 98 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ |
98 | sshconnect.o sshconnect1.o sshconnect2.o mux.o \ | 99 | sshconnect.o sshconnect1.o sshconnect2.o mux.o |
99 | roaming_common.o roaming_client.o | ||
100 | 100 | ||
101 | SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ | 101 | SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ |
102 | audit.o audit-bsm.o audit-linux.o platform.o \ | 102 | audit.o audit-bsm.o audit-linux.o platform.o \ |
@@ -109,9 +109,9 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.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 \ |
112 | roaming_common.o roaming_serv.o \ | ||
113 | sandbox-null.o sandbox-rlimit.o sandbox-systrace.o sandbox-darwin.o \ | 112 | sandbox-null.o sandbox-rlimit.o sandbox-systrace.o sandbox-darwin.o \ |
114 | sandbox-seccomp-filter.o sandbox-capsicum.o | 113 | sandbox-seccomp-filter.o sandbox-capsicum.o sandbox-pledge.o \ |
114 | sandbox-solaris.o | ||
115 | 115 | ||
116 | 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 | 116 | 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 |
117 | MANPAGES_IN = moduli.5 scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh.1 sshd.8 sftp-server.8 sftp.1 ssh-keysign.8 ssh-pkcs11-helper.8 sshd_config.5 ssh_config.5 | 117 | MANPAGES_IN = moduli.5 scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh.1 sshd.8 sftp-server.8 sftp.1 ssh-keysign.8 ssh-pkcs11-helper.8 sshd_config.5 ssh_config.5 |
@@ -179,14 +179,14 @@ ssh-agent$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-agent.o ssh-pkcs11-client.o | |||
179 | ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o | 179 | ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o |
180 | $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 180 | $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
181 | 181 | ||
182 | ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o roaming_dummy.o readconf.o | 182 | ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o readconf.o |
183 | $(LD) -o $@ ssh-keysign.o readconf.o roaming_dummy.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 183 | $(LD) -o $@ ssh-keysign.o readconf.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
184 | 184 | ||
185 | ssh-pkcs11-helper$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-pkcs11-helper.o ssh-pkcs11.o | 185 | ssh-pkcs11-helper$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-pkcs11-helper.o ssh-pkcs11.o |
186 | $(LD) -o $@ ssh-pkcs11-helper.o ssh-pkcs11.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 186 | $(LD) -o $@ ssh-pkcs11-helper.o ssh-pkcs11.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
187 | 187 | ||
188 | ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o roaming_dummy.o | 188 | ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o |
189 | $(LD) -o $@ ssh-keyscan.o roaming_dummy.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS) | 189 | $(LD) -o $@ ssh-keyscan.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS) |
190 | 190 | ||
191 | sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o sftp-server-main.o | 191 | sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o sftp-server-main.o |
192 | $(LD) -o $@ sftp-server.o sftp-common.o sftp-server-main.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 192 | $(LD) -o $@ sftp-server.o sftp-common.o sftp-server-main.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
@@ -329,10 +329,6 @@ install-files: | |||
329 | $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 | 329 | $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 |
330 | $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 | 330 | $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 |
331 | $(INSTALL) -m 644 ssh-pkcs11-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 | 331 | $(INSTALL) -m 644 ssh-pkcs11-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 |
332 | -rm -f $(DESTDIR)$(bindir)/slogin | ||
333 | ln -s ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin | ||
334 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | ||
335 | ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | ||
336 | 332 | ||
337 | install-sysconf: | 333 | install-sysconf: |
338 | if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ | 334 | if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ |
@@ -361,41 +357,19 @@ install-sysconf: | |||
361 | 357 | ||
362 | host-key: ssh-keygen$(EXEEXT) | 358 | host-key: ssh-keygen$(EXEEXT) |
363 | @if [ -z "$(DESTDIR)" ] ; then \ | 359 | @if [ -z "$(DESTDIR)" ] ; then \ |
364 | if [ -f "$(sysconfdir)/ssh_host_key" ] ; then \ | 360 | ./ssh-keygen -A; \ |
365 | echo "$(sysconfdir)/ssh_host_key already exists, skipping." ; \ | 361 | fi |
366 | else \ | ||
367 | ./ssh-keygen -t rsa1 -f $(sysconfdir)/ssh_host_key -N "" ; \ | ||
368 | fi ; \ | ||
369 | if [ -f $(sysconfdir)/ssh_host_dsa_key ] ; then \ | ||
370 | echo "$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \ | ||
371 | else \ | ||
372 | ./ssh-keygen -t dsa -f $(sysconfdir)/ssh_host_dsa_key -N "" ; \ | ||
373 | fi ; \ | ||
374 | if [ -f $(sysconfdir)/ssh_host_rsa_key ] ; then \ | ||
375 | echo "$(sysconfdir)/ssh_host_rsa_key already exists, skipping." ; \ | ||
376 | else \ | ||
377 | ./ssh-keygen -t rsa -f $(sysconfdir)/ssh_host_rsa_key -N "" ; \ | ||
378 | fi ; \ | ||
379 | if [ -f $(sysconfdir)/ssh_host_ed25519_key ] ; then \ | ||
380 | echo "$(sysconfdir)/ssh_host_ed25519_key already exists, skipping." ; \ | ||
381 | else \ | ||
382 | ./ssh-keygen -t ed25519 -f $(sysconfdir)/ssh_host_ed25519_key -N "" ; \ | ||
383 | fi ; \ | ||
384 | if [ -z "@COMMENT_OUT_ECC@" ] ; then \ | ||
385 | if [ -f $(sysconfdir)/ssh_host_ecdsa_key ] ; then \ | ||
386 | echo "$(sysconfdir)/ssh_host_ecdsa_key already exists, skipping." ; \ | ||
387 | else \ | ||
388 | ./ssh-keygen -t ecdsa -f $(sysconfdir)/ssh_host_ecdsa_key -N "" ; \ | ||
389 | fi ; \ | ||
390 | fi ; \ | ||
391 | fi ; | ||
392 | 362 | ||
393 | host-key-force: ssh-keygen$(EXEEXT) | 363 | host-key-force: ssh-keygen$(EXEEXT) ssh$(EXEEXT) |
394 | ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" | 364 | if ./ssh -Q protocol-version | grep '^1$$' >/dev/null; then \ |
365 | ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N ""; \ | ||
366 | fi | ||
395 | ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" | 367 | ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" |
396 | ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" | 368 | ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" |
397 | ./ssh-keygen -t ed25519 -f $(DESTDIR)$(sysconfdir)/ssh_host_ed25519_key -N "" | 369 | ./ssh-keygen -t ed25519 -f $(DESTDIR)$(sysconfdir)/ssh_host_ed25519_key -N "" |
398 | test -z "@COMMENT_OUT_ECC@" && ./ssh-keygen -t ecdsa -f $(DESTDIR)$(sysconfdir)/ssh_host_ecdsa_key -N "" | 370 | if ./ssh -Q key | grep ecdsa >/dev/null ; then \ |
371 | ./ssh-keygen -t ecdsa -f $(DESTDIR)$(sysconfdir)/ssh_host_ecdsa_key -N ""; \ | ||
372 | fi | ||
399 | 373 | ||
400 | uninstallall: uninstall | 374 | uninstallall: uninstall |
401 | -rm -f $(DESTDIR)$(sysconfdir)/ssh_config | 375 | -rm -f $(DESTDIR)$(sysconfdir)/ssh_config |
@@ -409,7 +383,6 @@ uninstallall: uninstall | |||
409 | -rmdir $(DESTDIR)$(libexecdir) | 383 | -rmdir $(DESTDIR)$(libexecdir) |
410 | 384 | ||
411 | uninstall: | 385 | uninstall: |
412 | -rm -f $(DESTDIR)$(bindir)/slogin | ||
413 | -rm -f $(DESTDIR)$(bindir)/ssh$(EXEEXT) | 386 | -rm -f $(DESTDIR)$(bindir)/ssh$(EXEEXT) |
414 | -rm -f $(DESTDIR)$(bindir)/scp$(EXEEXT) | 387 | -rm -f $(DESTDIR)$(bindir)/scp$(EXEEXT) |
415 | -rm -f $(DESTDIR)$(bindir)/ssh-add$(EXEEXT) | 388 | -rm -f $(DESTDIR)$(bindir)/ssh-add$(EXEEXT) |
@@ -432,7 +405,6 @@ uninstall: | |||
432 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 | 405 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 |
433 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 | 406 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 |
434 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 | 407 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 |
435 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | ||
436 | 408 | ||
437 | regress-prep: | 409 | regress-prep: |
438 | [ -d `pwd`/regress ] || mkdir -p `pwd`/regress | 410 | [ -d `pwd`/regress ] || mkdir -p `pwd`/regress |
@@ -464,6 +436,10 @@ regress/netcat$(EXEEXT): $(srcdir)/regress/netcat.c | |||
464 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | 436 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ |
465 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | 437 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) |
466 | 438 | ||
439 | regress/check-perm$(EXEEXT): $(srcdir)/regress/check-perm.c | ||
440 | $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $? \ | ||
441 | $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) | ||
442 | |||
467 | UNITTESTS_TEST_HELPER_OBJS=\ | 443 | UNITTESTS_TEST_HELPER_OBJS=\ |
468 | regress/unittests/test_helper/test_helper.o \ | 444 | regress/unittests/test_helper/test_helper.o \ |
469 | regress/unittests/test_helper/fuzz.o | 445 | regress/unittests/test_helper/fuzz.o |
@@ -512,8 +488,7 @@ regress/unittests/bitmap/test_bitmap$(EXEEXT): ${UNITTESTS_TEST_BITMAP_OBJS} \ | |||
512 | 488 | ||
513 | UNITTESTS_TEST_KEX_OBJS=\ | 489 | UNITTESTS_TEST_KEX_OBJS=\ |
514 | regress/unittests/kex/tests.o \ | 490 | regress/unittests/kex/tests.o \ |
515 | regress/unittests/kex/test_kex.o \ | 491 | regress/unittests/kex/test_kex.o |
516 | roaming_dummy.o | ||
517 | 492 | ||
518 | regress/unittests/kex/test_kex$(EXEEXT): ${UNITTESTS_TEST_KEX_OBJS} \ | 493 | regress/unittests/kex/test_kex$(EXEEXT): ${UNITTESTS_TEST_KEX_OBJS} \ |
519 | regress/unittests/test_helper/libtest_helper.a libssh.a | 494 | regress/unittests/test_helper/libtest_helper.a libssh.a |
@@ -536,6 +511,7 @@ REGRESS_BINARIES=\ | |||
536 | regress/modpipe$(EXEEXT) \ | 511 | regress/modpipe$(EXEEXT) \ |
537 | regress/setuid-allowed$(EXEEXT) \ | 512 | regress/setuid-allowed$(EXEEXT) \ |
538 | regress/netcat$(EXEEXT) \ | 513 | regress/netcat$(EXEEXT) \ |
514 | regress/check-perm$(EXEEXT) \ | ||
539 | regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ | 515 | regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ |
540 | regress/unittests/sshkey/test_sshkey$(EXEEXT) \ | 516 | regress/unittests/sshkey/test_sshkey$(EXEEXT) \ |
541 | regress/unittests/bitmap/test_bitmap$(EXEEXT) \ | 517 | regress/unittests/bitmap/test_bitmap$(EXEEXT) \ |