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 \
|
2002-10-31 05:43:49 +00:00
|
|
|
create_chunk.c rules.c write_disk.c write_${MACHINE}_disk.c
|
2000-01-14 07:57:47 +00:00
|
|
|
INCS= libdisk.h
|
2002-10-23 20:02:33 +00:00
|
|
|
|
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-29 12:13:36 +00:00
|
|
|
.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
|
2002-10-29 12:13:36 +00:00
|
|
|
|
|
|
|
ad0: all install tst01
|
|
|
|
./tst01 ad0
|
|
|
|
|
|
|
|
da0: all install tst01
|
|
|
|
./tst01 da0
|
|
|
|
|
|
|
|
da1: all install tst01
|
|
|
|
./tst01 da1
|