summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-05-05 13:48:37 +1000
committerDamien Miller <djm@mindrot.org>2011-05-05 13:48:37 +1000
commitf22019bdbfb986daf24428a9d37f9fe9bb3ff7ad (patch)
treee23aa2864fccb6f4097d962aa14f9d78ca02a929 /Makefile.in
parent68790fedef210e03e36534b111e2f27b858170b4 (diff)
- (djm) [Makefile.in WARNING.RNG aclocal.m4 buildpkg.sh.in configure.ac]
[entropy.c ssh-add.c ssh-agent.c ssh-keygen.c ssh-keyscan.c] [ssh-keysign.c ssh-pkcs11-helper.c ssh-rand-helper.8 ssh-rand-helper.c] [ssh.c ssh_prng_cmds.in sshd.c contrib/aix/buildbff.sh] [regress/README.regress] Remove ssh-rand-helper and all its tentacles. PRNGd seeding has been rolled into entropy.c directly. Thanks to tim@ for testing on affected platforms.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in50
1 files changed, 10 insertions, 40 deletions
diff --git a/Makefile.in b/Makefile.in
index d0263779b..f5b147619 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# $Id: Makefile.in,v 1.321 2011/01/25 01:16:16 djm Exp $ 1# $Id: Makefile.in,v 1.322 2011/05/05 03:48:37 djm Exp $
2 2
3# uncomment if you run a non bourne compatable shell. Ie. csh 3# uncomment if you run a non bourne compatable shell. Ie. csh
4#SHELL = @SH@ 4#SHELL = @SH@
@@ -26,7 +26,6 @@ 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
29RAND_HELPER=$(libexecdir)/ssh-rand-helper
30PRIVSEP_PATH=@PRIVSEP_PATH@ 29PRIVSEP_PATH=@PRIVSEP_PATH@
31SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ 30SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@
32STRIP_OPT=@STRIP_OPT@ 31STRIP_OPT=@STRIP_OPT@
@@ -39,7 +38,6 @@ PATHS= -DSSHDIR=\"$(sysconfdir)\" \
39 -D_PATH_SSH_PKCS11_HELPER=\"$(SSH_PKCS11_HELPER)\" \ 38 -D_PATH_SSH_PKCS11_HELPER=\"$(SSH_PKCS11_HELPER)\" \
40 -D_PATH_SSH_PIDDIR=\"$(piddir)\" \ 39 -D_PATH_SSH_PIDDIR=\"$(piddir)\" \
41 -D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\" \ 40 -D_PATH_PRIVSEP_CHROOT_DIR=\"$(PRIVSEP_PATH)\" \
42 -DSSH_RAND_HELPER=\"$(RAND_HELPER)\"
43 41
44CC=@CC@ 42CC=@CC@
45LD=@LD@ 43LD=@LD@
@@ -61,10 +59,7 @@ LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@
61EXEEXT=@EXEEXT@ 59EXEEXT=@EXEEXT@
62MANFMT=@MANFMT@ 60MANFMT=@MANFMT@
63 61
64INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@ 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)
65INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@
66
67TARGETS=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) ssh-rand-helper${EXEEXT} sftp-server$(EXEEXT) sftp$(EXEEXT)
68 63
69LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \ 64LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \
70 canohost.o channels.o cipher.o cipher-acss.o cipher-aes.o \ 65 canohost.o channels.o cipher.o cipher-acss.o cipher-aes.o \
@@ -96,15 +91,14 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
96 sftp-server.o sftp-common.o \ 91 sftp-server.o sftp-common.o \
97 roaming_common.o roaming_serv.o 92 roaming_common.o roaming_serv.o
98 93
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-rand-helper.8.out ssh-keysign.8.out ssh-pkcs11-helper.8.out sshd_config.5.out ssh_config.5.out 94MANPAGES = 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
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-rand-helper.8 ssh-keysign.8 ssh-pkcs11-helper.8 sshd_config.5 ssh_config.5 95MANPAGES_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
101MANTYPE = @MANTYPE@ 96MANTYPE = @MANTYPE@
102 97
103CONFIGFILES=sshd_config.out ssh_config.out moduli.out 98CONFIGFILES=sshd_config.out ssh_config.out moduli.out
104CONFIGFILES_IN=sshd_config ssh_config moduli 99CONFIGFILES_IN=sshd_config ssh_config moduli
105 100
106PATHSUBS = \ 101PATHSUBS = \
107 -e 's|/etc/ssh/ssh_prng_cmds|$(sysconfdir)/ssh_prng_cmds|g' \
108 -e 's|/etc/ssh/ssh_config|$(sysconfdir)/ssh_config|g' \ 102 -e 's|/etc/ssh/ssh_config|$(sysconfdir)/ssh_config|g' \
109 -e 's|/etc/ssh/ssh_known_hosts|$(sysconfdir)/ssh_known_hosts|g' \ 103 -e 's|/etc/ssh/ssh_known_hosts|$(sysconfdir)/ssh_known_hosts|g' \
110 -e 's|/etc/ssh/sshd_config|$(sysconfdir)/sshd_config|g' \ 104 -e 's|/etc/ssh/sshd_config|$(sysconfdir)/sshd_config|g' \
@@ -124,7 +118,7 @@ PATHSUBS = \
124 118
125FIXPATHSCMD = $(SED) $(PATHSUBS) 119FIXPATHSCMD = $(SED) $(PATHSUBS)
126 120
127all: $(CONFIGFILES) ssh_prng_cmds.out $(MANPAGES) $(TARGETS) 121all: $(CONFIGFILES) $(MANPAGES) $(TARGETS)
128 122
129$(LIBSSH_OBJS): Makefile.in config.h 123$(LIBSSH_OBJS): Makefile.in config.h
130$(SSHOBJS): Makefile.in config.h 124$(SSHOBJS): Makefile.in config.h
@@ -175,9 +169,6 @@ sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o s
175sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-common.o sftp-glob.o progressmeter.o 169sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-common.o sftp-glob.o progressmeter.o
176 $(LD) -o $@ progressmeter.o sftp.o sftp-client.o sftp-common.o sftp-glob.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) $(LIBEDIT) 170 $(LD) -o $@ progressmeter.o sftp.o sftp-client.o sftp-common.o sftp-glob.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) $(LIBEDIT)
177 171
178ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o
179 $(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
180
181# test driver for the loginrec code - not built by default 172# test driver for the loginrec code - not built by default
182logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o 173logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o
183 $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS) 174 $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS)
@@ -198,11 +189,6 @@ $(CONFIGFILES): $(CONFIGFILES_IN)
198 conffile=`echo $@ | sed 's/.out$$//'`; \ 189 conffile=`echo $@ | sed 's/.out$$//'`; \
199 $(FIXPATHSCMD) $(srcdir)/$${conffile} > $@ 190 $(FIXPATHSCMD) $(srcdir)/$${conffile} > $@
200 191
201ssh_prng_cmds.out: ssh_prng_cmds
202 if test ! -z "$(INSTALL_SSH_PRNG_CMDS)"; then \
203 $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \
204 fi
205
206# fake rule to stop make trying to compile moduli.o into a binary "moduli.o" 192# fake rule to stop make trying to compile moduli.o into a binary "moduli.o"
207moduli: 193moduli:
208 echo 194 echo
@@ -215,7 +201,7 @@ clean: regressclean
215distclean: regressclean 201distclean: regressclean
216 rm -f *.o *.a $(TARGETS) logintest config.cache config.log 202 rm -f *.o *.a $(TARGETS) logintest config.cache config.log
217 rm -f *.out core opensshd.init openssh.xml 203 rm -f *.out core opensshd.init openssh.xml
218 rm -f Makefile buildpkg.sh config.h config.status ssh_prng_cmds 204 rm -f Makefile buildpkg.sh config.h config.status
219 rm -f survey.sh openbsd-compat/regress/Makefile *~ 205 rm -f survey.sh openbsd-compat/regress/Makefile *~
220 rm -rf autom4te.cache 206 rm -rf autom4te.cache
221 (cd openbsd-compat && $(MAKE) distclean) 207 (cd openbsd-compat && $(MAKE) distclean)
@@ -242,9 +228,9 @@ distprep: catman-do
242 $(AUTORECONF) 228 $(AUTORECONF)
243 -rm -rf autom4te.cache 229 -rm -rf autom4te.cache
244 230
245install: $(CONFIGFILES) ssh_prng_cmds.out $(MANPAGES) $(TARGETS) install-files install-sysconf host-key check-config 231install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key check-config
246install-nokeys: $(CONFIGFILES) ssh_prng_cmds.out $(MANPAGES) $(TARGETS) install-files install-sysconf 232install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf
247install-nosysconf: $(CONFIGFILES) ssh_prng_cmds.out $(MANPAGES) $(TARGETS) install-files 233install-nosysconf: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files
248 234
249check-config: 235check-config:
250 -$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config 236 -$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config
@@ -265,9 +251,6 @@ install-files:
265 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keygen$(EXEEXT) $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT) 251 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keygen$(EXEEXT) $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT)
266 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keyscan$(EXEEXT) $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT) 252 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keyscan$(EXEEXT) $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT)
267 $(INSTALL) -m 0755 $(STRIP_OPT) sshd$(EXEEXT) $(DESTDIR)$(sbindir)/sshd$(EXEEXT) 253 $(INSTALL) -m 0755 $(STRIP_OPT) sshd$(EXEEXT) $(DESTDIR)$(sbindir)/sshd$(EXEEXT)
268 if test ! -z "$(INSTALL_SSH_RAND_HELPER)" ; then \
269 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-rand-helper$(EXEEXT) $(DESTDIR)$(libexecdir)/ssh-rand-helper$(EXEEXT) ; \
270 fi
271 $(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign$(EXEEXT) $(DESTDIR)$(SSH_KEYSIGN)$(EXEEXT) 254 $(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign$(EXEEXT) $(DESTDIR)$(SSH_KEYSIGN)$(EXEEXT)
272 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-pkcs11-helper$(EXEEXT) $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT) 255 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-pkcs11-helper$(EXEEXT) $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT)
273 $(INSTALL) -m 0755 $(STRIP_OPT) sftp$(EXEEXT) $(DESTDIR)$(bindir)/sftp$(EXEEXT) 256 $(INSTALL) -m 0755 $(STRIP_OPT) sftp$(EXEEXT) $(DESTDIR)$(bindir)/sftp$(EXEEXT)
@@ -282,9 +265,6 @@ install-files:
282 $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5 265 $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5
283 $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5 266 $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5
284 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 267 $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
285 if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \
286 $(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \
287 fi
288 $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 268 $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
289 $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 269 $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
290 $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 270 $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8
@@ -308,13 +288,6 @@ install-sysconf:
308 else \ 288 else \
309 echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite"; \ 289 echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite"; \
310 fi 290 fi
311 @if [ -f ssh_prng_cmds ] && [ ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \
312 if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \
313 $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \
314 else \
315 echo "$(DESTDIR)$(sysconfdir)/ssh_prng_cmds already exists, install will not overwrite"; \
316 fi ; \
317 fi
318 @if [ ! -f $(DESTDIR)$(sysconfdir)/moduli ]; then \ 291 @if [ ! -f $(DESTDIR)$(sysconfdir)/moduli ]; then \
319 if [ -f $(DESTDIR)$(sysconfdir)/primes ]; then \ 292 if [ -f $(DESTDIR)$(sysconfdir)/primes ]; then \
320 echo "moving $(DESTDIR)$(sysconfdir)/primes to $(DESTDIR)$(sysconfdir)/moduli"; \ 293 echo "moving $(DESTDIR)$(sysconfdir)/primes to $(DESTDIR)$(sysconfdir)/moduli"; \
@@ -361,7 +334,6 @@ host-key-force: ssh-keygen$(EXEEXT)
361uninstallall: uninstall 334uninstallall: uninstall
362 -rm -f $(DESTDIR)$(sysconfdir)/ssh_config 335 -rm -f $(DESTDIR)$(sysconfdir)/ssh_config
363 -rm -f $(DESTDIR)$(sysconfdir)/sshd_config 336 -rm -f $(DESTDIR)$(sysconfdir)/sshd_config
364 -rm -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds
365 -rmdir $(DESTDIR)$(sysconfdir) 337 -rmdir $(DESTDIR)$(sysconfdir)
366 -rmdir $(DESTDIR)$(bindir) 338 -rmdir $(DESTDIR)$(bindir)
367 -rmdir $(DESTDIR)$(sbindir) 339 -rmdir $(DESTDIR)$(sbindir)
@@ -383,7 +355,6 @@ uninstall:
383 -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT) 355 -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT)
384 -rm -f $(DESTDIR)$(SSH_KEYSIGN)$(EXEEXT) 356 -rm -f $(DESTDIR)$(SSH_KEYSIGN)$(EXEEXT)
385 -rm -f $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT) 357 -rm -f $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT)
386 -rm -f $(DESTDIR)$(RAND_HELPER)$(EXEEXT)
387 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 358 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
388 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 359 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
389 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 360 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
@@ -392,7 +363,6 @@ uninstall:
392 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 363 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
393 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1 364 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
394 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8 365 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
395 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8
396 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 366 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
397 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 367 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8
398 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8 368 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8
@@ -462,7 +432,7 @@ survey: survey.sh ssh
462send-survey: survey 432send-survey: survey
463 mail portable-survey@mindrot.org <survey 433 mail portable-survey@mindrot.org <survey
464 434
465package: $(CONFIGFILES) ssh_prng_cmds.out $(MANPAGES) $(TARGETS) 435package: $(CONFIGFILES) $(MANPAGES) $(TARGETS)
466 if [ "@MAKE_PACKAGE_SUPPORTED@" = yes ]; then \ 436 if [ "@MAKE_PACKAGE_SUPPORTED@" = yes ]; then \
467 sh buildpkg.sh; \ 437 sh buildpkg.sh; \
468 fi 438 fi