diff options
author | sam <sam@FreeBSD.org> | 2008-12-19 18:47:46 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-12-19 18:47:46 +0000 |
commit | 04b1d503e162172ac1f99cab401b24577008d8a5 (patch) | |
tree | 5b7fad36ebd9c20647ab964d225fd877ac7e71bb /usr.sbin/makefs/Makefile | |
parent | 02652b132c30b431a86bae5535d22c29f316e7dc (diff) | |
parent | c7e77b59099de503f20d8b8fd7e07548aef51b0e (diff) | |
download | FreeBSD-src-04b1d503e162172ac1f99cab401b24577008d8a5.zip FreeBSD-src-04b1d503e162172ac1f99cab401b24577008d8a5.tar.gz |
import netbsd makefs tool
Diffstat (limited to 'usr.sbin/makefs/Makefile')
-rw-r--r-- | usr.sbin/makefs/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/usr.sbin/makefs/Makefile b/usr.sbin/makefs/Makefile new file mode 100644 index 0000000..8626dd0 --- /dev/null +++ b/usr.sbin/makefs/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PROG= makefs +MAN= makefs.8 + +WARNS?= 2 + +CFLAGS+=-I. +SRCS= ffs.c getid.c makefs.c walk.c + +.PATH: ${.CURDIR}/ffs +CFLAGS+=-Iffs +CFLAGS+=-DHAVE_STRUCT_STAT_ST_FLAGS=1 +CFLAGS+=-DHAVE_STRUCT_STAT_ST_GEN=1 +SRCS+= buf.c ffs_alloc.c ffs_balloc.c ffs_bswap.c ffs_subr.c mkfs.c ufs_bmap.c + +.PATH: ${.CURDIR}/compat +CFLAGS+=-Icompat +SRCS+= pwcache.c strsuftoll.c + +.PATH: ${.CURDIR}/../mtree +CFLAGS+=-I../mtree +SRCS+= misc.c spec.c + +.PATH: ${.CURDIR}/../../sys/ufs/ffs +SRCS+= ffs_tables.c + +.include <bsd.prog.mk> |