mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
649ff492d7
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.
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# $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
|
|
|
|
CFLAGS+= -Wall
|
|
CLEANFILES+= tmp.c tst01 tst01.o
|
|
VPATH= ${.CURDIR}/../../sbin/disklabel
|
|
NOPROFILE= yes
|
|
NOSHARED= yes
|
|
NOPIC= yes
|
|
|
|
MAN3= libdisk.3
|
|
MLINKS+= libdisk.3 Open_Disk.3 \
|
|
libdisk.3 Clone_Disk.3 \
|
|
libdisk.3 Free_Disk.3 \
|
|
libdisk.3 Debug_Disk.3 \
|
|
libdisk.3 Set_Bios_Geom.3 \
|
|
libdisk.3 Delete_Chunk.3 \
|
|
libdisk.3 Collapse_Disk.3 \
|
|
libdisk.3 Collapse_Chunk.3 \
|
|
libdisk.3 Create_Chunk.3 \
|
|
libdisk.3 All_FreeBSD.3 \
|
|
libdisk.3 CheckRules.3 \
|
|
libdisk.3 Disk_Names.3 \
|
|
libdisk.3 Set_Boot_Mgr.3 \
|
|
libdisk.3 Set_Boot_Blocks.3 \
|
|
libdisk.3 Write_Disk.3 \
|
|
libdisk.3 Cyl_Aligned.3 \
|
|
libdisk.3 Next_Cyl_Aligned.3 \
|
|
libdisk.3 Prev_Cyl_Aligned.3 \
|
|
libdisk.3 Track_Aligned.3 \
|
|
libdisk.3 Next_Track_Aligned.3 \
|
|
libdisk.3 Prev_Track_Aligned.3 \
|
|
libdisk.3 Create_Chunk_DWIM.3 \
|
|
libdisk.3 MakeDev.3 \
|
|
libdisk.3 MakeDevDisk.3 \
|
|
libdisk.3 ShowChunkFlags.3 \
|
|
libdisk.3 ChunkCanBeRoot.3 \
|
|
libdisk.3 slice_type_name.3
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
beforeinstall:
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/libdisk.h \
|
|
${DESTDIR}/usr/include/libdisk.h
|
|
|
|
|
|
tst01: tst01.o libdisk.a
|
|
cc ${CFLAGS} -static tst01.o -o tst01 libdisk.a
|