NetBSD/usr.sbin/makefs/Makefile
lukem 557afc6071 - pull in <ufs/ufs/dinode.h> before <ufs/ffs/fs.h>
- #include <ufs/[uf]fs/*.h> instead of "ufs/[uf]fs/*.h", and don't bother
  with -I../../sys; we'll solve the hostprog problem another way and
  unconditionally pulling in NetBSD-current's usr/src/sys on a host system
  could be a Bad Thing.
2002-01-07 16:27:22 +00:00

29 lines
699 B
Makefile

# $NetBSD: Makefile,v 1.6 2002/01/07 16:27:22 lukem Exp $
#
PROG= makefs
SRCS= makefs.c walk.c \
ffs.c mkfs.c buf.c \
misc.c spec.c pack_dev.c stat_flags.c strsuftoull.c \
ffs_alloc.c ffs_balloc.c ffs_bswap.c ffs_subr.c ffs_tables.c ufs_bmap.c
MAN= makefs.8
DPADD+= ${LIBUTIL}
LDADD+= -lutil
DDSRC= ${.CURDIR}/../../bin/dd
LSSRC= ${.CURDIR}/../../bin/ls
MKNODSRC= ${.CURDIR}/../../sbin/mknod
MTREESRC= ${.CURDIR}/../../usr.sbin/mtree
UFSSRC= ${.CURDIR}/../../sys/ufs
CPPFLAGS+= -I${.CURDIR} \
-I${LSSRC} -I${MKNODSRC} -I${MTREESRC} -I${DDSRC}
.PATH: ${.CURDIR}/ffs ${UFSSRC}/ffs \
${LSSRC} ${MKNODSRC} ${MTREESRC} ${DDSRC}
WARNS?= 2
.ifndef HOSTPROG
.include <bsd.prog.mk>
.endif