aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGeoff Rehmet <csgr@FreeBSD.org>1994-09-29 13:06:54 +0000
committerGeoff Rehmet <csgr@FreeBSD.org>1994-09-29 13:06:54 +0000
commitc368d11dd254623bef4a57867d286025fc877b7c (patch)
treed7768b90fa6e2ae30b1a6c769ed4e2de71513bb8 /Makefile
parentcf843099195b87fb3ef096f059cd9f72bf871bfd (diff)
downloadsrc-c368d11dd254623bef4a57867d286025fc877b7c.tar.gz
src-c368d11dd254623bef4a57867d286025fc877b7c.zip
First level of changes for bringing in eBones (kerberos).
- Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile, and replace with MAKE_KERBEROS and MAKE_EBONES. (Far fewer contortions, and both default to off.) IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY DEFINE ONE OF THESE. - Make Makefiles kerberos-aware.
Notes
Notes: svn path=/head/; revision=3197
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 16 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index f50bebac1458..28f1259764e1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,26 @@
#
-# $Id: Makefile,v 1.20 1994/09/23 08:36:37 rgrimes Exp $
+# $Id: Makefile,v 1.21 1994/09/23 09:00:35 rgrimes Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
# -DMAKE_LOCAL to add ./local to the SUBDIR list
# -DMAKE_PORTS to add ./ports to the SUBDIR list
+# XXX1 -DMAKE_KERBEROS to build KerberosIV
+# -DMAKE_EBONES to build eBones (KerberosIV)
+#
# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
# -DNOCRYPT will prevent building of crypt versions
-# XXX2 -DNOKERBEROS do not build Kerberos
# -DNOLKM do not build loadable kernel modules
# -DNOOBJDIR do not run ``${MAKE} obj''
# -DNOPROFILE do not build profiled libraries
# -DNOSECURE do not go into secure subdir
-# -DNOEBONES do not make eBones (kerberosIV)
#
-# XXX2 Mandatory, and Kerberos will not build sucessfully yet
+#
+# XXX1 The kerberos IV off the 4.4-Lite tape (src/kerberosIV)
+# will not build successfully yet. MAKE_KERBEROS should not be
+# defined.
# Put initial settings here.
-NOKERBEROS= yes
SUBDIR=
.if exists(bin)
@@ -42,11 +45,10 @@ SUBDIR+= include
.if exists(lib)
SUBDIR+= lib
.endif
-.if exists(kerberosIV) && !defined(NOCRYPT) && !defined(NOKERBEROS)
+.if exists(kerberosIV) && !defined(NOCRYPT) && defined(MAKE_KERBEROS)
SUBDIR+= kerberosIV
.endif
-.if exists(eBones) && !defined(NOCRYPT) && defined(NOKERBEROS) \
- && !defined(NOEBONES)
+.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
SUBDIR+= eBones
.endif
.if exists(libexec)
@@ -170,18 +172,17 @@ includes:
cd ${.CURDIR}/include && ${MAKE} install
cd ${.CURDIR}/gnu/lib/libreadline && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall
-.if exists(kerberosIV) && !defined(NOCRYPT) && !defined(NOKERBEROS)
+.if exists(kerberosIV) && !defined(NOCRYPT) && defined(MAKE_KERBEROS)
cd ${.CURDIR}/kerberosIV/include && ${MAKE} install
.endif
+.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
+ cd ${.CURDIR}/eBones/include && ${MAKE} beforeinstall
+.endif
cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libcurses && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libedit && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libmd && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/librpcsvc && ${MAKE} beforeinstall
-.if exists(eBones) && !defined(NOCRYPT) && defined(NOKERBEROS) && \
- !defined(NOEBONES)
- cd ${.CURDIR}/eBones/include && ${MAKE} beforeinstall
-.endif
libraries:
@echo "--------------------------------------------------------------"
@@ -206,7 +207,7 @@ libraries:
.endif
cd ${.CURDIR}/usr.bin/lex/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
-.if exists(kerberosIV) && !defined(NOCRYPT) && !defined(NOKERBEROS)
+.if exists(kerberosIV) && !defined(NOCRYPT) && defined(MAKE_KERBEROS)
cd ${.CURDIR}/kerberosIV/acl && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/kerberosIV/des && \
@@ -216,8 +217,7 @@ libraries:
cd ${.CURDIR}/kerberosIV/krb && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.endif
-.if exists(eBones) && !defined(NOCRYPT) && defined(NOKERBEROS) && \
- !defined(NOEBONES)
+.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
cd ${.CURDIR}/eBones/des && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/eBones/acl && \