diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 105 |
1 files changed, 61 insertions, 44 deletions
diff --git a/Makefile.in b/Makefile.in index 89d02c959..b94eae158 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: Makefile.in,v 1.222 2002/07/14 17:02:21 tim Exp $ | 1 | # $Id: Makefile.in,v 1.227.2.1 2003/03/21 00:51:35 mouring 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@ |
@@ -27,6 +27,7 @@ SSH_KEYSIGN=$(libexecdir)/ssh-keysign | |||
27 | RAND_HELPER=$(libexecdir)/ssh-rand-helper | 27 | RAND_HELPER=$(libexecdir)/ssh-rand-helper |
28 | PRIVSEP_PATH=@PRIVSEP_PATH@ | 28 | PRIVSEP_PATH=@PRIVSEP_PATH@ |
29 | SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ | 29 | SSH_PRIVSEP_USER=@SSH_PRIVSEP_USER@ |
30 | STRIP_OPT=@STRIP_OPT@ | ||
30 | 31 | ||
31 | PATHS= -DSSHDIR=\"$(sysconfdir)\" \ | 32 | PATHS= -DSSHDIR=\"$(sysconfdir)\" \ |
32 | -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \ | 33 | -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \ |
@@ -48,6 +49,7 @@ AR=@AR@ | |||
48 | RANLIB=@RANLIB@ | 49 | RANLIB=@RANLIB@ |
49 | INSTALL=@INSTALL@ | 50 | INSTALL=@INSTALL@ |
50 | PERL=@PERL@ | 51 | PERL=@PERL@ |
52 | SED=@SED@ | ||
51 | ENT=@ENT@ | 53 | ENT=@ENT@ |
52 | XAUTH_PATH=@XAUTH_PATH@ | 54 | XAUTH_PATH=@XAUTH_PATH@ |
53 | LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@ | 55 | LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@ |
@@ -56,15 +58,30 @@ EXEEXT=@EXEEXT@ | |||
56 | INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@ | 58 | INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@ |
57 | INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@ | 59 | INSTALL_SSH_RAND_HELPER=@INSTALL_SSH_RAND_HELPER@ |
58 | 60 | ||
59 | @NO_SFTP@SFTP_PROGS=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) |
60 | 62 | ||
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_PROGS) | 63 | LIBSSH_OBJS=authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o \ |
62 | 64 | cipher.o compat.o compress.o crc32.o deattack.o fatal.o \ | |
63 | LIBSSH_OBJS=atomicio.o authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o cipher.o compat.o compress.o crc32.o deattack.o dh.o dispatch.o fatal.o mac.o msg.o hostfile.o key.o kex.o kexdh.o kexgex.o log.o match.o misc.o mpaux.o nchan.o packet.o radix.o rijndael.o entropy.o readpass.o rsa.o scard.o scard-opensc.o ssh-dss.o ssh-rsa.o tildexpand.o ttymodes.o uidswap.o uuencode.o xmalloc.o monitor_wrap.o monitor_fdpass.o | 65 | hostfile.o log.o match.o mpaux.o nchan.o packet.o readpass.o \ |
64 | 66 | rsa.o tildexpand.o ttymodes.o xmalloc.o atomicio.o \ | |
65 | SSHOBJS= ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o readconf.o clientloop.o | 67 | key.o dispatch.o kex.o mac.o uuencode.o misc.o \ |
66 | 68 | rijndael.o ssh-dss.o ssh-rsa.o dh.o kexdh.o kexgex.o \ | |
67 | SSHDOBJS= sshd.o auth.o auth1.o auth2.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o auth-chall.o auth2-chall.o auth-rhosts.o auth-options.o auth-krb4.o auth-krb5.o auth-pam.o auth2-pam.o auth-passwd.o auth-rsa.o auth-rh-rsa.o auth-sia.o sshpty.o sshlogin.o loginrec.o servconf.o serverloop.o md5crypt.o session.o groupaccess.o auth-skey.o auth-bsdauth.o monitor_mm.o monitor.o | 69 | kexdhc.o kexgexc.o scard.o msg.o progressmeter.o \ |
70 | entropy.o | ||
71 | |||
72 | SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ | ||
73 | sshconnect.o sshconnect1.o sshconnect2.o | ||
74 | |||
75 | SSHDOBJS=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 | ||
68 | 85 | ||
69 | 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 |
70 | 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 |
@@ -74,23 +91,23 @@ CONFIGFILES=sshd_config.out ssh_config.out moduli.out | |||
74 | CONFIGFILES_IN=sshd_config ssh_config moduli | 91 | CONFIGFILES_IN=sshd_config ssh_config moduli |
75 | 92 | ||
76 | PATHSUBS = \ | 93 | PATHSUBS = \ |
77 | -D/etc/ssh/ssh_prng_cmds=$(sysconfdir)/ssh_prng_cmds \ | 94 | -e 's|/etc/ssh/ssh_prng_cmds|$(sysconfdir)/ssh_prng_cmds|g' \ |
78 | -D/etc/ssh/ssh_config=$(sysconfdir)/ssh_config \ | 95 | -e 's|/etc/ssh/ssh_config|$(sysconfdir)/ssh_config|g' \ |
79 | -D/etc/ssh/ssh_known_hosts=$(sysconfdir)/ssh_known_hosts \ | 96 | -e 's|/etc/ssh/ssh_known_hosts|$(sysconfdir)/ssh_known_hosts|g' \ |
80 | -D/etc/ssh/sshd_config=$(sysconfdir)/sshd_config \ | 97 | -e 's|/etc/ssh/sshd_config|$(sysconfdir)/sshd_config|g' \ |
81 | -D/usr/libexec=$(libexecdir) \ | 98 | -e 's|/usr/libexec|$(libexecdir)|g' \ |
82 | -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv \ | 99 | -e 's|/etc/shosts.equiv|$(sysconfdir)/shosts.equiv|g' \ |
83 | -D/etc/ssh/ssh_host_key=$(sysconfdir)/ssh_host_key \ | 100 | -e 's|/etc/ssh/ssh_host_key|$(sysconfdir)/ssh_host_key|g' \ |
84 | -D/etc/ssh/ssh_host_dsa_key=$(sysconfdir)/ssh_host_dsa_key \ | 101 | -e 's|/etc/ssh/ssh_host_dsa_key|$(sysconfdir)/ssh_host_dsa_key|g' \ |
85 | -D/etc/ssh/ssh_host_rsa_key=$(sysconfdir)/ssh_host_rsa_key \ | 102 | -e 's|/etc/ssh/ssh_host_rsa_key|$(sysconfdir)/ssh_host_rsa_key|g' \ |
86 | -D/var/run/sshd.pid=$(piddir)/sshd.pid \ | 103 | -e 's|/var/run/sshd.pid|$(piddir)/sshd.pid|g' \ |
87 | -D/etc/ssh/moduli=$(sysconfdir)/moduli \ | 104 | -e 's|/etc/ssh/moduli|$(sysconfdir)/moduli|g' \ |
88 | -D/etc/ssh/sshrc=$(sysconfdir)/sshrc \ | 105 | -e 's|/etc/sshrc|$(sysconfdir)/sshrc|g' \ |
89 | -D/usr/X11R6/bin/xauth=$(XAUTH_PATH) \ | 106 | -e 's|/usr/X11R6/bin/xauth|$(XAUTH_PATH)|g' \ |
90 | -D/var/empty=$(PRIVSEP_PATH) \ | 107 | -e 's|/var/empty|$(PRIVSEP_PATH)|g' \ |
91 | -D/usr/bin:/bin:/usr/sbin:/sbin=@user_path@ | 108 | -e 's|/usr/bin:/bin:/usr/sbin:/sbin|@user_path@|g' |
92 | 109 | ||
93 | FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) | 110 | FIXPATHSCMD = $(SED) $(PATHSUBS) |
94 | 111 | ||
95 | all: $(CONFIGFILES) $(MANPAGES) $(TARGETS) | 112 | all: $(CONFIGFILES) $(MANPAGES) $(TARGETS) |
96 | 113 | ||
@@ -116,8 +133,8 @@ ssh$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS) | |||
116 | sshd$(EXEEXT): libssh.a $(LIBCOMPAT) $(SSHDOBJS) | 133 | sshd$(EXEEXT): libssh.a $(LIBCOMPAT) $(SSHDOBJS) |
117 | $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBWRAP) $(LIBPAM) $(LIBS) | 134 | $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBWRAP) $(LIBPAM) $(LIBS) |
118 | 135 | ||
119 | scp$(EXEEXT): $(LIBCOMPAT) libssh.a scp.o | 136 | scp$(EXEEXT): $(LIBCOMPAT) libssh.a scp.o progressmeter.o |
120 | $(LD) -o $@ scp.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 137 | $(LD) -o $@ scp.o progressmeter.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
121 | 138 | ||
122 | ssh-add$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-add.o | 139 | ssh-add$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-add.o |
123 | $(LD) -o $@ ssh-add.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 140 | $(LD) -o $@ ssh-add.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
@@ -137,8 +154,8 @@ ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o | |||
137 | sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o | 154 | sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o |
138 | $(LD) -o $@ sftp-server.o sftp-common.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 155 | $(LD) -o $@ sftp-server.o sftp-common.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
139 | 156 | ||
140 | sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-int.o sftp-common.o sftp-glob.o | 157 | sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-int.o sftp-common.o sftp-glob.o progressmeter.o |
141 | $(LD) -o $@ sftp.o sftp-client.o sftp-common.o sftp-int.o sftp-glob.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 158 | $(LD) -o $@ progressmeter.o sftp.o sftp-client.o sftp-common.o sftp-int.o sftp-glob.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
142 | 159 | ||
143 | ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o | 160 | ssh-rand-helper${EXEEXT}: $(LIBCOMPAT) libssh.a ssh-rand-helper.o |
144 | $(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) | 161 | $(LD) -o $@ ssh-rand-helper.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) |
@@ -217,19 +234,19 @@ install-files: scard-install | |||
217 | $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8 | 234 | $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8 |
218 | $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir) | 235 | $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir) |
219 | (umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH)) | 236 | (umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH)) |
220 | $(INSTALL) -m 0755 -s ssh $(DESTDIR)$(bindir)/ssh | 237 | $(INSTALL) -m 0755 $(STRIP_OPT) ssh $(DESTDIR)$(bindir)/ssh |
221 | $(INSTALL) -m 0755 -s scp $(DESTDIR)$(bindir)/scp | 238 | $(INSTALL) -m 0755 $(STRIP_OPT) scp $(DESTDIR)$(bindir)/scp |
222 | $(INSTALL) -m 0755 -s ssh-add $(DESTDIR)$(bindir)/ssh-add | 239 | $(INSTALL) -m 0755 $(STRIP_OPT) ssh-add $(DESTDIR)$(bindir)/ssh-add |
223 | $(INSTALL) -m 0755 -s ssh-agent $(DESTDIR)$(bindir)/ssh-agent | 240 | $(INSTALL) -m 0755 $(STRIP_OPT) ssh-agent $(DESTDIR)$(bindir)/ssh-agent |
224 | $(INSTALL) -m 0755 -s ssh-keygen $(DESTDIR)$(bindir)/ssh-keygen | 241 | $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keygen $(DESTDIR)$(bindir)/ssh-keygen |
225 | $(INSTALL) -m 0755 -s ssh-keyscan $(DESTDIR)$(bindir)/ssh-keyscan | 242 | $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keyscan $(DESTDIR)$(bindir)/ssh-keyscan |
226 | $(INSTALL) -m 0755 -s sshd $(DESTDIR)$(sbindir)/sshd | 243 | $(INSTALL) -m 0755 $(STRIP_OPT) sshd $(DESTDIR)$(sbindir)/sshd |
227 | if test ! -z "$(INSTALL_SSH_RAND_HELPER)" ; then \ | 244 | if test ! -z "$(INSTALL_SSH_RAND_HELPER)" ; then \ |
228 | $(INSTALL) -m 0755 -s ssh-rand-helper $(DESTDIR)$(libexecdir)/ssh-rand-helper ; \ | 245 | $(INSTALL) -m 0755 $(STRIP_OPT) ssh-rand-helper $(DESTDIR)$(libexecdir)/ssh-rand-helper ; \ |
229 | fi | 246 | fi |
230 | $(INSTALL) -m 4711 -s ssh-keysign $(DESTDIR)$(SSH_KEYSIGN) | 247 | $(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign $(DESTDIR)$(SSH_KEYSIGN) |
231 | @NO_SFTP@$(INSTALL) -m 0755 -s sftp $(DESTDIR)$(bindir)/sftp | 248 | $(INSTALL) -m 0755 $(STRIP_OPT) sftp $(DESTDIR)$(bindir)/sftp |
232 | @NO_SFTP@$(INSTALL) -m 0755 -s sftp-server $(DESTDIR)$(SFTP_SERVER) | 249 | $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server $(DESTDIR)$(SFTP_SERVER) |
233 | $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 | 250 | $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1 |
234 | $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 | 251 | $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1 |
235 | $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 | 252 | $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1 |
@@ -242,8 +259,8 @@ install-files: scard-install | |||
242 | if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \ | 259 | if [ ! -z "$(INSTALL_SSH_RAND_HELPER)" ]; then \ |
243 | $(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \ | 260 | $(INSTALL) -m 644 ssh-rand-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-rand-helper.8 ; \ |
244 | fi | 261 | fi |
245 | @NO_SFTP@$(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 | 262 | $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1 |
246 | @NO_SFTP@$(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 | 263 | $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8 |
247 | $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 | 264 | $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8 |
248 | -rm -f $(DESTDIR)$(bindir)/slogin | 265 | -rm -f $(DESTDIR)$(bindir)/slogin |
249 | ln -s ./ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin | 266 | ln -s ./ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin |