diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/Makefile.in b/Makefile.in index 298790a36..ec7f0fd75 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -17,6 +17,8 @@ TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp $(EXTRA_TARGETS) | |||
17 | LIBS=@LIBS@ | 17 | LIBS=@LIBS@ |
18 | AR=@AR@ | 18 | AR=@AR@ |
19 | RANLIB=@RANLIB@ | 19 | RANLIB=@RANLIB@ |
20 | INSTALL=@INSTALL@ | ||
21 | LFLAGS=@LDFLAGS@ | ||
20 | 22 | ||
21 | GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui` | 23 | GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui` |
22 | GNOME_LIBS=`gnome-config --libs gnome gnomeui` | 24 | GNOME_LIBS=`gnome-config --libs gnome gnomeui` |
@@ -61,40 +63,40 @@ clean: | |||
61 | rm -f *.o core $(TARGETS) config.status config.cache config.log | 63 | rm -f *.o core $(TARGETS) config.status config.cache config.log |
62 | 64 | ||
63 | install: all | 65 | install: all |
64 | install -d $(bindir) | 66 | $(INSTALL) -d $(bindir) |
65 | install -d $(sbindir) | 67 | $(INSTALL) -d $(sbindir) |
66 | install -d $(mandir) | 68 | $(INSTALL) -d $(mandir) |
67 | install -d $(mandir)/man1 | 69 | $(INSTALL) -d $(mandir)/man1 |
68 | install -d $(mandir)/man8 | 70 | $(INSTALL) -d $(mandir)/man8 |
69 | install -s -c ssh $(bindir)/ssh | 71 | $(INSTALL) -s -c ssh $(bindir)/ssh |
70 | install -s -c scp $(bindir)/scp | 72 | $(INSTALL) -s -c scp $(bindir)/scp |
71 | install -s -c ssh-add $(bindir)/ssh-add | 73 | $(INSTALL) -s -c ssh-add $(bindir)/ssh-add |
72 | install -s -c ssh-agent $(bindir)/ssh-agent | 74 | $(INSTALL) -s -c ssh-agent $(bindir)/ssh-agent |
73 | install -s -c ssh-keygen $(bindir)/ssh-keygen | 75 | $(INSTALL) -s -c ssh-keygen $(bindir)/ssh-keygen |
74 | install -s -c sshd $(sbindir)/sshd | 76 | $(INSTALL) -s -c sshd $(sbindir)/sshd |
75 | install -m644 -c ssh.1 $(mandir)/man1/ssh.1 | 77 | $(INSTALL) -m644 -c ssh.1 $(mandir)/man1/ssh.1 |
76 | install -m644 -c scp.1 $(mandir)/man1/scp.1 | 78 | $(INSTALL) -m644 -c scp.1 $(mandir)/man1/scp.1 |
77 | install -m644 -c ssh-add.1 $(mandir)/man1/ssh-add.1 | 79 | $(INSTALL) -m644 -c ssh-add.1 $(mandir)/man1/ssh-add.1 |
78 | install -m644 -c ssh-agent.1 $(mandir)/man1/ssh-agent.1 | 80 | $(INSTALL) -m644 -c ssh-agent.1 $(mandir)/man1/ssh-agent.1 |
79 | install -m644 -c ssh-keygen.1 $(mandir)/man1/ssh-keygen.1 | 81 | $(INSTALL) -m644 -c ssh-keygen.1 $(mandir)/man1/ssh-keygen.1 |
80 | install -m644 -c sshd.8 $(mandir)/man8/sshd.8 | 82 | $(INSTALL) -m644 -c sshd.8 $(mandir)/man8/sshd.8 |
81 | ln -sf ssh $(bindir)/slogin | 83 | ln -sf ssh $(bindir)/slogin |
82 | ln -sf ssh.1 $(mandir)/man1/slogin.1 | 84 | ln -sf ssh.1 $(mandir)/man1/slogin.1 |
83 | 85 | ||
84 | if [ "x@INSTALL_ASKPASS@" = "xyes" ] ; then \ | 86 | if [ "x@INSTALL_ASKPASS@" = "xyes" ] ; then \ |
85 | install -d $(libexecdir) ; \ | 87 | $(INSTALL) -d $(libexecdir) ; \ |
86 | install -d $(libexecdir)/ssh ; \ | 88 | $(INSTALL) -d $(libexecdir)/ssh ; \ |
87 | if [ -z "@GNOME_ASKPASS@" ] ; then \ | 89 | if [ -z "@GNOME_ASKPASS@" ] ; then \ |
88 | install -m755 -c ssh-askpass ${ASKPASS_PROGRAM}; \ | 90 | $(INSTALL) -m755 -c ssh-askpass ${ASKPASS_PROGRAM}; \ |
89 | else \ | 91 | else \ |
90 | install -m755 -c gnome-ssh-askpass ${ASKPASS_PROGRAM}; \ | 92 | $(INSTALL) -m755 -c gnome-ssh-askpass ${ASKPASS_PROGRAM}; \ |
91 | fi ; \ | 93 | fi ; \ |
92 | fi | 94 | fi |
93 | 95 | ||
94 | if [ ! -f $(sysconfdir)/ssh_config -a ! -f $(sysconfdir)/sshd_config ]; then \ | 96 | if [ ! -f $(sysconfdir)/ssh_config -a ! -f $(sysconfdir)/sshd_config ]; then \ |
95 | install -d $(sysconfdir); \ | 97 | $(INSTALL) -d $(sysconfdir); \ |
96 | install -m644 ssh_config $(sysconfdir)/ssh_config; \ | 98 | $(INSTALL) -m644 ssh_config $(sysconfdir)/ssh_config; \ |
97 | install -m644 sshd_config $(sysconfdir)/sshd_config; \ | 99 | $(INSTALL) -m644 sshd_config $(sysconfdir)/sshd_config; \ |
98 | fi | 100 | fi |
99 | 101 | ||
100 | distclean: clean | 102 | distclean: clean |