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