summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i386/boot/Makefile4
-rw-r--r--sys/i386/boot/biosboot/Makefile22
-rw-r--r--sys/i386/boot/dosboot/Makefile21
3 files changed, 37 insertions, 10 deletions
diff --git a/sys/i386/boot/Makefile b/sys/i386/boot/Makefile
index b5d0d46..99ab17f 100644
--- a/sys/i386/boot/Makefile
+++ b/sys/i386/boot/Makefile
@@ -1,5 +1,5 @@
-# $Id: Makefile,v 1.22 1994/10/28 04:56:51 phk Exp $
+# $Id: Makefile,v 1.23 1994/10/28 22:11:50 phk Exp $
-SUBDIR= biosboot netboot
+SUBDIR= biosboot netboot dosboot
.include <bsd.subdir.mk>
diff --git a/sys/i386/boot/biosboot/Makefile b/sys/i386/boot/biosboot/Makefile
index df9f049..d46d36a 100644
--- a/sys/i386/boot/biosboot/Makefile
+++ b/sys/i386/boot/biosboot/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.25 1995/01/20 07:52:42 wpaul Exp $
+# $Id: Makefile,v 1.26 1995/01/24 00:41:50 jkh Exp $
#
PROG= boot
@@ -15,10 +15,10 @@ CLEANFILES+= boot.nohdr boot.strip boot1 boot2
DPADD= ${LIBC}
LDFLAGS+= -N -T 0 -nostdlib
LDADD= -lc
-LINKS= ${BINDIR}/sdboot ${BINDIR}/wdboot\
- ${BINDIR}/sdboot ${BINDIR}/fdboot\
- ${BINDIR}/bootsd ${BINDIR}/bootwd\
- ${BINDIR}/bootsd ${BINDIR}/bootfd
+#LINKS= ${BINDIR}/sdboot ${BINDIR}/wdboot\
+# ${BINDIR}/sdboot ${BINDIR}/fdboot\
+# ${BINDIR}/bootsd ${BINDIR}/bootwd\
+# ${BINDIR}/bootsd ${BINDIR}/bootfd
NOSHARED= YES
NOMAN=
STRIP=
@@ -49,10 +49,16 @@ boot2: boot.nohdr
all: boot1 boot2
-beforeinstall:
+install:
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}\
- boot1 ${DESTDIR}${BINDIR}/sdboot
+ boot1 ${DESTDIR}${BINDIR}/boot1
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}\
- boot2 ${DESTDIR}${BINDIR}/bootsd
+ boot2 ${DESTDIR}${BINDIR}/boot2
+ for i in sd fd wd ; do \
+ ( cd ${DESTDIR}${BINDIR} ; \
+ rm -f boot$${i} $${i}boot ; \
+ ln -s boot1 $${i}boot ; \
+ ln -s boot2 boot$${i} ; ) \
+ done
.include <bsd.prog.mk>
diff --git a/sys/i386/boot/dosboot/Makefile b/sys/i386/boot/dosboot/Makefile
new file mode 100644
index 0000000..e97d034
--- /dev/null
+++ b/sys/i386/boot/dosboot/Makefile
@@ -0,0 +1,21 @@
+# $Id$
+#
+
+MPROG= fbsdboot.exe
+CLEANFILES+= ${MPROG}
+BINDIR= /usr/mdec
+BINMODE= 444
+NOMAN=
+STRIP=
+
+all: ${MPROG}
+
+install: ${MPROG}
+ ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${INSTALLFLAGS} ${MPROG} ${DESTDIR}${BINDIR}
+
+
+${MPROG}: ${MPROG}.uu
+ uudecode < ${.CURDIR}/${MPROG}.uu
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud