freebsd-skq/usr.sbin/makefs/Makefile

43 lines
657 B
Makefile
Raw Normal View History

2008-12-19 18:47:46 +00:00
# $FreeBSD$
SRCDIR:=${.PARSEDIR:tA}
.include <src.opts.mk>
2008-12-19 18:47:46 +00:00
PROG= makefs
CFLAGS+=-I${SRCDIR}
SRCS= cd9660.c ffs.c \
makefs.c \
mtree.c \
walk.c
2008-12-19 18:47:46 +00:00
MAN= makefs.8
WARNS?= 2
.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
.PATH: ${SRCTOP}/contrib/mtree
CFLAGS+=-I${SRCTOP}/contrib/mtree
SRCS+= getid.c misc.c spec.c
.PATH: ${SRCTOP}/contrib/mknod
CFLAGS+=-I${SRCTOP}/contrib/mknod
SRCS+= pack_dev.c
2008-12-19 18:47:46 +00:00
.PATH: ${SRCTOP}/sys/ufs/ffs
2008-12-19 18:47:46 +00:00
SRCS+= ffs_tables.c
CFLAGS+= -I${SRCTOP}/lib/libnetbsd
LIBADD= netbsd util sbuf
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
2008-12-19 18:47:46 +00:00
.include <bsd.prog.mk>