summaryrefslogtreecommitdiff
path: root/distrib/sparc/floppies
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-09 16:50:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-09 16:50:38 +0000
commitd3d1d4bfe4aa3d25c1a3dc614c976c38689384b0 (patch)
treecb33168dc48155a26358ca110cf35fc64fa82fb9 /distrib/sparc/floppies
parentd6858dd79094b3beb8d25a7e763f7e0d2a799f71 (diff)
kerberos differentiation
Diffstat (limited to 'distrib/sparc/floppies')
-rw-r--r--distrib/sparc/floppies/inst-common/Makefile.inc17
1 files changed, 13 insertions, 4 deletions
diff --git a/distrib/sparc/floppies/inst-common/Makefile.inc b/distrib/sparc/floppies/inst-common/Makefile.inc
index 0020d3f86d5..838660f79e4 100644
--- a/distrib/sparc/floppies/inst-common/Makefile.inc
+++ b/distrib/sparc/floppies/inst-common/Makefile.inc
@@ -1,4 +1,4 @@
-# $Id: Makefile.inc,v 1.3 1996/12/21 05:20:35 deraadt Exp $
+# $Id: Makefile.inc,v 1.4 1997/02/09 16:50:37 deraadt Exp $
# TOP is assumed to be defined by Makefile including this one.
@@ -15,14 +15,18 @@ IMAGE?= inst${REV}.fs
MDEC= ${DESTDIR}/usr/mdec
LISTS= ${COMMONDIR}/list ${.CURDIR}/list
+.if defined(KERBEROS)
+CRUNCHCONF= ${COMMONDIR}/${CBIN}-krb.conf
+.else
CRUNCHCONF= ${COMMONDIR}/${CBIN}.conf
+.endif
MTREE= ${COMMONDIR}/mtree.conf
all: ${CBIN}
dd if=/dev/zero of=${REALIMAGE} bs=120k count=12
vnconfig -v -c ${VND} ${REALIMAGE}
disklabel -w ${VND} floppy3
- newfs -O -m 0 -o space -i 5120 -c 80 ${VND_RDEV} floppy
+ newfs -O -m 0 -o space -i 20480 -c 80 ${VND_RDEV} floppy
mount ${VND_DEV} ${MOUNT_POINT}
mtree -def ${MTREE} -p ${MOUNT_POINT}/ -u
TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
@@ -40,13 +44,18 @@ unconfig:
-/bin/rm -f ${IMAGE}
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
- crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}
+ crunchgen -D ${TOP}/../../.. -m ${CBIN}.mk -L ${DESTDIR}/usr/lib \
+ ${CRUNCHCONF}
${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
make -f ${CBIN}.mk all
+.if defined(KERBEROS)
+ mv ${CBIN}-krb ${CBIN}
+.endif
clean cleandir:
- /bin/rm -f ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
+ /bin/rm -f ${IMAGE} ${CBIN} ${CBIN}-krb.mk ${CBIN}-krb.cache \
+ ${CBIN}.mk ${CBIN}.cache *.o *.lo *.c
.include <bsd.obj.mk>
.include <bsd.subdir.mk>