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
|
2002-10-22 09:13:02 +00:00
|
|
|
SRCS= blocks.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
|
2002-10-23 19:52:32 +00:00
|
|
|
WARNS= 2
|
1995-04-28 23:57:04 +00:00
|
|
|
|
2000-03-29 15:10:28 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
|
|
|
CFLAGS+= -DPC98
|
2002-10-23 19:52:32 +00:00
|
|
|
SRCS += write_pc98_disk.c
|
2000-03-29 15:10:28 +00:00
|
|
|
.endif
|
2002-10-23 19:52:32 +00:00
|
|
|
|
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
SRCS += write_i386_disk.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE} == "alpha"
|
|
|
|
SRCS += write_alpha_disk.c
|
|
|
|
.endif
|
|
|
|
|
1998-12-31 02:35:43 +00:00
|
|
|
CLEANFILES+= tmp.c tst01 tst01.o
|
1995-05-01 08:08:02 +00:00
|
|
|
NOPROFILE= yes
|
1996-03-17 19:02:07 +00:00
|
|
|
NOPIC= yes
|
1995-04-30 06:19:32 +00:00
|
|
|
|
2001-03-27 17:27:19 +00:00
|
|
|
MAN= libdisk.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
|