summaryrefslogtreecommitdiffstats
path: root/sys/i386/boot/biosboot/Makefile
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-03-07 10:48:15 +0000
committereivind <eivind@FreeBSD.org>1998-03-07 10:48:15 +0000
commit0938d522924733da29ce0529b263b78422b8ccc7 (patch)
tree31831ceea4f6f699ed70f4413b1fec0347829d60 /sys/i386/boot/biosboot/Makefile
parentd3607b7ed922720a17174f18b989376a78a77a91 (diff)
downloadFreeBSD-src-0938d522924733da29ce0529b263b78422b8ccc7.zip
FreeBSD-src-0938d522924733da29ce0529b263b78422b8ccc7.tar.gz
Make this handle -j<large>, and avoid .depend pointing at /usr/include.
Diffstat (limited to 'sys/i386/boot/biosboot/Makefile')
-rw-r--r--sys/i386/boot/biosboot/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/sys/i386/boot/biosboot/Makefile b/sys/i386/boot/biosboot/Makefile
index 4bd7705..c0e291b 100644
--- a/sys/i386/boot/biosboot/Makefile
+++ b/sys/i386/boot/biosboot/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.61 1998/01/27 16:56:43 msmith Exp $
+# $Id: Makefile,v 1.62 1998/02/15 21:38:17 eivind Exp $
#
PROG= boot
@@ -14,10 +14,6 @@ CFLAGS= -O2 -malign-functions=0 -malign-jumps=0 -malign-loops=0 \
CFLAGS+= -DBOOTSEG=${BOOTSEG} -DBOOTSTACK=${BOOTSTACK}
CFLAGS+= -DDO_BAD144
CFLAGS+= -DVESA_SUPPORT
-.if exists(${.CURDIR}/../../../../include)
-CFLAGS+= -nostdinc -I${.CURDIR}/../../../../include
-.endif
-CFLAGS+= -I${.CURDIR}/../../.. -I${.OBJDIR}
CFLAGS+= ${CWARNFLAGS}
# By default, if a serial port is going to be used as console, use COM1
@@ -46,7 +42,7 @@ CFLAGS+= -DCONSPEED=${BOOT_COMCONSOLE_SPEED}
# SCSI and have BIOS drive number (sd_unit_number + BOOT_HD_BIAS). E.g.,
# BOOT_HD_BIAS=1 makes sd(0,a) correspond to 1:sd(0,a) instead of 0:sd(0,a).
-CLEANFILES+= boot.nohdr boot.strip boot1 boot2 machine sizetest
+CLEANFILES+= boot.nohdr boot.strip boot1 boot2 sizetest
LDFLAGS+= -N -T 0 -nostdlib
#LINKS= ${BINDIR}/sdboot ${BINDIR}/wdboot\
# ${BINDIR}/sdboot ${BINDIR}/fdboot\
@@ -88,12 +84,7 @@ boot2: boot.nohdr
exit 2 ; \
fi
-pre-compile:
-.if !exists(${.OBJDIR}/machine)
- ln -s ${.CURDIR}/../../include ${.OBJDIR}/machine
-.endif
-
-all: pre-compile boot1 boot2
+all: boot1 boot2
install:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}\
OpenPOWER on IntegriCloud