- turn NOCRYPT off

- add NOSECURE and NOKERBEROS
- turn NOKERBEROS on
- add secure directory

(NOCRYPT now has a blanket effect over src/secure and src/kerberosIV,
while NOSECURE and NOKERBEROS control these indiviually.)
Submitted by:	Geoff
This commit is contained in:
Geoff Rehmet 1994-08-20 21:34:59 +00:00
parent fa1313397e
commit 2a407ae57c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2160

View File

@ -1,21 +1,21 @@
# #
# $Id: Makefile,v 1.8 1994/08/14 16:53:33 jkh Exp $ # $Id: Makefile,v 1.9 1994/08/16 02:55:14 jkh Exp $
# #
# Make command line options: # Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib # -DCLOBBER will remove /usr/include and MOST of /usr/lib
# -DMAKE_LOCAL to add ./local to the SUBDIR list # -DMAKE_LOCAL to add ./local to the SUBDIR list
# -DMAKE_PORTS to add ./ports to the SUBDIR list # -DMAKE_PORTS to add ./ports to the SUBDIR list
# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir # -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
# XXX1 -DNOCRYPT will prevent building of crypt versions (BROKEN RIGHT NOW) # -DNOCRYPT will prevent building of crypt versions
# XXX2 -DNOKERBEROS do not build Kerberos
# -DNOOBJDIR do not run ``${MAKE} obj'' # -DNOOBJDIR do not run ``${MAKE} obj''
# -DNOPROFILE do not build profiled libraries # -DNOPROFILE do not build profiled libraries
# -DNOSECURE do not go into secure subdir
# #
# XXX1 This has not yet been implemented in FreeBSD 2.0.0, the only way # XXX2 Mandatory, and Kerberos will not build sucessfully yet
# to build the system is with full crypt and KerberosIV
#
# Put initial settings here. # Put initial settings here.
NOCRYPT= yes NOKERBEROS= yes
SUBDIR= SUBDIR=
.if exists(bin) .if exists(bin)
@ -39,7 +39,7 @@ SUBDIR+= include
.if exists(lib) .if exists(lib)
SUBDIR+= lib SUBDIR+= lib
.endif .endif
.if exists(kerberosIV) && !defined(NOCRYPT) .if exists(kerberosIV) && !defined(NOCRYPT) && !defined(NOKERBEROS)
SUBDIR+= kerberosIV SUBDIR+= kerberosIV
.endif .endif
.if exists(libexec) .if exists(libexec)
@ -48,6 +48,9 @@ SUBDIR+= libexec
.if exists(sbin) .if exists(sbin)
SUBDIR+= sbin SUBDIR+= sbin
.endif .endif
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
SUBDIR+= secure
.endif
.if exists(share) .if exists(share)
SUBDIR+= share SUBDIR+= share
.endif .endif
@ -143,7 +146,7 @@ includes:
cd ${.CURDIR}/include && ${MAKE} install cd ${.CURDIR}/include && ${MAKE} install
#XXX cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall #XXX cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall
#XXX cd ${.CURDIR}/gnu/usr.bin/cc26/libobjc && ${MAKE} beforeinstall #XXX cd ${.CURDIR}/gnu/usr.bin/cc26/libobjc && ${MAKE} beforeinstall
.if !defined(NOCRYPT) .if !defined(NOCRYPT) && !defined(NOKERBEROS)
cd ${.CURDIR}/kerberosIV/include && ${MAKE} install cd ${.CURDIR}/kerberosIV/include && ${MAKE} install
.endif .endif
cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall
@ -171,13 +174,17 @@ libraries:
${MAKE} depend all install ${CLEANDIR} ${OBJDIR} ${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/cc26/libgcc && \ cd ${.CURDIR}/gnu/usr.bin/cc26/libgcc && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR} ${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
cd ${.CURDIR}/secure/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.endif
cd ${.CURDIR}/lib && \ cd ${.CURDIR}/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR} ${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
# You need the lex lib before you can build kerberosIV # You need the lex lib before you can build kerberosIV
#XXX # We don't have lex in the 2.0 tree yet! #XXX # We don't have lex in the 2.0 tree yet!
#XXX cd ${.CURDIR}/usr.bin/lex/lib && \ #XXX cd ${.CURDIR}/usr.bin/lex/lib && \
#XXX ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} #XXX ${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.if !defined(NOCRYPT) .if !defined(NOCRYPT) && !defined(NOKERBEROS)
cd ${.CURDIR}/kerberosIV/acl && \ cd ${.CURDIR}/kerberosIV/acl && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR} ${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/kerberosIV/des && \ cd ${.CURDIR}/kerberosIV/des && \