summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makefs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/makefs/Makefile')
-rw-r--r--usr.sbin/makefs/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/usr.sbin/makefs/Makefile b/usr.sbin/makefs/Makefile
new file mode 100644
index 0000000..6fa0679
--- /dev/null
+++ b/usr.sbin/makefs/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PROG= makefs
+
+CFLAGS+=-I${.CURDIR}
+
+SRCS= cd9660.c ffs.c \
+ getid.c \
+ makefs.c \
+ mtree.c \
+ walk.c
+MAN= makefs.8
+
+WARNS?= 2
+
+.include "${.CURDIR}/cd9660/Makefile.inc"
+.include "${.CURDIR}/ffs/Makefile.inc"
+.include "${.CURDIR}/compat/Makefile.inc"
+
+CFLAGS+=-DHAVE_STRUCT_STAT_ST_FLAGS=1
+CFLAGS+=-DHAVE_STRUCT_STAT_ST_GEN=1
+
+.PATH: ${.CURDIR}/../mtree
+CFLAGS+=-I${.CURDIR}/../mtree
+SRCS+= misc.c spec.c
+
+.PATH: ${.CURDIR}/../../sys/ufs/ffs
+SRCS+= ffs_tables.c
+
+DPADD= ${LIBSBUF}
+LDADD= -lsbuf
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud