diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index 4ceef7043..7eb84ce63 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -15,8 +15,8 @@ DESTDIR= | |||
15 | VPATH=@srcdir@ | 15 | VPATH=@srcdir@ |
16 | 16 | ||
17 | SSH_PROGRAM=@bindir@/ssh | 17 | SSH_PROGRAM=@bindir@/ssh |
18 | ASKPASS_LOCATION=@libexecdir@/ssh | 18 | LIBEXEC=@libexecdir@/ssh |
19 | ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass | 19 | ASKPASS_PROGRAM=$(LIBEXEC)/ssh-askpass |
20 | 20 | ||
21 | CC=@CC@ | 21 | CC=@CC@ |
22 | LD=@LD@ | 22 | LD=@LD@ |
@@ -32,7 +32,7 @@ LDFLAGS=-L. @LDFLAGS@ | |||
32 | 32 | ||
33 | INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@ | 33 | INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@ |
34 | 34 | ||
35 | TARGETS=ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS) | 35 | TARGETS=ssh sshd ssh-add ssh-keygen ssh-agent scp sftp-server $(EXTRA_TARGETS) |
36 | 36 | ||
37 | LIBSSH_OBJS=atomicio.o authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o cipher.o compat.o compress.o crc32.o deattack.o dispatch.o dsa.o hmac.o hostfile.o key.o kex.o log.o match.o mpaux.o nchan.o packet.o radix.o entropy.o readpass.o rsa.o tildexpand.o ttymodes.o uidswap.o util.o uuencode.o xmalloc.o | 37 | LIBSSH_OBJS=atomicio.o authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o cipher.o compat.o compress.o crc32.o deattack.o dispatch.o dsa.o hmac.o hostfile.o key.o kex.o log.o match.o mpaux.o nchan.o packet.o radix.o entropy.o readpass.o rsa.o tildexpand.o ttymodes.o uidswap.o util.o uuencode.o xmalloc.o |
38 | 38 | ||
@@ -42,13 +42,13 @@ SSHOBJS= ssh.o sshconnect.o sshconnect1.o sshconnect2.o log-client.o readconf.o | |||
42 | 42 | ||
43 | SSHDOBJS= sshd.o auth.o auth1.o auth2.o auth-rhosts.o auth-options.o auth-krb4.o auth-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o loginrec.o servconf.o serverloop.o md5crypt.o session.o | 43 | SSHDOBJS= sshd.o auth.o auth1.o auth2.o auth-rhosts.o auth-options.o auth-krb4.o auth-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o loginrec.o servconf.o serverloop.o md5crypt.o session.o |
44 | 44 | ||
45 | TROFFMAN = scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8 | 45 | TROFFMAN = scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8 sftp-server.8 |
46 | CATMAN = scp.0 ssh-add.0 ssh-agent.0 ssh-keygen.0 ssh.0 sshd.0 | 46 | CATMAN = scp.0 ssh-add.0 ssh-agent.0 ssh-keygen.0 ssh.0 sshd.0 sftp-server.0 |
47 | MANPAGES = @MANTYPE@ | 47 | MANPAGES = @MANTYPE@ |
48 | 48 | ||
49 | CONFIGFILES=sshd_config ssh_config | 49 | CONFIGFILES=sshd_config ssh_config |
50 | 50 | ||
51 | PATHSUBS = -D/etc/ssh_config=$(sysconfdir)/ssh_config -D/etc/known_hosts=$(sysconfdir)/ssh_known_hosts -D/etc/sshd_config=$(sysconfdir)/sshd_config -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key -D/var/run/sshd.pid=$(piddir)/sshd.pid | 51 | PATHSUBS = -D/etc/ssh_config=$(sysconfdir)/ssh_config -D/etc/known_hosts=$(sysconfdir)/ssh_known_hosts -D/etc/sshd_config=$(sysconfdir)/sshd_config -D/usr/libexec=$(LIBEXEC) -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key -D/var/run/sshd.pid=$(piddir)/sshd.pid |
52 | 52 | ||
53 | FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) | 53 | FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) |
54 | 54 | ||
@@ -86,6 +86,9 @@ ssh-agent: libopenbsd-compat.a libssh.a ssh-agent.o log-client.o | |||
86 | ssh-keygen: libopenbsd-compat.a libssh.a ssh-keygen.o log-client.o | 86 | ssh-keygen: libopenbsd-compat.a libssh.a ssh-keygen.o log-client.o |
87 | $(LD) -o $@ ssh-keygen.o log-client.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 87 | $(LD) -o $@ ssh-keygen.o log-client.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
88 | 88 | ||
89 | sftp-server: libopenbsd-compat.a libssh.a sftp-server.o log-server.o | ||
90 | $(LD) -o $@ sftp-server.o log-server.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | ||
91 | |||
89 | # test driver for the loginrec code - not built by default | 92 | # test driver for the loginrec code - not built by default |
90 | logintest: logintest.o libopenbsd-compat.a libssh.a log-client.o loginrec.o | 93 | logintest: logintest.o libopenbsd-compat.a libssh.a log-client.o loginrec.o |
91 | $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh log-client.o $(LIBS) | 94 | $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh log-client.o $(LIBS) |
@@ -123,18 +126,21 @@ install-files: | |||
123 | ./mkinstalldirs $(DESTDIR)$(mandir) | 126 | ./mkinstalldirs $(DESTDIR)$(mandir) |
124 | ./mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)1 | 127 | ./mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)1 |
125 | ./mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8 | 128 | ./mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8 |
129 | ./mkinstalldirs $(DESTDIR)$(LIBEXEC) | ||
126 | $(INSTALL) -m 4755 -s ssh $(DESTDIR)$(bindir)/ssh | 130 | $(INSTALL) -m 4755 -s ssh $(DESTDIR)$(bindir)/ssh |
127 | $(INSTALL) -m 0755 -s scp $(DESTDIR)$(bindir)/scp | 131 | $(INSTALL) -m 0755 -s scp $(DESTDIR)$(bindir)/scp |
128 | $(INSTALL) -m 0755 -s ssh-add $(DESTDIR)$(bindir)/ssh-add | 132 | $(INSTALL) -m 0755 -s ssh-add $(DESTDIR)$(bindir)/ssh-add |
129 | $(INSTALL) -m 0755 -s ssh-agent $(DESTDIR)$(bindir)/ssh-agent | 133 | $(INSTALL) -m 0755 -s ssh-agent $(DESTDIR)$(bindir)/ssh-agent |
130 | $(INSTALL) -m 0755 -s ssh-keygen $(DESTDIR)$(bindir)/ssh-keygen | 134 | $(INSTALL) -m 0755 -s ssh-keygen $(DESTDIR)$(bindir)/ssh-keygen |
131 | $(INSTALL) -m 0755 -s sshd $(DESTDIR)$(sbindir)/sshd | 135 | $(INSTALL) -m 0755 -s sshd $(DESTDIR)$(sbindir)/sshd |
136 | $(INSTALL) -m 0755 -s sftp-server $(DESTDIR)$(LIBEXEC)/sftp-server | ||
132 | $(INSTALL) -m 644 ssh.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 | 137 | $(INSTALL) -m 644 ssh.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 |
133 | $(INSTALL) -m 644 scp.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 | 138 | $(INSTALL) -m 644 scp.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 |
134 | $(INSTALL) -m 644 ssh-add.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 | 139 | $(INSTALL) -m 644 ssh-add.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 |
135 | $(INSTALL) -m 644 ssh-agent.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-agent.1 | 140 | $(INSTALL) -m 644 ssh-agent.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-agent.1 |
136 | $(INSTALL) -m 644 ssh-keygen.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1 | 141 | $(INSTALL) -m 644 ssh-keygen.[01].out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1 |
137 | $(INSTALL) -m 644 sshd.[08].out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 | 142 | $(INSTALL) -m 644 sshd.[08].out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 |
143 | $(INSTALL) -m 644 sftp-server.[08].out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 | ||
138 | -rm -f $(DESTDIR)$(bindir)/slogin | 144 | -rm -f $(DESTDIR)$(bindir)/slogin |
139 | ln -s ssh $(DESTDIR)$(bindir)/slogin | 145 | ln -s ssh $(DESTDIR)$(bindir)/slogin |
140 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | 146 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 |