1 1.27 tron # $NetBSD: Makefile,v 1.27 2011/07/18 17:15:51 tron Exp $ 2 1.1 lukem # 3 1.1 lukem 4 1.25 lukem WARNS?= 3 # XXX -Wsign-compare 5 1.25 lukem 6 1.9 lukem .include <bsd.own.mk> 7 1.9 lukem 8 1.1 lukem PROG= makefs 9 1.27 tron SRCS= cd9660.c ffs.c \ 10 1.16 dyoung getid.c \ 11 1.24 pooka makefs.c misc.c \ 12 1.16 dyoung pack_dev.c \ 13 1.20 he spec.c \ 14 1.16 dyoung walk.c 15 1.2 lukem MAN= makefs.8 16 1.1 lukem 17 1.9 lukem MKNODSRC= ${NETBSDSRCDIR}/sbin/mknod 18 1.9 lukem MTREESRC= ${NETBSDSRCDIR}/usr.sbin/mtree 19 1.1 lukem 20 1.24 pooka CPPFLAGS+= -I${.CURDIR} -I${MKNODSRC} -I${MTREESRC} 21 1.24 pooka .PATH: ${MKNODSRC} ${MTREESRC} 22 1.24 pooka 23 1.24 pooka .include "${.CURDIR}/cd9660/Makefile.inc" 24 1.24 pooka .include "${.CURDIR}/ffs/Makefile.inc" 25 1.27 tron 26 1.27 tron .if !defined(HOSTPROG) 27 1.27 tron SRCS+= v7fs.c 28 1.26 uch .include "${.CURDIR}/v7fs/Makefile.inc" 29 1.20 he 30 1.21 bouyer DPADD+= ${LIBUTIL} 31 1.20 he LDADD+= -lutil 32 1.21 bouyer .endif 33 1.1 lukem 34 1.1 lukem .include <bsd.prog.mk> 35