1# $NetBSD: Makefile,v 1.7 2008/08/29 00:02:25 gmcgarry Exp $
2
3.include <bsd.own.mk>
4
5USE_FORT?= yes	# reads potentially untrustworthy data
6
7PROG=	mscdlabel
8SRCS=	main.c dkcksum.c iso9660.c
9DPADD+=	${LIBUTIL}
10LDADD+=	-lutil
11MAN=	mscdlabel.8
12
13DISKLABEL_SRC=	${NETBSDSRCDIR}/sbin/disklabel
14
15.PATH:	${DISKLABEL_SRC}
16CPPFLAGS+=	-I${DISKLABEL_SRC}
17
18.if defined(HAVE_GCC) || defined(HAVE_PCC)
19COPTS.iso9660.c+=	-Wno-pointer-sign
20.endif
21
22.include <bsd.prog.mk>
23