summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in20
1 files changed, 15 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 5081c4bf3..80155cc77 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
28SSH_PKCS11_HELPER=$(libexecdir)/ssh-pkcs11-helper 28SSH_PKCS11_HELPER=$(libexecdir)/ssh-pkcs11-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@
@@ -38,6 +39,7 @@ PATHS= -DSSHDIR=\"$(sysconfdir)\" \
38 -D_PATH_SSH_PKCS11_HELPER=\"$(SSH_PKCS11_HELPER)\" \ 39 -D_PATH_SSH_PKCS11_HELPER=\"$(SSH_PKCS11_HELPER)\" \
39 -D_PATH_SSH_PIDDIR=\"$(piddir)\" \ 40 -D_PATH_SSH_PIDDIR=\"$(piddir)\" \
40 -D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\" \ 41 -D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\" \
42 -D_PATH_SSH_DATADIR=\"$(SSH_DATADIR)\" \
41 43
42CC=@CC@ 44CC=@CC@
43LD=@LD@ 45LD=@LD@
@@ -59,7 +61,7 @@ LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@
59EXEEXT=@EXEEXT@ 61EXEEXT=@EXEEXT@
60MANFMT=@MANFMT@ 62MANFMT=@MANFMT@
61 63
62TARGETS=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) sftp-server$(EXEEXT) sftp$(EXEEXT) 64TARGETS=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) sftp-server$(EXEEXT) sftp$(EXEEXT) ssh-vulnkey$(EXEEXT)
63 65
64LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \ 66LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \
65 canohost.o channels.o cipher.o cipher-acss.o cipher-aes.o \ 67 canohost.o channels.o cipher.o cipher-acss.o cipher-aes.o \
@@ -94,8 +96,8 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
94 sandbox-null.o sandbox-rlimit.o sandbox-systrace.o sandbox-darwin.o \ 96 sandbox-null.o sandbox-rlimit.o sandbox-systrace.o sandbox-darwin.o \
95 sandbox-seccomp-filter.o 97 sandbox-seccomp-filter.o
96 98
97MANPAGES = 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 99MANPAGES = 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 ssh-vulnkey.1.out sshd_config.5.out ssh_config.5.out
98MANPAGES_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 100MANPAGES_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 ssh-vulnkey.1 sshd_config.5 ssh_config.5
99MANTYPE = @MANTYPE@ 101MANTYPE = @MANTYPE@
100 102
101CONFIGFILES=sshd_config.out ssh_config.out moduli.out 103CONFIGFILES=sshd_config.out ssh_config.out moduli.out
@@ -172,6 +174,9 @@ sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o s
172sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-common.o sftp-glob.o progressmeter.o 174sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-common.o sftp-glob.o progressmeter.o
173 $(LD) -o $@ progressmeter.o sftp.o sftp-client.o sftp-common.o sftp-glob.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) $(LIBEDIT) 175 $(LD) -o $@ progressmeter.o sftp.o sftp-client.o sftp-common.o sftp-glob.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) $(LIBEDIT)
174 176
177ssh-vulnkey$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-vulnkey.o
178 $(LD) -o $@ ssh-vulnkey.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
179
175# test driver for the loginrec code - not built by default 180# test driver for the loginrec code - not built by default
176logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o 181logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o
177 $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS) 182 $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS)
@@ -260,6 +265,7 @@ install-files:
260 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-pkcs11-helper$(EXEEXT) $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT) 265 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-pkcs11-helper$(EXEEXT) $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT)
261 $(INSTALL) -m 0755 $(STRIP_OPT) sftp$(EXEEXT) $(DESTDIR)$(bindir)/sftp$(EXEEXT) 266 $(INSTALL) -m 0755 $(STRIP_OPT) sftp$(EXEEXT) $(DESTDIR)$(bindir)/sftp$(EXEEXT)
262 $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server$(EXEEXT) $(DESTDIR)$(SFTP_SERVER)$(EXEEXT) 267 $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server$(EXEEXT) $(DESTDIR)$(SFTP_SERVER)$(EXEEXT)
268 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-vulnkey$(EXEEXT) $(DESTDIR)$(bindir)/ssh-vulnkey$(EXEEXT)
263 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 269 $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
264 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 270 $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
265 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 271 $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
@@ -270,14 +276,16 @@ install-files:
270 $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5 276 $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5
271 $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5 277 $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5
272 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 278 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
279 ln -s ../$(mansubdir)8/sshd.8 $(DESTDIR)$(mandir)/$(mansubdir)5/authorized_keys.5
273 $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 280 $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
274 $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 281 $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
275 $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 282 $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8
276 $(INSTALL) -m 644 ssh-pkcs11-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 283 $(INSTALL) -m 644 ssh-pkcs11-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8
284 $(INSTALL) -m 644 ssh-vulnkey.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-vulnkey.1
277 -rm -f $(DESTDIR)$(bindir)/slogin 285 -rm -f $(DESTDIR)$(bindir)/slogin
278 ln -s ./ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin 286 ln -s ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin
279 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 287 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
280 ln -s ./ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 288 ln -s ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
281 289
282install-sysconf: 290install-sysconf:
283 if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ 291 if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
@@ -355,6 +363,7 @@ uninstall:
355 -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT) 363 -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT)
356 -rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT) 364 -rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT)
357 -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT) 365 -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT)
366 -rm -f $(DESTDIR)$(bindir)/ssh-vulnkey$(EXEEXT)
358 -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT) 367 -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT)
359 -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT) 368 -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT)
360 -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT) 369 -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT)
@@ -367,6 +376,7 @@ uninstall:
367 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1 376 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1
368 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 377 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
369 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1 378 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
379 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-vulnkey.1
370 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 380 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
371 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 381 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
372 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 382 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8