A few fixes:

- register, registerd, and make_keypair don't compile (and are bogus anyway)
- don't forget to put back the obj directory when doing `kprog'
- while we're at it make the `kprog' commands overrideable from the command
  line
- add a bootstrap target which does the following:
	install includes
	cleandir and obj
	zap old version 4.0 shared libraries (these will screw the build)
	depend all install
	rebuild stuff in the main source tree which depends on kerberos
This commit is contained in:
Garrett Wollman 1994-10-06 00:32:42 +00:00
parent 363abea01c
commit 04467f3807

View File

@ -1,25 +1,40 @@
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
# $Id: Makefile,v 1.12 1994/09/30 13:34:39 g89r4222 Exp $
# $Id: Makefile,v 1.1.1.1 1994/09/30 14:49:48 csgr Exp $
SUBDIR= include
SUBDIR+= des compile_et acl ext_srvtab include kdb kdb_destroy kdb_edit \
kdb_init kdb_util kdestroy kerberos kinit klist krb ksrvtgt \
kstash man register registerd make_keypair
kstash man
#
# MISSING AND PROBABLY BOGUS: register registerd make_keypair
#
SDIR= ${.CURDIR}/..
CODAI?= ${MAKE} ${MFLAGS} cleandir; \
${MAKE} ${MFLAGS} obj; ${MAKE} ${MFLAGS} depend all install
# These are the programs which depend on kerberos
# It's nice to know who they are
kprog:
cd ${SDIR}/bin/rcp; make cleandir obj ; make -DNOMAN depend all install
cd ${SDIR}/libexec/rlogind;make cleandir;make -DNOMAN depend all install
cd ${SDIR}/libexec/rshd; make cleandir; make -DNOMAN depend all install
cd ${SDIR}/usr.bin/login; make cleandir; make -DNOMAN depend all install
cd ${SDIR}/usr.bin/passwd;make cleandir; make -DNOMAN depend all install
cd ${SDIR}/usr.bin/rlogin;make cleandir; make -DNOMAN depend all install
cd ${SDIR}/usr.bin/rsh; make cleandir; make -DNOMAN depend all install
cd ${SDIR}/usr.bin/su; make cleandir; make -DNOMAN depend all install
cd ${SDIR}/libexec/kpasswdd; make cleandir; make depend all install
cd ${SDIR}/bin/rcp; ${CODAI}
cd ${SDIR}/libexec/rlogind; ${CODAI}
cd ${SDIR}/libexec/rshd; ${CODAI}
cd ${SDIR}/usr.bin/login; ${CODAI}
cd ${SDIR}/usr.bin/passwd; ${CODAI}
cd ${SDIR}/usr.bin/rlogin; ${CODAI}
cd ${SDIR}/usr.bin/rsh; ${CODAI}
cd ${SDIR}/usr.bin/su; ${CODAI}
cd ${SDIR}/libexec/kpasswdd; ${CODAI}
bootstrap:
cd include; ${MAKE} ${MFLAGS} install
${MAKE} ${MFLAGS} cleandir
${MAKE} ${MFLAGS} obj
@echo removing old 1.1.5 Kerberos libraries
rm -f /usr/lib/libkrb.so.4.0
rm -f /usr/lib/libdes.so.4.0
${MAKE} ${MFLAGS} depend all install kprog
.include <bsd.subdir.mk>