Home | History | Annotate | Line # | Download | only in fdisk
Makefile revision 1.35
      1  1.35      mrg #	$NetBSD: Makefile,v 1.35 2006/05/11 23:16:29 mrg Exp $
      2   1.5      mrg 
      3   1.1      cgd PROG=	fdisk 
      4   1.1      cgd SRCS=	fdisk.c
      5   1.5      mrg 
      6   1.3      cgd MAN=	fdisk.8
      7  1.17     soda 
      8  1.17     soda .if ${MACHINE} == "arc"
      9  1.17     soda CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"'
     10  1.22  thorpej .endif
     11  1.22  thorpej 
     12  1.22  thorpej .if ${MACHINE} == "netwinder"
     13  1.22  thorpej CPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"'
     14  1.17     soda .endif
     15   1.1      cgd 
     16   1.1      cgd .include <bsd.prog.mk>
     17  1.35      mrg 
     18  1.33   dyoung .if (${HOSTPROG:U} == "")
     19  1.34     fvdl SUBDIR=	mbr
     20  1.34     fvdl DPADD+=	${LIBUTIL}
     21  1.34     fvdl LDADD+=	-lutil
     22  1.10       ws .include <bsd.subdir.mk>
     23  1.33   dyoung .endif
     24  1.35      mrg 
     25  1.35      mrg .if ${HAVE_GCC} == 4
     26  1.35      mrg COPTS.fdisk.c+=	-Wno-pointer-sign
     27  1.35      mrg .endif
     28