1# $FreeBSD$ 2 3PROG= makefs 4 5CFLAGS+=-I${.CURDIR} 6 7SRCS= cd9660.c ffs.c \ 8 getid.c \ 9 makefs.c \ 10 mtree.c \ 11 walk.c 12MAN= makefs.8 13 14WARNS?= 2 15 16.include "${.CURDIR}/cd9660/Makefile.inc" 17.include "${.CURDIR}/ffs/Makefile.inc" 18.include "${.CURDIR}/compat/Makefile.inc" 19 20CFLAGS+=-DHAVE_STRUCT_STAT_ST_FLAGS=1 21CFLAGS+=-DHAVE_STRUCT_STAT_ST_GEN=1 22 23.PATH: ${.CURDIR}/../mtree 24CFLAGS+=-I${.CURDIR}/../mtree 25SRCS+= misc.c spec.c 26 27.PATH: ${.CURDIR}/../../sys/ufs/ffs 28SRCS+= ffs_tables.c 29 30DPADD= ${LIBSBUF} 31LDADD= -lsbuf 32 33.include <bsd.prog.mk> 34