Makefile revision 249293
167754Smsmith# $FreeBSD: head/usr.sbin/nmtree/Makefile 249293 2013-04-09 06:50:11Z ed $ 267754Smsmith 367754Smsmith.include <bsd.own.mk> 469450Smsmith 567754Smsmith.PATH: ${.CURDIR}/../../contrib/mtree 667754Smsmith 767754SmsmithPROG= nmtree 867754SmsmithMAN= nmtree.8 967754SmsmithSRCS= compare.c crc.c create.c excludes.c getid.c misc.c mtree.c \ 1067754Smsmith only.c spec.c specspec.c verify.c 1167754SmsmithLDADD+= -lmd -lutil 1267754Smsmith 1367754SmsmithCFLAGS+= -I${.CURDIR}/../../contrib/mknod 1467754Smsmith.PATH: ${.CURDIR}/../../contrib/mknod 1567754SmsmithSRCS+= pack_dev.c 1667754Smsmith 1767754SmsmithCFLAGS+= -I${.CURDIR}/../../lib/libnetbsd 1867754SmsmithLIBNETBSDDIR= ${.OBJDIR}/../../lib/libnetbsd 1967754SmsmithLIBNETBSD= ${LIBNETBSDDIR}/libnetbsd.a 2067754SmsmithDPADD+= ${LIBNETBSD} 2167754SmsmithLDADD+= ${LIBNETBSD} 2267754Smsmith 2367754Smsmith.if ${MK_NMTREE} != "no" 2467754SmsmithLINKS= ${BINDIR}/nmtree ${BINDIR}/mtree 2567754SmsmithMLINKS= nmtree.8 mtree.8 2667754Smsmith.endif 2767754Smsmith 2867754SmsmithCLEANFILES+= nmtree.8 2967754Smsmith 3067754Smsmithnmtree.8: mtree.8 3167754Smsmith cp ${.ALLSRC} ${.TARGET} 3267754Smsmith 3367754Smsmith.include <bsd.prog.mk> 3467754Smsmith