diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index d594ff0e1..f51b86a27 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -27,6 +27,7 @@ SFTP_SERVER=$(libexecdir)/sftp-server | |||
27 | SSH_KEYSIGN=$(libexecdir)/ssh-keysign | 27 | SSH_KEYSIGN=$(libexecdir)/ssh-keysign |
28 | SSH_PKCS11_HELPER=$(libexecdir)/ssh-pkcs11-helper | 28 | SSH_PKCS11_HELPER=$(libexecdir)/ssh-pkcs11-helper |
29 | RAND_HELPER=$(libexecdir)/ssh-rand-helper | 29 | RAND_HELPER=$(libexecdir)/ssh-rand-helper |
30 | SSH_DATADIR=$(datadir)/ssh | ||
30 | PRIVSEP_PATH=@PRIVSEP_PATH@ | 31 | PRIVSEP_PATH=@PRIVSEP_PATH@ |
31 | SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ | 32 | SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ |
32 | STRIP_OPT=@STRIP_OPT@ | 33 | STRIP_OPT=@STRIP_OPT@ |
@@ -39,7 +40,8 @@ PATHS= -DSSHDIR=\"$(sysconfdir)\" \ | |||
39 | -D_PATH_SSH_PKCS11_HELPER=\"$(SSH_PKCS11_HELPER)\" \ | 40 | -D_PATH_SSH_PKCS11_HELPER=\"$(SSH_PKCS11_HELPER)\" \ |
40 | -D_PATH_SSH_PIDDIR=\"$(piddir)\" \ | 41 | -D_PATH_SSH_PIDDIR=\"$(piddir)\" \ |
41 | -D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\" \ | 42 | -D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\" \ |
42 | -DSSH_RAND_HELPER=\"$(RAND_HELPER)\" | 43 | -DSSH_RAND_HELPER=\"$(RAND_HELPER)\" \ |
44 | -D_PATH_SSH_DATADIR=\"$(SSH_DATADIR)\" | ||
43 | 45 | ||
44 | CC=@CC@ | 46 | CC=@CC@ |
45 | LD=@LD@ | 47 | LD=@LD@ |
@@ -63,7 +65,7 @@ MANFMT=@MANFMT@ | |||
63 | INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@ | 65 | INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@ |
64 | INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@ | 66 | INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@ |
65 | 67 | ||
66 | 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) ssh-rand-helper${EXEEXT} sftp-server$(EXEEXT) sftp$(EXEEXT) | 68 | 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) ssh-rand-helper${EXEEXT} sftp-server$(EXEEXT) sftp$(EXEEXT) ssh-vulnkey$(EXEEXT) |
67 | 69 | ||
68 | LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \ | 70 | LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \ |
69 | canohost.o channels.o cipher.o cipher-acss.o cipher-aes.o \ | 71 | canohost.o channels.o cipher.o cipher-acss.o cipher-aes.o \ |
@@ -95,8 +97,8 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ | |||
95 | sftp-server.o sftp-common.o \ | 97 | sftp-server.o sftp-common.o \ |
96 | roaming_common.o roaming_serv.o | 98 | roaming_common.o roaming_serv.o |
97 | 99 | ||
98 | 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-rand-helper.8.out ssh-keysign.8.out ssh-pkcs11-helper.8.out sshd_config.5.out ssh_config.5.out | 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-rand-helper.8.out ssh-keysign.8.out ssh-pkcs11-helper.8.out ssh-vulnkey.1.out sshd_config.5.out ssh_config.5.out |
99 | 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-rand-helper.8 ssh-keysign.8 ssh-pkcs11-helper.8 sshd_config.5 ssh_config.5 | 101 | 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-rand-helper.8 ssh-keysign.8 ssh-pkcs11-helper.8 ssh-vulnkey.1 sshd_config.5 ssh_config.5 |
100 | MANTYPE = @MANTYPE@ | 102 | MANTYPE = @MANTYPE@ |
101 | 103 | ||
102 | CONFIGFILES=sshd_config.out ssh_config.out moduli.out | 104 | CONFIGFILES=sshd_config.out ssh_config.out moduli.out |
@@ -177,6 +179,9 @@ sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-common.o sftp-glo | |||
177 | ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o | 179 | ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o |
178 | $(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 180 | $(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
179 | 181 | ||
182 | ssh-vulnkey$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-vulnkey.o | ||
183 | $(LD) -o $@ ssh-vulnkey.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | ||
184 | |||
180 | # test driver for the loginrec code - not built by default | 185 | # test driver for the loginrec code - not built by default |
181 | logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o | 186 | logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o |
182 | $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS) | 187 | $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS) |
@@ -271,6 +276,7 @@ install-files: | |||
271 | $(INSTALL) -m 0755 $(STRIP_OPT) ssh-pkcs11-helper$(EXEEXT) $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT) | 276 | $(INSTALL) -m 0755 $(STRIP_OPT) ssh-pkcs11-helper$(EXEEXT) $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT) |
272 | $(INSTALL) -m 0755 $(STRIP_OPT) sftp$(EXEEXT) $(DESTDIR)$(bindir)/sftp$(EXEEXT) | 277 | $(INSTALL) -m 0755 $(STRIP_OPT) sftp$(EXEEXT) $(DESTDIR)$(bindir)/sftp$(EXEEXT) |
273 | $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server$(EXEEXT) $(DESTDIR)$(SFTP_SERVER)$(EXEEXT) | 278 | $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server$(EXEEXT) $(DESTDIR)$(SFTP_SERVER)$(EXEEXT) |
279 | $(INSTALL) -m 0755 $(STRIP_OPT) ssh-vulnkey$(EXEEXT) $(DESTDIR)$(bindir)/ssh-vulnkey$(EXEEXT) | ||
274 | $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 | 280 | $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 |
275 | $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 | 281 | $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 |
276 | $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 | 282 | $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 |
@@ -281,6 +287,7 @@ install-files: | |||
281 | $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5 | 287 | $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5 |
282 | $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5 | 288 | $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5 |
283 | $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 | 289 | $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 |
290 | ln -s ../$(mansubdir)8/sshd.8 $(DESTDIR)$(mandir)/$(mansubdir)5/authorized_keys.5 | ||
284 | if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \ | 291 | if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \ |
285 | $(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \ | 292 | $(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \ |
286 | fi | 293 | fi |
@@ -288,10 +295,11 @@ install-files: | |||
288 | $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 | 295 | $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 |
289 | $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 | 296 | $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 |
290 | $(INSTALL) -m 644 ssh-pkcs11-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 | 297 | $(INSTALL) -m 644 ssh-pkcs11-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 |
298 | $(INSTALL) -m 644 ssh-vulnkey.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-vulnkey.1 | ||
291 | -rm -f $(DESTDIR)$(bindir)/slogin | 299 | -rm -f $(DESTDIR)$(bindir)/slogin |
292 | ln -s ./ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin | 300 | ln -s ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin |
293 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | 301 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 |
294 | ln -s ./ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | 302 | ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 |
295 | 303 | ||
296 | install-sysconf: | 304 | install-sysconf: |
297 | if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ | 305 | if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ |
@@ -377,6 +385,7 @@ uninstall: | |||
377 | -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT) | 385 | -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT) |
378 | -rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT) | 386 | -rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT) |
379 | -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT) | 387 | -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT) |
388 | -rm -f $(DESTDIR)$(bindir)/ssh-vulnkey$(EXEEXT) | ||
380 | -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT) | 389 | -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT) |
381 | -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT) | 390 | -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT) |
382 | -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT) | 391 | -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT) |
@@ -390,6 +399,7 @@ uninstall: | |||
390 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1 | 399 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1 |
391 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 | 400 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 |
392 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1 | 401 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1 |
402 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-vulnkey.1 | ||
393 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 | 403 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 |
394 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 | 404 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 |
395 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 | 405 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 |