freebsd-dev/lib/libdisk/Makefile

32 lines
497 B
Makefile
Raw Normal View History

1999-08-28 00:22:10 +00:00
# $FreeBSD$
LIB= disk
SRCS= blocks.c chunk.c disk.c change.c \
create_chunk.c rules.c write_disk.c
INCS= libdisk.h
WARNS= 2
2000-03-29 15:10:28 +00:00
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
SRCS += write_pc98_disk.c
2000-03-29 15:10:28 +00:00
.endif
.if ${MACHINE} == "i386"
SRCS += write_i386_disk.c
.endif
.if ${MACHINE} == "alpha"
SRCS += write_alpha_disk.c
.endif
CLEANFILES+= tmp.c tst01 tst01.o
NOPROFILE= yes
NOPIC= yes
1995-04-30 06:19:32 +00:00
2001-03-27 17:27:19 +00:00
MAN= libdisk.3
.include <bsd.lib.mk>
tst01: tst01.o libdisk.a
cc ${CFLAGS} -static tst01.o -o tst01 libdisk.a