1 1.31 christos # $NetBSD: Makefile,v 1.31 2012/04/19 17:28:25 christos Exp $ 2 1.1 lukem # 3 1.1 lukem 4 1.31 christos WARNS?= 5 5 1.25 lukem 6 1.9 lukem .include <bsd.own.mk> 7 1.9 lukem 8 1.1 lukem PROG= makefs 9 1.30 ttoth SRCS= cd9660.c chfs.c ffs.c v7fs.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.30 ttoth .include "${.CURDIR}/chfs/Makefile.inc" 25 1.24 pooka .include "${.CURDIR}/ffs/Makefile.inc" 26 1.29 tron .include "${.CURDIR}/v7fs/Makefile.inc" 27 1.27 tron 28 1.27 tron .if !defined(HOSTPROG) 29 1.21 bouyer DPADD+= ${LIBUTIL} 30 1.20 he LDADD+= -lutil 31 1.21 bouyer .endif 32 1.1 lukem 33 1.1 lukem .include <bsd.prog.mk> 34