1 1.25 lukem # $NetBSD: Makefile,v 1.25 2009/04/22 15:23:05 lukem 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.24 pooka 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.20 he 26 1.21 bouyer .if (${HOSTPROG:U} == "") 27 1.21 bouyer DPADD+= ${LIBUTIL} 28 1.20 he LDADD+= -lutil 29 1.21 bouyer .endif 30 1.1 lukem 31 1.1 lukem .include <bsd.prog.mk> 32