2009-01-16 22:39:52 +03:00
|
|
|
# $NetBSD: Makefile,v 1.24 2009/01/16 19:39:52 pooka Exp $
|
2001-10-26 10:50:48 +04:00
|
|
|
#
|
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2001-10-26 10:50:48 +04:00
|
|
|
PROG= makefs
|
2009-01-16 22:39:52 +03:00
|
|
|
SRCS= cd9660.c ffs.c \
|
2005-08-19 05:09:54 +04:00
|
|
|
getid.c \
|
2009-01-16 22:39:52 +03:00
|
|
|
makefs.c misc.c \
|
2005-08-19 05:09:54 +04:00
|
|
|
pack_dev.c \
|
2006-12-14 23:09:35 +03:00
|
|
|
spec.c \
|
2005-08-19 05:09:54 +04:00
|
|
|
walk.c
|
2001-10-26 20:12:30 +04:00
|
|
|
MAN= makefs.8
|
2001-10-26 10:50:48 +04:00
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
MKNODSRC= ${NETBSDSRCDIR}/sbin/mknod
|
|
|
|
MTREESRC= ${NETBSDSRCDIR}/usr.sbin/mtree
|
2001-10-26 10:50:48 +04:00
|
|
|
|
2009-01-16 22:39:52 +03:00
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${MKNODSRC} -I${MTREESRC}
|
|
|
|
.PATH: ${MKNODSRC} ${MTREESRC}
|
|
|
|
|
|
|
|
.include "${.CURDIR}/cd9660/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/ffs/Makefile.inc"
|
2006-12-14 23:09:35 +03:00
|
|
|
|
2006-12-16 15:59:16 +03:00
|
|
|
.if (${HOSTPROG:U} == "")
|
2006-12-14 23:09:35 +03:00
|
|
|
DPADD+= ${LIBUTIL}
|
2006-12-16 15:59:16 +03:00
|
|
|
LDADD+= -lutil
|
|
|
|
.endif
|
2001-10-26 10:50:48 +04:00
|
|
|
|
2005-08-13 05:53:01 +04:00
|
|
|
WARNS?= 3
|
2001-10-26 10:50:48 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|