diff options
author | jkh <jkh@FreeBSD.org> | 1998-12-31 02:35:43 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-12-31 02:35:43 +0000 |
commit | 4fc63e8029f0a7289f2e2aa6754a3ff1a4f7afdc (patch) | |
tree | 4e5ff74bab577c51faf2013e26cef55e636e0ce0 /lib/libdisk/Makefile | |
parent | 241d58f7a246527ab2b3d4696a446eac3c99ff58 (diff) | |
download | FreeBSD-src-4fc63e8029f0a7289f2e2aa6754a3ff1a4f7afdc.zip FreeBSD-src-4fc63e8029f0a7289f2e2aa6754a3ff1a4f7afdc.tar.gz |
Eliminate all dependence on boot1 and boot2. This is passed in by
Set_Boot_Blocks() anyway and should thus have never been a part of
libdisk, it should have been provided by the client of libdisk since
passing the information in is already part of the API.
Diffstat (limited to 'lib/libdisk/Makefile')
-rw-r--r-- | lib/libdisk/Makefile | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/lib/libdisk/Makefile b/lib/libdisk/Makefile index c47d303..1a38099 100644 --- a/lib/libdisk/Makefile +++ b/lib/libdisk/Makefile @@ -1,11 +1,11 @@ -# $Id: Makefile,v 1.23 1998/12/30 12:06:07 bde Exp $ +# $Id: Makefile,v 1.24 1998/12/30 13:29:11 jkh Exp $ LIB= disk SRCS= blocks.c disklabel.c dkcksum.c chunk.c disk.c change.c \ - create_chunk.c rules.c write_disk.c data.c + create_chunk.c rules.c write_disk.c CFLAGS+= -Wall -CLEANFILES+= tmp.c tst01 tst01.o data.c +CLEANFILES+= tmp.c tst01 tst01.o VPATH= ${.CURDIR}/../../sbin/disklabel NOPROFILE= yes NOSHARED= yes @@ -42,22 +42,6 @@ MLINKS+= libdisk.3 Open_Disk.3 \ .include <bsd.lib.mk> -BOOTS=/boot - -.if ${MACHINE_ARCH} == "i386" -data.c: ${.CURDIR}/libdisk.h ${BOOTS}/boot1 ${BOOTS}/boot2 - file2c 'const unsigned char boot1[] = {' '};' \ - < ${BOOTS}/boot1 > tmp.c - file2c 'const unsigned char boot2[] = {' '};' \ - < ${BOOTS}/boot2 >> tmp.c - mv -f tmp.c data.c -.elif ${MACHINE_ARCH} == "alpha" -data.c: ${.CURDIR}/libdisk.h ${BOOTS}/boot1 - file2c 'const unsigned char boot1[] = {' '};' \ - < ${BOOTS}/boot1 > tmp.c - mv -f tmp.c data.c -.endif - beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/libdisk.h \ ${DESTDIR}/usr/include/libdisk.h |