diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 85 |
1 files changed, 23 insertions, 62 deletions
diff --git a/Makefile.in b/Makefile.in index 8a8774461..39bbf344d 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: Makefile.in,v 1.249 2003/09/14 01:40:36 dtucker Exp $ | 1 | # $Id: Makefile.in,v 1.228.2.1 2003/04/29 09:12:08 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@ |
@@ -46,7 +46,6 @@ LIBS=@LIBS@ | |||
46 | LIBPAM=@LIBPAM@ | 46 | LIBPAM=@LIBPAM@ |
47 | LIBWRAP=@LIBWRAP@ | 47 | LIBWRAP=@LIBWRAP@ |
48 | AR=@AR@ | 48 | AR=@AR@ |
49 | AWK=@AWK@ | ||
50 | RANLIB=@RANLIB@ | 49 | RANLIB=@RANLIB@ |
51 | INSTALL=@INSTALL@ | 50 | INSTALL=@INSTALL@ |
52 | PERL=@PERL@ | 51 | PERL=@PERL@ |
@@ -62,14 +61,13 @@ INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@ | |||
62 | TARGETS=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) | 61 | TARGETS=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) |
63 | 62 | ||
64 | LIBSSH_OBJS=authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o \ | 63 | LIBSSH_OBJS=authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o \ |
65 | cipher.o cipher-aes.o cipher-bf1.o cipher-ctr.o cipher-3des1.o \ | 64 | cipher.o compat.o compress.o crc32.o deattack.o fatal.o \ |
66 | compat.o compress.o crc32.o deattack.o fatal.o \ | 65 | hostfile.o log.o match.o mpaux.o nchan.o packet.o radix.o readpass.o \ |
67 | hostfile.o log.o match.o moduli.o mpaux.o nchan.o packet.o \ | 66 | rsa.o tildexpand.o ttymodes.o xmalloc.o atomicio.o \ |
68 | readpass.o rsa.o tildexpand.o ttymodes.o xmalloc.o atomicio.o \ | ||
69 | key.o dispatch.o kex.o mac.o uuencode.o misc.o \ | 67 | key.o dispatch.o kex.o mac.o uuencode.o misc.o \ |
70 | rijndael.o ssh-dss.o ssh-rsa.o dh.o kexdh.o kexgex.o \ | 68 | rijndael.o ssh-dss.o ssh-rsa.o dh.o kexdh.o kexgex.o \ |
71 | kexdhc.o kexgexc.o scard.o msg.o progressmeter.o dns.o \ | 69 | kexdhc.o kexgexc.o scard.o msg.o progressmeter.o \ |
72 | entropy.o scard-opensc.o gss-genr.o | 70 | entropy.o |
73 | 71 | ||
74 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ | 72 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ |
75 | sshconnect.o sshconnect1.o sshconnect2.o | 73 | sshconnect.o sshconnect1.o sshconnect2.o |
@@ -82,9 +80,8 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ | |||
82 | auth2-none.o auth2-passwd.o auth2-pubkey.o \ | 80 | auth2-none.o auth2-passwd.o auth2-pubkey.o \ |
83 | monitor_mm.o monitor.o monitor_wrap.o monitor_fdpass.o \ | 81 | monitor_mm.o monitor.o monitor_wrap.o monitor_fdpass.o \ |
84 | kexdhs.o kexgexs.o \ | 82 | kexdhs.o kexgexs.o \ |
85 | auth-krb5.o \ | 83 | auth-krb5.o auth-krb4.o \ |
86 | auth2-gss.o gss-serv.o gss-serv-krb5.o \ | 84 | loginrec.o auth-pam.o auth2-pam.o auth-sia.o md5crypt.o |
87 | loginrec.o auth-pam.o auth-sia.o md5crypt.o | ||
88 | 85 | ||
89 | MANPAGES = 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 | 86 | MANPAGES = 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 |
90 | MANPAGES_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 | 87 | MANPAGES_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 |
@@ -112,11 +109,11 @@ PATHSUBS = \ | |||
112 | 109 | ||
113 | FIXPATHSCMD = $(SED) $(PATHSUBS) | 110 | FIXPATHSCMD = $(SED) $(PATHSUBS) |
114 | 111 | ||
115 | all: $(CONFIGFILES) ssh_prng_cmds.out $(MANPAGES) $(TARGETS) | 112 | all: $(CONFIGFILES) $(MANPAGES) $(TARGETS) |
116 | 113 | ||
117 | $(LIBSSH_OBJS): Makefile.in config.h | 114 | $(LIBSSH_OBJS): config.h |
118 | $(SSHOBJS): Makefile.in config.h | 115 | $(SSHOBJS): config.h |
119 | $(SSHDOBJS): Makefile.in config.h | 116 | $(SSHDOBJS): config.h |
120 | 117 | ||
121 | .c.o: | 118 | .c.o: |
122 | $(CC) $(CFLAGS) $(CPPFLAGS) -c $< | 119 | $(CC) $(CFLAGS) $(CPPFLAGS) -c $< |
@@ -174,7 +171,7 @@ $(MANPAGES): $(MANPAGES_IN) | |||
174 | manpage=$(srcdir)/`echo $@ | sed 's/\.out$$//'`; \ | 171 | manpage=$(srcdir)/`echo $@ | sed 's/\.out$$//'`; \ |
175 | fi; \ | 172 | fi; \ |
176 | if test "$(MANTYPE)" = "man"; then \ | 173 | if test "$(MANTYPE)" = "man"; then \ |
177 | $(FIXPATHSCMD) $${manpage} | $(AWK) -f $(srcdir)/mdoc2man.awk > $@; \ | 174 | $(FIXPATHSCMD) $${manpage} | $(PERL) $(srcdir)/mdoc2man.pl > $@; \ |
178 | else \ | 175 | else \ |
179 | $(FIXPATHSCMD) $${manpage} > $@; \ | 176 | $(FIXPATHSCMD) $${manpage} > $@; \ |
180 | fi | 177 | fi |
@@ -183,20 +180,10 @@ $(CONFIGFILES): $(CONFIGFILES_IN) | |||
183 | conffile=`echo $@ | sed 's/.out$$//'`; \ | 180 | conffile=`echo $@ | sed 's/.out$$//'`; \ |
184 | $(FIXPATHSCMD) $(srcdir)/$${conffile} > $@ | 181 | $(FIXPATHSCMD) $(srcdir)/$${conffile} > $@ |
185 | 182 | ||
186 | ssh_prng_cmds.out: ssh_prng_cmds | ||
187 | if test ! -z "$(INSTALL_SSH_PRNG_CMDS)"; then \ | ||
188 | $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \ | ||
189 | fi | ||
190 | |||
191 | # fake rule to stop make trying to compile moduli.o into a binary "modulo" | ||
192 | moduli: | ||
193 | echo | ||
194 | |||
195 | clean: | 183 | clean: |
196 | rm -f *.o *.a $(TARGETS) logintest config.cache config.log | 184 | rm -f *.o *.a $(TARGETS) logintest config.cache config.log |
197 | rm -f *.out core | 185 | rm -f *.out core |
198 | (cd openbsd-compat && $(MAKE) clean) | 186 | (cd openbsd-compat && $(MAKE) clean) |
199 | (cd regress && $(MAKE) clean) | ||
200 | 187 | ||
201 | distclean: | 188 | distclean: |
202 | rm -f *.o *.a $(TARGETS) logintest config.cache config.log | 189 | rm -f *.o *.a $(TARGETS) logintest config.cache config.log |
@@ -205,14 +192,16 @@ distclean: | |||
205 | rm -rf autom4te.cache | 192 | rm -rf autom4te.cache |
206 | (cd openbsd-compat && $(MAKE) distclean) | 193 | (cd openbsd-compat && $(MAKE) distclean) |
207 | (cd scard && $(MAKE) distclean) | 194 | (cd scard && $(MAKE) distclean) |
208 | (cd regress && $(MAKE) distclean) | ||
209 | 195 | ||
210 | veryclean: distclean | 196 | veryclean: |
211 | rm -f configure config.h.in *.0 | 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) | ||
212 | 203 | ||
213 | mrproper: veryclean | 204 | mrproper: distclean |
214 | |||
215 | realclean: veryclean | ||
216 | 205 | ||
217 | catman-do: | 206 | catman-do: |
218 | @for f in $(MANPAGES_IN) ; do \ | 207 | @for f in $(MANPAGES_IN) ; do \ |
@@ -226,8 +215,8 @@ distprep: catman-do | |||
226 | $(AUTORECONF) | 215 | $(AUTORECONF) |
227 | (cd scard && $(MAKE) -f Makefile.in distprep) | 216 | (cd scard && $(MAKE) -f Makefile.in distprep) |
228 | 217 | ||
229 | install: $(CONFIGFILES) ssh_prng_cmds.out $(MANPAGES) $(TARGETS) install-files host-key check-config | 218 | install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files host-key check-config |
230 | install-nokeys: $(CONFIGFILES) ssh_prng_cmds.out $(MANPAGES) $(TARGETS) install-files | 219 | install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files |
231 | 220 | ||
232 | check-config: | 221 | check-config: |
233 | -$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config | 222 | -$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config |
@@ -291,6 +280,7 @@ install-files: scard-install | |||
291 | echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite"; \ | 280 | echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite"; \ |
292 | fi | 281 | fi |
293 | @if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \ | 282 | @if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \ |
283 | $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \ | ||
294 | if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \ | 284 | if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \ |
295 | $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \ | 285 | $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \ |
296 | else \ | 286 | else \ |
@@ -369,32 +359,3 @@ uninstall: | |||
369 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 | 359 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 |
370 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 | 360 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 |
371 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 | 361 | -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1 |
372 | |||
373 | tests: $(TARGETS) | ||
374 | BUILDDIR=`pwd`; \ | ||
375 | [ -d `pwd`/regress ] || mkdir -p `pwd`/regress; \ | ||
376 | TEST_SSH_SSH="$${BUILDDIR}/ssh"; \ | ||
377 | TEST_SSH_SSHD="$${BUILDDIR}/sshd"; \ | ||
378 | TEST_SSH_SSHAGENT="$${BUILDDIR}/ssh-agent"; \ | ||
379 | TEST_SSH_SSHADD="$${BUILDDIR}/ssh-add"; \ | ||
380 | TEST_SSH_SSHKEYGEN="$${BUILDDIR}/ssh-keygen"; \ | ||
381 | TEST_SSH_SSHKEYSCAN="$${BUILDDIR}/ssh-keyscan"; \ | ||
382 | TEST_SSH_SFTP="$${BUILDDIR}/sftp"; \ | ||
383 | TEST_SSH_SFTPSERVER="$${BUILDDIR}/sftp-server"; \ | ||
384 | cd $(srcdir)/regress || exit $$?; \ | ||
385 | $(MAKE) \ | ||
386 | .OBJDIR="$${BUILDDIR}/regress" \ | ||
387 | .CURDIR="`pwd`" \ | ||
388 | BUILDDIR="$${BUILDDIR}" \ | ||
389 | OBJ="$${BUILDDIR}/regress/" \ | ||
390 | PATH="$${BUILDDIR}:$${PATH}" \ | ||
391 | TEST_SSH_SSH="$${TEST_SSH_SSH}" \ | ||
392 | TEST_SSH_SSHD="$${TEST_SSH_SSHD}" \ | ||
393 | TEST_SSH_SSHAGENT="$${TEST_SSH_SSHAGENT}" \ | ||
394 | TEST_SSH_SSHADD="$${TEST_SSH_SSHADD}" \ | ||
395 | TEST_SSH_SSHKEYGEN="$${TEST_SSH_SSHKEYGEN}" \ | ||
396 | TEST_SSH_SSHKEYSCAN="$${TEST_SSH_SSHKEYSCAN}" \ | ||
397 | TEST_SSH_SFTP="$${TEST_SSH_SFTP}" \ | ||
398 | TEST_SSH_SFTPSERVER="$${TEST_SSH_SFTPSERVER}" \ | ||
399 | EXEEXT="$(EXEEXT)" \ | ||
400 | $@ | ||