xref: /freebsd/crypto/openssh/Makefile.in (revision 3193579b66fd7067f898dbc54bdea81a0e6f9bd0)
1# $Id: Makefile.in,v 1.228 2003/03/21 00:34:34 mouring Exp $
2
3# uncomment if you run a non bourne compatable shell. Ie. csh
4#SHELL = @SH@
5
6AUTORECONF=autoreconf
7
8prefix=@prefix@
9exec_prefix=@exec_prefix@
10bindir=@bindir@
11sbindir=@sbindir@
12libexecdir=@libexecdir@
13datadir=@datadir@
14mandir=@mandir@
15mansubdir=@mansubdir@
16sysconfdir=@sysconfdir@
17piddir=@piddir@
18srcdir=@srcdir@
19top_srcdir=@top_srcdir@
20
21DESTDIR=
22VPATH=@srcdir@
23SSH_PROGRAM=@bindir@/ssh
24ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
25SFTP_SERVER=$(libexecdir)/sftp-server
26SSH_KEYSIGN=$(libexecdir)/ssh-keysign
27RAND_HELPER=$(libexecdir)/ssh-rand-helper
28PRIVSEP_PATH=@PRIVSEP_PATH@
29SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@
30STRIP_OPT=@STRIP_OPT@
31
32PATHS= -DSSHDIR=\"$(sysconfdir)\" \
33	-D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \
34	-D_PATH_SSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" \
35	-D_PATH_SFTP_SERVER=\"$(SFTP_SERVER)\" \
36	-D_PATH_SSH_KEY_SIGN=\"$(SSH_KEYSIGN)\" \
37	-D_PATH_SSH_PIDDIR=\"$(piddir)\" \
38	-D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\" \
39	-DSSH_RAND_HELPER=\"$(RAND_HELPER)\"
40
41CC=@CC@
42LD=@LD@
43CFLAGS=@CFLAGS@
44CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@
45LIBS=@LIBS@
46LIBPAM=@LIBPAM@
47LIBWRAP=@LIBWRAP@
48AR=@AR@
49RANLIB=@RANLIB@
50INSTALL=@INSTALL@
51PERL=@PERL@
52SED=@SED@
53ENT=@ENT@
54XAUTH_PATH=@XAUTH_PATH@
55LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@
56EXEEXT=@EXEEXT@
57
58INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@
59INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@
60
61TARGETS=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)
62
63LIBSSH_OBJS=authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o \
64	cipher.o compat.o compress.o crc32.o deattack.o fatal.o \
65	hostfile.o log.o match.o mpaux.o nchan.o packet.o readpass.o \
66	rsa.o tildexpand.o ttymodes.o xmalloc.o atomicio.o \
67	key.o dispatch.o kex.o mac.o uuencode.o misc.o \
68	rijndael.o ssh-dss.o ssh-rsa.o dh.o kexdh.o kexgex.o \
69	kexdhc.o kexgexc.o scard.o msg.o progressmeter.o \
70	entropy.o
71
72SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \
73	sshconnect.o sshconnect1.o sshconnect2.o
74
75SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
76	sshpty.o sshlogin.o servconf.o serverloop.o uidswap.o \
77	auth.o auth1.o auth2.o auth-options.o session.o \
78	auth-chall.o auth2-chall.o groupaccess.o \
79	auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \
80	auth2-none.o auth2-passwd.o auth2-pubkey.o \
81	monitor_mm.o monitor.o monitor_wrap.o monitor_fdpass.o \
82	kexdhs.o kexgexs.o \
83	auth-krb5.o auth-krb4.o \
84	loginrec.o auth-pam.o auth2-pam.o auth-sia.o md5crypt.o
85
86MANPAGES	= 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
87MANPAGES_IN	= 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
88MANTYPE		= @MANTYPE@
89
90CONFIGFILES=sshd_config.out ssh_config.out moduli.out
91CONFIGFILES_IN=sshd_config ssh_config moduli
92
93PATHSUBS	= \
94	-e 's|/etc/ssh/ssh_prng_cmds|$(sysconfdir)/ssh_prng_cmds|g' \
95	-e 's|/etc/ssh/ssh_config|$(sysconfdir)/ssh_config|g' \
96	-e 's|/etc/ssh/ssh_known_hosts|$(sysconfdir)/ssh_known_hosts|g' \
97	-e 's|/etc/ssh/sshd_config|$(sysconfdir)/sshd_config|g' \
98	-e 's|/usr/libexec|$(libexecdir)|g' \
99	-e 's|/etc/shosts.equiv|$(sysconfdir)/shosts.equiv|g' \
100	-e 's|/etc/ssh/ssh_host_key|$(sysconfdir)/ssh_host_key|g' \
101	-e 's|/etc/ssh/ssh_host_dsa_key|$(sysconfdir)/ssh_host_dsa_key|g' \
102	-e 's|/etc/ssh/ssh_host_rsa_key|$(sysconfdir)/ssh_host_rsa_key|g' \
103	-e 's|/var/run/sshd.pid|$(piddir)/sshd.pid|g' \
104	-e 's|/etc/ssh/moduli|$(sysconfdir)/moduli|g' \
105	-e 's|/etc/sshrc|$(sysconfdir)/sshrc|g' \
106	-e 's|/usr/X11R6/bin/xauth|$(XAUTH_PATH)|g' \
107	-e 's|/var/empty|$(PRIVSEP_PATH)|g' \
108	-e 's|/usr/bin:/bin:/usr/sbin:/sbin|@user_path@|g'
109
110FIXPATHSCMD	= $(SED) $(PATHSUBS)
111
112all: $(CONFIGFILES) $(MANPAGES) $(TARGETS)
113
114$(LIBSSH_OBJS): config.h
115$(SSHOBJS): config.h
116$(SSHDOBJS): config.h
117
118.c.o:
119	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
120
121LIBCOMPAT=openbsd-compat/libopenbsd-compat.a
122$(LIBCOMPAT): always
123	(cd openbsd-compat && $(MAKE))
124always:
125
126libssh.a: $(LIBSSH_OBJS)
127	$(AR) rv $@ $(LIBSSH_OBJS)
128	$(RANLIB) $@
129
130ssh$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS)
131	$(LD) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
132
133sshd$(EXEEXT): libssh.a	$(LIBCOMPAT) $(SSHDOBJS)
134	$(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBWRAP) $(LIBPAM) $(LIBS)
135
136scp$(EXEEXT): $(LIBCOMPAT) libssh.a scp.o progressmeter.o
137	$(LD) -o $@ scp.o progressmeter.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
138
139ssh-add$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-add.o
140	$(LD) -o $@ ssh-add.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
141
142ssh-agent$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-agent.o
143	$(LD) -o $@ ssh-agent.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
144
145ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o
146	$(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
147
148ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o
149	$(LD) -o $@ ssh-keysign.o readconf.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
150
151ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o
152	$(LD) -o $@ ssh-keyscan.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS)
153
154sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o
155	$(LD) -o $@ sftp-server.o sftp-common.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
156
157sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-int.o sftp-common.o sftp-glob.o progressmeter.o
158	$(LD) -o $@ progressmeter.o sftp.o sftp-client.o sftp-common.o sftp-int.o sftp-glob.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
159
160ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o
161	$(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
162
163# test driver for the loginrec code - not built by default
164logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o
165	$(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS)
166
167$(MANPAGES): $(MANPAGES_IN)
168	if test "$(MANTYPE)" = "cat"; then \
169		manpage=$(srcdir)/`echo $@ | sed 's/\.[1-9]\.out$$/\.0/'`; \
170	else \
171		manpage=$(srcdir)/`echo $@ | sed 's/\.out$$//'`; \
172	fi; \
173	if test "$(MANTYPE)" = "man"; then \
174		$(FIXPATHSCMD) $${manpage} | $(PERL) $(srcdir)/mdoc2man.pl > $@; \
175	else \
176		$(FIXPATHSCMD) $${manpage} > $@; \
177	fi
178
179$(CONFIGFILES): $(CONFIGFILES_IN)
180	conffile=`echo $@ | sed 's/.out$$//'`; \
181	$(FIXPATHSCMD) $(srcdir)/$${conffile} > $@
182
183clean:
184	rm -f *.o *.a $(TARGETS) logintest config.cache config.log
185	rm -f *.out core
186	(cd openbsd-compat && $(MAKE) clean)
187
188distclean:
189	rm -f *.o *.a $(TARGETS) logintest config.cache config.log
190	rm -f *.out core
191	rm -f Makefile config.h config.status ssh_prng_cmds *~
192	rm -rf autom4te.cache
193	(cd openbsd-compat && $(MAKE) distclean)
194	(cd scard && $(MAKE) distclean)
195
196veryclean:
197	rm -f configure config.h.in *.0
198	rm -f *.o *.a $(TARGETS) logintest config.cache config.log
199	rm -f *.out core
200	rm -f Makefile config.h config.status ssh_prng_cmds *~
201	(cd openbsd-compat && $(MAKE) distclean)
202	(cd scard && $(MAKE) distclean)
203
204mrproper: distclean
205
206catman-do:
207	@for f in $(MANPAGES_IN) ; do \
208		base=`echo $$f | sed 's/\..*$$//'` ; \
209		echo "$$f -> $$base.0" ; \
210		nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \
211			>$$base.0 ; \
212	done
213
214distprep: catman-do
215	$(AUTORECONF)
216	(cd scard && $(MAKE) -f Makefile.in distprep)
217
218install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files host-key check-config
219install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files
220
221check-config:
222	-$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config
223
224scard-install:
225	(cd scard && $(MAKE) DESTDIR=$(DESTDIR) install)
226
227install-files: scard-install
228	$(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
229	$(srcdir)/mkinstalldirs $(DESTDIR)$(sbindir)
230	$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)
231	$(srcdir)/mkinstalldirs $(DESTDIR)$(datadir)
232	$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)1
233	$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)5
234	$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8
235	$(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)
236	(umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH))
237	$(INSTALL) -m 0755 $(STRIP_OPT) ssh $(DESTDIR)$(bindir)/ssh
238	$(INSTALL) -m 0755 $(STRIP_OPT) scp $(DESTDIR)$(bindir)/scp
239	$(INSTALL) -m 0755 $(STRIP_OPT) ssh-add $(DESTDIR)$(bindir)/ssh-add
240	$(INSTALL) -m 0755 $(STRIP_OPT) ssh-agent $(DESTDIR)$(bindir)/ssh-agent
241	$(INSTALL) -m 0755 $(STRIP_OPT) ssh-keygen $(DESTDIR)$(bindir)/ssh-keygen
242	$(INSTALL) -m 0755 $(STRIP_OPT) ssh-keyscan $(DESTDIR)$(bindir)/ssh-keyscan
243	$(INSTALL) -m 0755 $(STRIP_OPT) sshd $(DESTDIR)$(sbindir)/sshd
244	if test ! -z "$(INSTALL_SSH_RAND_HELPER)" ; then \
245		$(INSTALL) -m 0755 $(STRIP_OPT) ssh-rand-helper $(DESTDIR)$(libexecdir)/ssh-rand-helper ; \
246	fi
247	$(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign $(DESTDIR)$(SSH_KEYSIGN)
248	$(INSTALL) -m 0755 $(STRIP_OPT) sftp $(DESTDIR)$(bindir)/sftp
249	$(INSTALL) -m 0755 $(STRIP_OPT) sftp-server $(DESTDIR)$(SFTP_SERVER)
250	$(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
251	$(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
252	$(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
253	$(INSTALL) -m 644 ssh-agent.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-agent.1
254	$(INSTALL) -m 644 ssh-keygen.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1
255	$(INSTALL) -m 644 ssh-keyscan.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
256	$(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5
257	$(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5
258	$(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
259	if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \
260		$(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \
261	fi
262	$(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
263	$(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
264	$(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8
265	-rm -f $(DESTDIR)$(bindir)/slogin
266	ln -s ./ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin
267	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
268	ln -s ./ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
269	if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
270		$(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \
271	fi
272	@if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_config ]; then \
273		$(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(sysconfdir)/ssh_config; \
274	else \
275		echo "$(DESTDIR)$(sysconfdir)/ssh_config already exists, install will not overwrite"; \
276	fi
277	@if [ ! -f $(DESTDIR)$(sysconfdir)/sshd_config ]; then \
278		$(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \
279	else \
280		echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite"; \
281	fi
282	@if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \
283		$(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \
284		if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \
285			$(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \
286		else \
287			echo "$(DESTDIR)$(sysconfdir)/ssh_prng_cmds already exists, install will not overwrite"; \
288		fi ; \
289	fi
290	@if [ ! -f $(DESTDIR)$(sysconfdir)/moduli ]; then \
291		if [ -f $(DESTDIR)$(sysconfdir)/primes ]; then \
292			echo "moving $(DESTDIR)$(sysconfdir)/primes to $(DESTDIR)$(sysconfdir)/moduli"; \
293			mv "$(DESTDIR)$(sysconfdir)/primes" "$(DESTDIR)$(sysconfdir)/moduli"; \
294		else \
295			$(INSTALL) -m 644 moduli.out $(DESTDIR)$(sysconfdir)/moduli; \
296		fi ; \
297	else \
298		echo "$(DESTDIR)$(sysconfdir)/moduli already exists, install will not overwrite"; \
299	fi
300
301host-key: ssh-keygen$(EXEEXT)
302	@if [ -z "$(DESTDIR)" ] ; then \
303		if [ -f "$(DESTDIR)$(sysconfdir)/ssh_host_key" ] ; then \
304			echo "$(DESTDIR)$(sysconfdir)/ssh_host_key already exists, skipping." ; \
305		else \
306			./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" ; \
307		fi ; \
308		if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key ] ; then \
309			echo "$(DESTDIR)$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \
310		else \
311			./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" ; \
312		fi ; \
313		if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key ] ; then \
314			echo "$(DESTDIR)$(sysconfdir)/ssh_host_rsa_key already exists, skipping." ; \
315		else \
316			./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" ; \
317		fi ; \
318	fi ;
319
320host-key-force: ssh-keygen$(EXEEXT)
321	./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N ""
322	./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N ""
323	./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N ""
324
325uninstallall:	uninstall
326	-rm -f $(DESTDIR)$(sysconfdir)/ssh_config
327	-rm -f $(DESTDIR)$(sysconfdir)/sshd_config
328	-rm -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds
329	-rmdir $(DESTDIR)$(sysconfdir)
330	-rmdir $(DESTDIR)$(bindir)
331	-rmdir $(DESTDIR)$(sbindir)
332	-rmdir $(DESTDIR)$(mandir)/$(mansubdir)1
333	-rmdir $(DESTDIR)$(mandir)/$(mansubdir)8
334	-rmdir $(DESTDIR)$(mandir)
335	-rmdir $(DESTDIR)$(libexecdir)
336
337uninstall:
338	-rm -f $(DESTDIR)$(bindir)/slogin
339	-rm -f $(DESTDIR)$(bindir)/ssh$(EXEEXT)
340	-rm -f $(DESTDIR)$(bindir)/scp$(EXEEXT)
341	-rm -f $(DESTDIR)$(bindir)/ssh-add$(EXEEXT)
342	-rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT)
343	-rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT)
344	-rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT)
345	-rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT)
346	-rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT)
347	-rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT)
348	-rm -f $(DESTDIR)$(SSH_KEYSIGN)$(EXEEXT)
349	-rm -f $(DESTDIR)$(RAND_HELPER)$(EXEEXT)
350	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
351	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
352	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
353	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-agent.1
354	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1
355	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
356	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
357	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
358	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8
359	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
360	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8
361	-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1
362