1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1996-05-07 23:19:49 +00:00
|
|
|
|
1995-05-01 08:08:02 +00:00
|
|
|
LIB= disk
|
|
|
|
SRCS= blocks.c disklabel.c dkcksum.c chunk.c disk.c change.c \
|
1998-12-31 02:35:43 +00:00
|
|
|
create_chunk.c rules.c write_disk.c
|
2000-01-14 07:57:47 +00:00
|
|
|
INCS= libdisk.h
|
1995-04-28 23:57:04 +00:00
|
|
|
|
1996-06-23 13:11:59 +00:00
|
|
|
CFLAGS+= -Wall
|
2000-03-29 15:10:28 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
|
|
|
CFLAGS+= -DPC98
|
|
|
|
.endif
|
1998-12-31 02:35:43 +00:00
|
|
|
CLEANFILES+= tmp.c tst01 tst01.o
|
1995-05-01 08:08:02 +00:00
|
|
|
VPATH= ${.CURDIR}/../../sbin/disklabel
|
|
|
|
NOPROFILE= yes
|
|
|
|
NOSHARED= yes
|
1996-03-17 19:02:07 +00:00
|
|
|
NOPIC= yes
|
1995-04-30 06:19:32 +00:00
|
|
|
|
1996-03-17 23:20:09 +00:00
|
|
|
MAN3= libdisk.3
|
1996-03-18 15:15:42 +00:00
|
|
|
MLINKS+= libdisk.3 Open_Disk.3 \
|
1996-03-17 23:20:09 +00:00
|
|
|
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 \
|
1997-01-23 06:29:01 +00:00
|
|
|
libdisk.3 ChunkCanBeRoot.3 \
|
|
|
|
libdisk.3 slice_type_name.3
|
1996-03-17 23:20:09 +00:00
|
|
|
|
1995-05-01 08:08:02 +00:00
|
|
|
.include <bsd.lib.mk>
|
|
|
|
|
1995-05-03 06:30:59 +00:00
|
|
|
tst01: tst01.o libdisk.a
|
|
|
|
cc ${CFLAGS} -static tst01.o -o tst01 libdisk.a
|