NetBSD/sbin/fsdb/Makefile

25 lines
602 B
Makefile

# $NetBSD: Makefile,v 1.15 2004/01/03 19:57:42 dbj Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
.include <bsd.own.mk>
PROG= fsdb
MAN= fsdb.8
SRCS= fsdb.c fsdbutil.c
SRCS+= dir.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
pass5.c setup.c utilities.c
SRCS+= ffs_bswap.c ffs_subr.c ffs_tables.c ffs_appleufs.c
SRCS+= fsutil.c
FSCK= ${NETBSDSRCDIR}/sbin/fsck
FSCK_FFS=${NETBSDSRCDIR}/sbin/fsck_ffs
CPPFLAGS+= -I${FSCK} -I${FSCK_FFS}
.PATH: ${FSCK} ${FSCK_FFS} ${NETBSDSRCDIR}/sys/ufs/ffs
LDADD+= -ledit -ltermcap
.ifndef HOSTPROG
DPADD+= ${LIBEDIT} ${LIBTERMCAP}
.endif
.include <bsd.prog.mk>