2008-12-19 18:47:46 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= makefs
|
2010-11-07 16:05:04 +00:00
|
|
|
|
|
|
|
CFLAGS+=-I${.CURDIR}
|
|
|
|
|
|
|
|
SRCS= cd9660.c ffs.c \
|
|
|
|
getid.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
|
|
|
|
|
|
|
|
WARNS?= 2
|
|
|
|
|
2010-11-07 16:05:04 +00:00
|
|
|
.include "${.CURDIR}/cd9660/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/ffs/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/compat/Makefile.inc"
|
2008-12-19 18:47:46 +00:00
|
|
|
|
|
|
|
CFLAGS+=-DHAVE_STRUCT_STAT_ST_FLAGS=1
|
|
|
|
CFLAGS+=-DHAVE_STRUCT_STAT_ST_GEN=1
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../mtree
|
2008-12-19 22:59:05 +00:00
|
|
|
CFLAGS+=-I${.CURDIR}/../mtree
|
2008-12-19 18:47:46 +00:00
|
|
|
SRCS+= misc.c spec.c
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../sys/ufs/ffs
|
|
|
|
SRCS+= ffs_tables.c
|
|
|
|
|
2011-06-19 18:34:49 +00:00
|
|
|
DPADD= ${LIBSBUF}
|
|
|
|
LDADD= -lsbuf
|
|
|
|
|
2008-12-19 18:47:46 +00:00
|
|
|
.include <bsd.prog.mk>
|