a33a5a18b5
case, and several host platforms do not have libutil. Fixes the build of these programs as host tools on platforms without libutil.
23 lines
382 B
Makefile
23 lines
382 B
Makefile
# $NetBSD: Makefile,v 1.34 2005/06/23 00:54:47 fvdl Exp $
|
|
|
|
PROG= fdisk
|
|
SRCS= fdisk.c
|
|
|
|
MAN= fdisk.8
|
|
|
|
.if ${MACHINE} == "arc"
|
|
CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"'
|
|
.endif
|
|
|
|
.if ${MACHINE} == "netwinder"
|
|
CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"'
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
.if (${HOSTPROG:U} == "")
|
|
SUBDIR= mbr
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
.include <bsd.subdir.mk>
|
|
.endif
|