summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in22
1 files changed, 16 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index c404b7205..fc3aabdc1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -26,6 +26,7 @@ ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
26SFTP_SERVER=$(libexecdir)/sftp-server 26SFTP_SERVER=$(libexecdir)/sftp-server
27SSH_KEYSIGN=$(libexecdir)/ssh-keysign 27SSH_KEYSIGN=$(libexecdir)/ssh-keysign
28RAND_HELPER=$(libexecdir)/ssh-rand-helper 28RAND_HELPER=$(libexecdir)/ssh-rand-helper
29SSH_DATADIR=$(datadir)/ssh
29PRIVSEP_PATH=@PRIVSEP_PATH@ 30PRIVSEP_PATH=@PRIVSEP_PATH@
30SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ 31SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@
31STRIP_OPT=@STRIP_OPT@ 32STRIP_OPT=@STRIP_OPT@
@@ -37,7 +38,8 @@ PATHS= -DSSHDIR=\"$(sysconfdir)\" \
37 -D_PATH_SSH_KEY_SIGN=\"$(SSH_KEYSIGN)\" \ 38 -D_PATH_SSH_KEY_SIGN=\"$(SSH_KEYSIGN)\" \
38 -D_PATH_SSH_PIDDIR=\"$(piddir)\" \ 39 -D_PATH_SSH_PIDDIR=\"$(piddir)\" \
39 -D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\" \ 40 -D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\" \
40 -DSSH_RAND_HELPER=\"$(RAND_HELPER)\" 41 -DSSH_RAND_HELPER=\"$(RAND_HELPER)\" \
42 -D_PATH_SSH_DATADIR=\"$(SSH_DATADIR)\"
41 43
42CC=@CC@ 44CC=@CC@
43LD=@LD@ 45LD=@LD@
@@ -60,7 +62,7 @@ EXEEXT=@EXEEXT@
60INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@ 62INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@
61INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@ 63INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@
62 64
63TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-keyscan${EXEEXT} ssh-keysign${EXEEXT} ssh-agent$(EXEEXT) scp$(EXEEXT) ssh-rand-helper${EXEEXT} sftp-server$(EXEEXT) sftp$(EXEEXT) 65TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-keyscan${EXEEXT} ssh-keysign${EXEEXT} ssh-agent$(EXEEXT) scp$(EXEEXT) ssh-rand-helper${EXEEXT} sftp-server$(EXEEXT) sftp$(EXEEXT) ssh-vulnkey$(EXEEXT)
64 66
65LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \ 67LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \
66 canohost.o channels.o cipher.o cipher-acss.o cipher-aes.o \ 68 canohost.o channels.o cipher.o cipher-acss.o cipher-aes.o \
@@ -89,8 +91,8 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
89 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \ 91 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \
90 audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o 92 audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o
91 93
92MANPAGES = 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 sshd_config.5.out ssh_config.5.out 94MANPAGES = 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-vulnkey.1.out sshd_config.5.out ssh_config.5.out
93MANPAGES_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 sshd_config.5 ssh_config.5 95MANPAGES_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-vulnkey.1 sshd_config.5 ssh_config.5
94MANTYPE = @MANTYPE@ 96MANTYPE = @MANTYPE@
95 97
96CONFIGFILES=sshd_config.out ssh_config.out moduli.out 98CONFIGFILES=sshd_config.out ssh_config.out moduli.out
@@ -167,6 +169,9 @@ sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-common.o sftp-glo
167ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o 169ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o
168 $(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 170 $(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
169 171
172ssh-vulnkey$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-vulnkey.o
173 $(LD) -o $@ ssh-vulnkey.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
174
170# test driver for the loginrec code - not built by default 175# test driver for the loginrec code - not built by default
171logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o 176logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o
172 $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS) 177 $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS)
@@ -266,6 +271,7 @@ install-files: scard-install
266 $(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign $(DESTDIR)$(SSH_KEYSIGN) 271 $(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign $(DESTDIR)$(SSH_KEYSIGN)
267 $(INSTALL) -m 0755 $(STRIP_OPT) sftp $(DESTDIR)$(bindir)/sftp 272 $(INSTALL) -m 0755 $(STRIP_OPT) sftp $(DESTDIR)$(bindir)/sftp
268 $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server $(DESTDIR)$(SFTP_SERVER) 273 $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server $(DESTDIR)$(SFTP_SERVER)
274 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-vulnkey $(DESTDIR)$(bindir)/ssh-vulnkey
269 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 275 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
270 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 276 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
271 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 277 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
@@ -276,16 +282,18 @@ install-files: scard-install
276 $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5 282 $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5
277 $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5 283 $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5
278 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 284 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
285 ln -s ../$(mansubdir)8/sshd.8 $(DESTDIR)$(mandir)/$(mansubdir)5/authorized_keys.5
279 if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \ 286 if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \
280 $(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \ 287 $(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \
281 fi 288 fi
282 $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 289 $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
283 $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 290 $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
284 $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 291 $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8
292 $(INSTALL) -m 644 ssh-vulnkey.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-vulnkey.1
285 -rm -f $(DESTDIR)$(bindir)/slogin 293 -rm -f $(DESTDIR)$(bindir)/slogin
286 ln -s ./ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin 294 ln -s ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin
287 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 295 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
288 ln -s ./ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 296 ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
289 297
290install-sysconf: 298install-sysconf:
291 if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ 299 if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
@@ -363,6 +371,7 @@ uninstall:
363 -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT) 371 -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT)
364 -rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT) 372 -rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT)
365 -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT) 373 -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT)
374 -rm -f $(DESTDIR)$(bindir)/ssh-vulnkey$(EXEEXT)
366 -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT) 375 -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT)
367 -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT) 376 -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT)
368 -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT) 377 -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT)
@@ -375,6 +384,7 @@ uninstall:
375 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1 384 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1
376 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 385 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
377 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1 386 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
387 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-vulnkey.1
378 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 388 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
379 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 389 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8
380 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 390 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8