xref: /dragonfly/usr.sbin/makefs/Makefile (revision ed183f8c)
1#	$FreeBSD: head/usr.sbin/makefs/Makefile 332844 2018-04-20 22:23:38Z emaste $
2
3PROG=	makefs
4
5CFLAGS+=-I${.CURDIR}
6
7SRCS=	cd9660.c ffs.c \
8	makefs.c \
9	mtree.c \
10	walk.c
11MAN=	makefs.8
12
13WARNS?=	2
14
15.include "${.CURDIR}/cd9660/Makefile.inc"
16.include "${.CURDIR}/ffs/Makefile.inc"
17
18CFLAGS+=-DHAVE_STRUCT_STAT_ST_FLAGS=1
19
20.PATH: ${.CURDIR}/../mtree
21CFLAGS+=-I${.CURDIR}/../mtree
22SRCS+=	getid.c misc.c pack_dev.c spec.c stat_flags.c
23
24DPADD=	${LIBUTIL} ${LIBSBUF}
25LDADD=	-lutil -lsbuf
26
27#.if ${MK_TESTS} != "no"
28#SUBDIR+=	tests
29#.endif
30
31.include <bsd.prog.mk>
32