diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 50 |
1 files changed, 16 insertions, 34 deletions
diff --git a/Makefile.in b/Makefile.in index 0bfe2f15b..020b63264 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -24,7 +24,6 @@ AR=@AR@ | |||
24 | RANLIB=@RANLIB@ | 24 | RANLIB=@RANLIB@ |
25 | INSTALL=@INSTALL@ | 25 | INSTALL=@INSTALL@ |
26 | PERL=@PERL@ | 26 | PERL=@PERL@ |
27 | FIXPATHS=$(PERL) @top_srcdir@/fixpaths -Dsysconfdir=${sysconfdir} -Dpiddir=${piddir} | ||
28 | LDFLAGS=-L. @LDFLAGS@ | 27 | LDFLAGS=-L. @LDFLAGS@ |
29 | 28 | ||
30 | GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui` | 29 | GNOME_CFLAGS=`gnome-config --cflags gnome gnomeui` |
@@ -38,10 +37,14 @@ SSHOBJS= ssh.o sshconnect.o log-client.o readconf.o clientloop.o | |||
38 | 37 | ||
39 | SSHDOBJS= sshd.o auth-rhosts.o auth-krb4.o auth-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o serverloop.o bsd-login.o md5crypt.o | 38 | SSHDOBJS= sshd.o auth-rhosts.o auth-krb4.o auth-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o serverloop.o bsd-login.o md5crypt.o |
40 | 39 | ||
41 | MANPAGES=scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8 | 40 | MANPAGES = scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8 |
42 | 41 | ||
43 | CONFIGFILES=sshd_config ssh_config | 42 | CONFIGFILES=sshd_config ssh_config |
44 | 43 | ||
44 | PATHSUBS = -D/etc/ssh_config=$(sysconfdir)/ssh_config -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 | ||
45 | |||
46 | FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) | ||
47 | |||
45 | all: $(TARGETS) $(MANPAGES) $(CONFIGFILES) | 48 | all: $(TARGETS) $(MANPAGES) $(CONFIGFILES) |
46 | 49 | ||
47 | $(LIBOBJS): config.h | 50 | $(LIBOBJS): config.h |
@@ -71,33 +74,12 @@ ssh-keygen: libssh.a ssh-keygen.o log-client.o | |||
71 | gnome-ssh-askpass: gnome-ssh-askpass.c | 74 | gnome-ssh-askpass: gnome-ssh-askpass.c |
72 | $(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS) | 75 | $(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS) |
73 | 76 | ||
74 | scp.1: scp.1.in | 77 | $(MANPAGES) $(CONFIGFILES):: |
75 | $(FIXPATHS) $(srcdir)/scp.1.in | 78 | $(FIXPATHSCMD) $(srcdir)/$@ |
76 | |||
77 | ssh-add.1: ssh-add.1.in | ||
78 | $(FIXPATHS) ssh-add.1.in | ||
79 | |||
80 | ssh-agent.1: ssh-agent.1.in | ||
81 | $(FIXPATHS) ssh-agent.1.in | ||
82 | |||
83 | ssh-keygen.1: ssh-keygen.1.in | ||
84 | $(FIXPATHS) ssh-keygen.1.in | ||
85 | |||
86 | ssh.1: ssh.1.in | ||
87 | $(FIXPATHS) ssh.1.in | ||
88 | |||
89 | sshd.8: sshd.8.in | ||
90 | $(FIXPATHS) sshd.8.in | ||
91 | |||
92 | sshd_config: sshd_config.in | ||
93 | $(FIXPATHS) sshd_config.in | ||
94 | |||
95 | ssh_config: ssh_config.in | ||
96 | $(FIXPATHS) ssh_config.in | ||
97 | 79 | ||
98 | clean: | 80 | clean: |
99 | rm -f *.o *.a $(TARGETS) config.status config.cache config.log | 81 | rm -f *.o *.a $(TARGETS) config.status config.cache config.log |
100 | rm -f core *.1 *.8 sshd_config ssh_config | 82 | rm -f *.out core |
101 | 83 | ||
102 | distclean: clean | 84 | distclean: clean |
103 | rm -f Makefile config.h core *~ | 85 | rm -f Makefile config.h core *~ |
@@ -119,12 +101,12 @@ install: $(TARGETS) | |||
119 | $(INSTALL) -s ssh-agent $(bindir)/ssh-agent | 101 | $(INSTALL) -s ssh-agent $(bindir)/ssh-agent |
120 | $(INSTALL) -s ssh-keygen $(bindir)/ssh-keygen | 102 | $(INSTALL) -s ssh-keygen $(bindir)/ssh-keygen |
121 | $(INSTALL) -s sshd $(sbindir)/sshd | 103 | $(INSTALL) -s sshd $(sbindir)/sshd |
122 | $(INSTALL) -m 644 ssh.1 $(mandir)/man1/ssh.1 | 104 | $(INSTALL) -m 644 ssh.1.out $(mandir)/man1/ssh.1 |
123 | $(INSTALL) -m 644 scp.1 $(mandir)/man1/scp.1 | 105 | $(INSTALL) -m 644 scp.1.out $(mandir)/man1/scp.1 |
124 | $(INSTALL) -m 644 ssh-add.1 $(mandir)/man1/ssh-add.1 | 106 | $(INSTALL) -m 644 ssh-add.1.out $(mandir)/man1/ssh-add.1 |
125 | $(INSTALL) -m 644 ssh-agent.1 $(mandir)/man1/ssh-agent.1 | 107 | $(INSTALL) -m 644 ssh-agent.1.out $(mandir)/man1/ssh-agent.1 |
126 | $(INSTALL) -m 644 ssh-keygen.1 $(mandir)/man1/ssh-keygen.1 | 108 | $(INSTALL) -m 644 ssh-keygen.1.out $(mandir)/man1/ssh-keygen.1 |
127 | $(INSTALL) -m 644 sshd.8 $(mandir)/man8/sshd.8 | 109 | $(INSTALL) -m 644 sshd.8.out $(mandir)/man8/sshd.8 |
128 | -rm -f $(bindir)/slogin | 110 | -rm -f $(bindir)/slogin |
129 | ln -s ssh $(bindir)/slogin | 111 | ln -s ssh $(bindir)/slogin |
130 | -rm -f $(mandir)/man1/slogin.1 | 112 | -rm -f $(mandir)/man1/slogin.1 |
@@ -138,8 +120,8 @@ install: $(TARGETS) | |||
138 | 120 | ||
139 | if [ ! -f $(sysconfdir)/ssh_config -a ! -f $(sysconfdir)/sshd_config ]; then \ | 121 | if [ ! -f $(sysconfdir)/ssh_config -a ! -f $(sysconfdir)/sshd_config ]; then \ |
140 | $(INSTALL) -d $(sysconfdir); \ | 122 | $(INSTALL) -d $(sysconfdir); \ |
141 | $(INSTALL) -m 644 ssh_config $(sysconfdir)/ssh_config; \ | 123 | $(INSTALL) -m 644 ssh_config.out $(sysconfdir)/ssh_config; \ |
142 | $(INSTALL) -m 644 sshd_config $(sysconfdir)/sshd_config; \ | 124 | $(INSTALL) -m 644 sshd_config.out $(sysconfdir)/sshd_config; \ |
143 | fi | 125 | fi |
144 | 126 | ||
145 | uninstallall: uninstall | 127 | uninstallall: uninstall |