NetBSD/sbin/pdisk/Makefile

30 lines
506 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.2 2002/08/19 10:17:00 lukem Exp $
.include <bsd.own.mk>
SRCDIR= ${NETBSDSRCDIR}/dist/pdisk
.PATH: ${SRCDIR}
.if (${MACHINE} == "macppc" || \
${MACHINE} == "mac68k")
PROG= pdisk
SRCS= bitfield.c convert.c deblock_media.c dump.c \
file_media.c hfs_misc.c io.c layout_dump.c \
media.c partition_map.c pathname.c pdisk.c util.c \
validate.c
SRCS+= errors_workaround.c
.endif
MAN= pdisk.8
CPPFLAGS+= -I${SRCDIR}
CPPFLAGS+= -D__unix__
WARNS=0
.include <bsd.prog.mk>