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 f122f4b39..99f2ccb11 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 \
@@ -91,8 +93,8 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
91 audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o \ 93 audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o \
92 roaming_common.o 94 roaming_common.o
93 95
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 sshd_config.5.out ssh_config.5.out 96MANPAGES = 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
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 sshd_config.5 ssh_config.5 97MANPAGES_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
96MANTYPE = @MANTYPE@ 98MANTYPE = @MANTYPE@
97 99
98CONFIGFILES=sshd_config.out ssh_config.out moduli.out 100CONFIGFILES=sshd_config.out ssh_config.out moduli.out
@@ -169,6 +171,9 @@ sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-common.o sftp-glo
169ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o 171ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o
170 $(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 172 $(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
171 173
174ssh-vulnkey$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-vulnkey.o
175 $(LD) -o $@ ssh-vulnkey.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
176
172# test driver for the loginrec code - not built by default 177# test driver for the loginrec code - not built by default
173logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o 178logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o
174 $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS) 179 $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS)
@@ -268,6 +273,7 @@ install-files: scard-install
268 $(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign $(DESTDIR)$(SSH_KEYSIGN) 273 $(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign $(DESTDIR)$(SSH_KEYSIGN)
269 $(INSTALL) -m 0755 $(STRIP_OPT) sftp $(DESTDIR)$(bindir)/sftp 274 $(INSTALL) -m 0755 $(STRIP_OPT) sftp $(DESTDIR)$(bindir)/sftp
270 $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server $(DESTDIR)$(SFTP_SERVER) 275 $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server $(DESTDIR)$(SFTP_SERVER)
276 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-vulnkey $(DESTDIR)$(bindir)/ssh-vulnkey
271 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 277 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
272 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 278 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
273 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 279 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
@@ -278,16 +284,18 @@ install-files: scard-install
278 $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5 284 $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5
279 $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5 285 $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5
280 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 286 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
287 ln -s ../$(mansubdir)8/sshd.8 $(DESTDIR)$(mandir)/$(mansubdir)5/authorized_keys.5
281 if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \ 288 if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \
282 $(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \ 289 $(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \
283 fi 290 fi
284 $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 291 $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
285 $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 292 $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
286 $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 293 $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8
294 $(INSTALL) -m 644 ssh-vulnkey.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-vulnkey.1
287 -rm -f $(DESTDIR)$(bindir)/slogin 295 -rm -f $(DESTDIR)$(bindir)/slogin
288 ln -s ./ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin 296 ln -s ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin
289 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 297 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
290 ln -s ./ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 298 ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
291 299
292install-sysconf: 300install-sysconf:
293 if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ 301 if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
@@ -365,6 +373,7 @@ uninstall:
365 -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT) 373 -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT)
366 -rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT) 374 -rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT)
367 -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT) 375 -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT)
376 -rm -f $(DESTDIR)$(bindir)/ssh-vulnkey$(EXEEXT)
368 -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT) 377 -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT)
369 -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT) 378 -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT)
370 -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT) 379 -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT)
@@ -377,6 +386,7 @@ uninstall:
377 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1 386 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1
378 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 387 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
379 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1 388 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
389 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-vulnkey.1
380 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 390 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
381 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 391 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8
382 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 392 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8