32 lines
546 B
Makefile
32 lines
546 B
Makefile
# $NetBSD: Makefile,v 1.24 2009/01/16 19:39:52 pooka Exp $
|
|
#
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= makefs
|
|
SRCS= cd9660.c ffs.c \
|
|
getid.c \
|
|
makefs.c misc.c \
|
|
pack_dev.c \
|
|
spec.c \
|
|
walk.c
|
|
MAN= makefs.8
|
|
|
|
MKNODSRC= ${NETBSDSRCDIR}/sbin/mknod
|
|
MTREESRC= ${NETBSDSRCDIR}/usr.sbin/mtree
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${MKNODSRC} -I${MTREESRC}
|
|
.PATH: ${MKNODSRC} ${MTREESRC}
|
|
|
|
.include "${.CURDIR}/cd9660/Makefile.inc"
|
|
.include "${.CURDIR}/ffs/Makefile.inc"
|
|
|
|
.if (${HOSTPROG:U} == "")
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
.endif
|
|
|
|
WARNS?= 3
|
|
|
|
.include <bsd.prog.mk>
|