9f988b7934
Change-Id: I0ebcc9d0168df9d26cfb0af0fce2bc894ce688af
37 lines
785 B
Makefile
37 lines
785 B
Makefile
# $NetBSD: Makefile,v 1.36 2013/08/05 14:41:57 reinoud Exp $
|
|
#
|
|
|
|
WARNS?= 5
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= makefs
|
|
SRCS= cd9660.c chfs.c ffs.c v7fs.c msdos.c udf.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} -DMAKEFS
|
|
#CPPFLAGS+= -DMSDOSFS_DEBUG
|
|
.PATH: ${MKNODSRC} ${MTREESRC}
|
|
|
|
.include "${.CURDIR}/cd9660/Makefile.inc"
|
|
.include "${.CURDIR}/chfs/Makefile.inc"
|
|
.include "${.CURDIR}/ffs/Makefile.inc"
|
|
.include "${.CURDIR}/v7fs/Makefile.inc"
|
|
.include "${.CURDIR}/msdos/Makefile.inc"
|
|
.include "${.CURDIR}/udf/Makefile.inc"
|
|
|
|
.if !defined(HOSTPROG)
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
# DO NOT DELETE
|