2008-12-19 18:47:46 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-10-25 16:21:38 +00:00
|
|
|
SRCDIR:=${.PARSEDIR:tA}
|
|
|
|
|
2015-10-22 05:32:45 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2008-12-19 18:47:46 +00:00
|
|
|
PROG= makefs
|
2010-11-07 16:05:04 +00:00
|
|
|
|
2016-10-25 16:21:38 +00:00
|
|
|
CFLAGS+=-I${SRCDIR}
|
2010-11-07 16:05:04 +00:00
|
|
|
|
|
|
|
SRCS= cd9660.c ffs.c \
|
|
|
|
makefs.c \
|
2011-06-19 18:34:49 +00:00
|
|
|
mtree.c \
|
2010-11-07 16:05:04 +00:00
|
|
|
walk.c
|
2008-12-19 18:47:46 +00:00
|
|
|
MAN= makefs.8
|
|
|
|
|
2017-05-18 17:55:33 +00:00
|
|
|
WARNS?= 2
|
2008-12-19 18:47:46 +00:00
|
|
|
|
2016-10-25 16:21:38 +00:00
|
|
|
.include "${SRCDIR}/cd9660/Makefile.inc"
|
|
|
|
.include "${SRCDIR}/ffs/Makefile.inc"
|
2008-12-19 18:47:46 +00:00
|
|
|
|
|
|
|
CFLAGS+=-DHAVE_STRUCT_STAT_ST_FLAGS=1
|
|
|
|
|
2016-10-25 16:21:38 +00:00
|
|
|
.PATH: ${SRCTOP}/contrib/mtree
|
|
|
|
CFLAGS+=-I${SRCTOP}/contrib/mtree
|
2013-05-09 14:43:36 +00:00
|
|
|
SRCS+= getid.c misc.c spec.c
|
|
|
|
|
2016-10-25 16:21:38 +00:00
|
|
|
.PATH: ${SRCTOP}/contrib/mknod
|
|
|
|
CFLAGS+=-I${SRCTOP}/contrib/mknod
|
2013-05-09 14:43:36 +00:00
|
|
|
SRCS+= pack_dev.c
|
2008-12-19 18:47:46 +00:00
|
|
|
|
2016-10-25 16:21:38 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/lib/libnetbsd
|
2014-11-24 22:15:30 +00:00
|
|
|
LIBADD= netbsd util sbuf
|
2011-06-19 18:34:49 +00:00
|
|
|
|
2017-08-02 08:50:42 +00:00
|
|
|
HAS_TESTS=
|
2017-08-02 08:35:51 +00:00
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
2015-10-22 05:32:45 +00:00
|
|
|
|
2008-12-19 18:47:46 +00:00
|
|
|
.include <bsd.prog.mk>
|