1997-02-27 00:44:35 +00:00
|
|
|
*** Makefile.in.orig Wed Oct 30 15:27:56 1996
|
|
|
|
--- Makefile.in Thu Jan 30 23:00:03 1997
|
1996-07-18 11:33:47 +00:00
|
|
|
***************
|
1997-02-27 00:44:35 +00:00
|
|
|
*** 188,199 ****
|
1996-10-24 23:46:15 +00:00
|
|
|
SHELL = /bin/sh
|
|
|
|
|
1996-11-20 12:45:59 +00:00
|
|
|
GMPDIR = gmp-2.0.2-ssh-2
|
1996-10-24 23:46:15 +00:00
|
|
|
! GMPLIBS = -L$(GMPDIR) -lgmp
|
|
|
|
! GMPDEP = $(GMPDIR)/gmp.h $(GMPDIR)/libgmp.a
|
|
|
|
|
|
|
|
ZLIBDIR = zlib-1.0.3
|
|
|
|
! ZLIBDEP = $(ZLIBDIR)/libz.a
|
|
|
|
! ZLIBLIBS = -L$(ZLIBDIR) -lz
|
|
|
|
|
|
|
|
RSAREFDIR = rsaref2
|
|
|
|
RSAREFSRCDIR = $(RSAREFDIR)/source
|
1997-02-27 00:44:35 +00:00
|
|
|
--- 188,205 ----
|
1996-10-24 23:46:15 +00:00
|
|
|
SHELL = /bin/sh
|
|
|
|
|
1996-11-20 12:45:59 +00:00
|
|
|
GMPDIR = gmp-2.0.2-ssh-2
|
1996-10-24 23:46:15 +00:00
|
|
|
! # We have the same libgmp in the system, so use it instead
|
|
|
|
! GMPINCDIR = /usr/include
|
|
|
|
! GMPLIBDIR = /usr/lib
|
|
|
|
! GMPDEP = $(GMPINCDIR)/gmp.h $(GMPLIBDIR)/libgmp.a
|
|
|
|
! GMPLIBS = -L$(GMPLIBDIR) -lgmp
|
|
|
|
|
|
|
|
ZLIBDIR = zlib-1.0.3
|
|
|
|
! # We have newer libz in the system, so use it instead
|
|
|
|
! ZLIBINCDIR = /usr/include
|
|
|
|
! ZLIBLIBDIR = /usr/lib
|
|
|
|
! ZLIBDEP = $(ZLIBINCDIR)/zlib.h $(ZLIBLIBDIR)/libz.a
|
|
|
|
! ZLIBLIBS = -L$(ZLIBLIBDIR) -lz
|
|
|
|
|
|
|
|
RSAREFDIR = rsaref2
|
|
|
|
RSAREFSRCDIR = $(RSAREFDIR)/source
|
|
|
|
***************
|
1997-02-27 00:44:35 +00:00
|
|
|
*** 275,281 ****
|
1996-10-24 23:46:15 +00:00
|
|
|
$(CC) -o rfc-pg rfc-pg.c
|
|
|
|
|
|
|
|
.c.o:
|
1996-11-20 12:45:59 +00:00
|
|
|
! $(CC) -c -I. -I$(srcdir)/$(GMPDIR) -I$(srcdir)/$(ZLIBDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DSSH_BINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $<
|
1996-10-24 23:46:15 +00:00
|
|
|
|
|
|
|
sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP)
|
|
|
|
-rm -f sshd
|
1997-02-27 00:44:35 +00:00
|
|
|
--- 281,287 ----
|
1996-10-24 23:46:15 +00:00
|
|
|
$(CC) -o rfc-pg rfc-pg.c
|
|
|
|
|
|
|
|
.c.o:
|
1996-11-20 12:45:59 +00:00
|
|
|
! $(CC) -c -I. -I$(GMPINCDIR) -I$(ZLIBINCDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DSSH_BINDIR=\"$(bindir)\" $(CFLAGS) $(X_CFLAGS) $<
|
1996-10-24 23:46:15 +00:00
|
|
|
|
|
|
|
sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP)
|
|
|
|
-rm -f sshd
|
|
|
|
***************
|
1997-02-27 00:44:35 +00:00
|
|
|
*** 310,328 ****
|
|
|
|
sed "s#&PERL&#$(PERL)#" <$(srcdir)/make-ssh-known-hosts.pl >make-ssh-known-hosts
|
|
|
|
chmod +x make-ssh-known-hosts
|
1996-10-24 23:46:15 +00:00
|
|
|
|
|
|
|
! GMP_COPY_SOURCES = mpz_gcd.c mpz_powm.c mpz_pow_ui.c mpz_add.c mpz_sub.c \
|
|
|
|
! mpz_mul.c mpz_cmp.c mpz_sqrtrem.c
|
|
|
|
! $(GMPDIR)/libgmp.a:
|
|
|
|
! cd $(GMPDIR); $(MAKE)
|
|
|
|
!
|
|
|
|
! $(ZLIBDEP):
|
|
|
|
! -if test '!' -d $(ZLIBDIR); then \
|
|
|
|
! mkdir $(ZLIBDIR); \
|
|
|
|
! cp $(srcdir)/$(ZLIBDIR)/Makefile $(ZLIBDIR); \
|
|
|
|
! fi
|
|
|
|
! cd $(ZLIBDIR); $(MAKE) VPATH=$(srcdir)/$(ZLIBDIR):../$(srcdir)/$(ZLIBDIR) \
|
|
|
|
! CC="$(CC)" CFLAGS="$(CFLAGS) -I. -I$(srcdir)/$(ZLIBDIR) \
|
|
|
|
! -I../$(srcdir)/$(GMPDIR)" RANLIB="$(RANLIB)" libz.a
|
|
|
|
|
|
|
|
$(RSAREFSRCDIR)/librsaref.a:
|
|
|
|
-if test '!' -d $(RSAREFDIR); then \
|
1997-02-27 00:44:35 +00:00
|
|
|
--- 316,334 ----
|
|
|
|
sed "s#&PERL&#$(PERL)#" <$(srcdir)/make-ssh-known-hosts.pl >make-ssh-known-hosts
|
|
|
|
chmod +x make-ssh-known-hosts
|
1996-10-24 23:46:15 +00:00
|
|
|
|
|
|
|
! #GMP_COPY_SOURCES = mpz_gcd.c mpz_powm.c mpz_pow_ui.c mpz_add.c mpz_sub.c \
|
|
|
|
! # mpz_mul.c mpz_cmp.c mpz_sqrtrem.c
|
|
|
|
! #$(GMPDIR)/libgmp.a:
|
|
|
|
! # cd $(GMPDIR); $(MAKE)
|
|
|
|
!
|
|
|
|
! #$(ZLIBDIR)/libz.a:
|
|
|
|
! # -if test '!' -d $(ZLIBDIR); then \
|
|
|
|
! # mkdir $(ZLIBDIR); \
|
|
|
|
! # cp $(srcdir)/$(ZLIBDIR)/Makefile $(ZLIBDIR); \
|
|
|
|
! # fi
|
|
|
|
! # cd $(ZLIBDIR); $(MAKE) VPATH=$(srcdir)/$(ZLIBDIR):../$(srcdir)/$(ZLIBDIR) \
|
|
|
|
! # CC="$(CC)" CFLAGS="$(CFLAGS) -I. -I$(srcdir)/$(ZLIBDIR) \
|
|
|
|
! # -I../$(srcdir)/$(GMPDIR)" RANLIB="$(RANLIB)" libz.a
|
|
|
|
|
|
|
|
$(RSAREFSRCDIR)/librsaref.a:
|
|
|
|
-if test '!' -d $(RSAREFDIR); then \
|
|
|
|
***************
|
1997-02-27 00:44:35 +00:00
|
|
|
*** 379,385 ****
|
1996-10-24 23:46:15 +00:00
|
|
|
# (otherwise it can only log in as the user it runs as, and must be
|
|
|
|
# bound to a non-privileged port). Also, password authentication may
|
|
|
|
# not be available if non-root and using shadow passwords.
|
|
|
|
! install: $(PROGRAMS) make-dirs generate-host-key install-configs
|
|
|
|
$(INSTALL_PROGRAM) -o root -m 04711 ssh $(install_prefix)$(bindir)/ssh
|
|
|
|
-if test "`echo ssh | sed '$(transform)'`" '!=' ssh; then \
|
|
|
|
rm -f $(install_prefix)$(bindir)/`echo ssh | sed '$(transform)'`; \
|
1997-02-27 00:44:35 +00:00
|
|
|
--- 385,391 ----
|
1996-10-24 23:46:15 +00:00
|
|
|
# (otherwise it can only log in as the user it runs as, and must be
|
|
|
|
# bound to a non-privileged port). Also, password authentication may
|
|
|
|
# not be available if non-root and using shadow passwords.
|
|
|
|
! install: $(PROGRAMS) make-dirs install-configs
|
|
|
|
$(INSTALL_PROGRAM) -o root -m 04711 ssh $(install_prefix)$(bindir)/ssh
|
|
|
|
-if test "`echo ssh | sed '$(transform)'`" '!=' ssh; then \
|
|
|
|
rm -f $(install_prefix)$(bindir)/`echo ssh | sed '$(transform)'`; \
|
|
|
|
***************
|
1997-02-27 00:44:35 +00:00
|
|
|
*** 480,506 ****
|
1996-10-24 23:46:15 +00:00
|
|
|
|
|
|
|
clean:
|
1996-11-20 12:45:59 +00:00
|
|
|
-rm -f *.o gmon.out *core $(PROGRAMS) rfc-pg
|
1996-10-24 23:46:15 +00:00
|
|
|
! cd $(GMPDIR); $(MAKE) clean
|
|
|
|
# cd $(RSAREFSRCDIR); rm -f *.o *.a
|
|
|
|
! cd $(ZLIBDIR); $(MAKE) clean
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
-rm -f Makefile config.status config.cache config.log config.h
|
|
|
|
-rm -f ssh.1 sshd.8 make-ssh-known-hosts.1
|
|
|
|
! cd $(GMPDIR); $(MAKE) distclean
|
|
|
|
! cd $(ZLIBDIR); $(MAKE) distclean
|
|
|
|
|
|
|
|
dist:
|
|
|
|
-rm -rf $(DISTNAME)
|
|
|
|
-mkdir $(DISTNAME)
|
|
|
|
cp $(DISTFILES) $(DISTNAME)
|
|
|
|
-rm $(DISTNAME)/config.h
|
1996-11-20 12:45:59 +00:00
|
|
|
! tar pcf - $(GMPDIR) | (cd $(DISTNAME); tar pxf -)
|
|
|
|
! cd $(DISTNAME)/$(GMPDIR); $(MAKE) distclean
|
1996-10-24 23:46:15 +00:00
|
|
|
# tar cf - $(RSAREFDIR) | (cd $(DISTNAME); tar xf -)
|
|
|
|
# cd $(DISTNAME)/$(RSAREFSRCDIR); rm -f *.o *.a
|
1996-11-20 12:45:59 +00:00
|
|
|
! tar pcf - $(ZLIBDIR) | (cd $(DISTNAME); tar pxf -)
|
1996-10-24 23:46:15 +00:00
|
|
|
! cd $(DISTNAME)/$(ZLIBDIR); rm -f *.o *.a
|
1996-11-20 12:45:59 +00:00
|
|
|
tar pcf $(DISTNAME).tar $(DISTNAME)
|
1996-10-24 23:46:15 +00:00
|
|
|
-rm -f $(DISTNAME).tar.gz
|
|
|
|
gzip $(DISTNAME).tar
|
1997-02-27 00:44:35 +00:00
|
|
|
--- 486,512 ----
|
1996-10-24 23:46:15 +00:00
|
|
|
|
|
|
|
clean:
|
1996-11-20 12:45:59 +00:00
|
|
|
-rm -f *.o gmon.out *core $(PROGRAMS) rfc-pg
|
1996-10-24 23:46:15 +00:00
|
|
|
! # cd $(GMPDIR); $(MAKE) clean
|
|
|
|
# cd $(RSAREFSRCDIR); rm -f *.o *.a
|
|
|
|
! # cd $(ZLIBDIR); $(MAKE) clean
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
-rm -f Makefile config.status config.cache config.log config.h
|
|
|
|
-rm -f ssh.1 sshd.8 make-ssh-known-hosts.1
|
|
|
|
! # cd $(GMPDIR); $(MAKE) distclean
|
|
|
|
! # cd $(ZLIBDIR); $(MAKE) distclean
|
|
|
|
|
|
|
|
dist:
|
|
|
|
-rm -rf $(DISTNAME)
|
|
|
|
-mkdir $(DISTNAME)
|
|
|
|
cp $(DISTFILES) $(DISTNAME)
|
|
|
|
-rm $(DISTNAME)/config.h
|
1996-11-20 12:45:59 +00:00
|
|
|
! # tar pcf - $(GMPDIR) | (cd $(DISTNAME); tar pxf -)
|
|
|
|
! # cd $(DISTNAME)/$(GMPDIR); $(MAKE) distclean
|
1996-10-24 23:46:15 +00:00
|
|
|
# tar cf - $(RSAREFDIR) | (cd $(DISTNAME); tar xf -)
|
|
|
|
# cd $(DISTNAME)/$(RSAREFSRCDIR); rm -f *.o *.a
|
1996-11-20 12:45:59 +00:00
|
|
|
! # tar pcf - $(ZLIBDIR) | (cd $(DISTNAME); tar pxf -)
|
1996-10-24 23:46:15 +00:00
|
|
|
! # cd $(DISTNAME)/$(ZLIBDIR); rm -f *.o *.a
|
1997-02-27 00:44:35 +00:00
|
|
|
tar pcf $(DISTNAME).tar $(DISTNAME)
|
1996-10-24 23:46:15 +00:00
|
|
|
-rm -f $(DISTNAME).tar.gz
|
|
|
|
gzip $(DISTNAME).tar
|
|
|
|
***************
|
1997-02-27 00:44:35 +00:00
|
|
|
*** 512,518 ****
|
1996-10-24 23:46:15 +00:00
|
|
|
(echo "s/\.$$old_version\"/.$$new_version\"/g"; echo w; echo q) | ed version.h >/dev/null
|
|
|
|
|
|
|
|
depend:
|
|
|
|
! $(MAKEDEP) -I$(srcdir) -I. -I$(GMPDIR) -I$(ZLIBDIR) $(DEFS) $(SRCS)
|
|
|
|
|
|
|
|
tags:
|
|
|
|
find config.h $(srcdir) -name '*.[chly]' -print | xargs etags -a
|
1997-02-27 00:44:35 +00:00
|
|
|
--- 518,524 ----
|
1996-10-24 23:46:15 +00:00
|
|
|
(echo "s/\.$$old_version\"/.$$new_version\"/g"; echo w; echo q) | ed version.h >/dev/null
|
|
|
|
|
|
|
|
depend:
|
|
|
|
! $(MAKEDEP) -I$(srcdir) -I. $(DEFS) $(SRCS)
|
|
|
|
|
|
|
|
tags:
|
|
|
|
find config.h $(srcdir) -name '*.[chly]' -print | xargs etags -a
|