2004-01-03 22:57:42 +03:00
|
|
|
# $NetBSD: Makefile,v 1.15 2004/01/03 19:57:42 dbj Exp $
|
1995-10-09 02:08:36 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1995-10-09 02:08:36 +03:00
|
|
|
PROG= fsdb
|
|
|
|
MAN= fsdb.8
|
1998-03-18 20:03:15 +03:00
|
|
|
SRCS= fsdb.c fsdbutil.c
|
|
|
|
SRCS+= dir.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
|
1996-09-28 23:30:35 +04:00
|
|
|
pass5.c setup.c utilities.c
|
2002-09-29 00:11:05 +04:00
|
|
|
SRCS+= ffs_bswap.c ffs_subr.c ffs_tables.c ffs_appleufs.c
|
1998-03-18 20:03:15 +03:00
|
|
|
SRCS+= fsutil.c
|
1996-09-28 23:30:35 +04:00
|
|
|
|
2002-08-19 14:16:51 +04:00
|
|
|
FSCK= ${NETBSDSRCDIR}/sbin/fsck
|
|
|
|
FSCK_FFS=${NETBSDSRCDIR}/sbin/fsck_ffs
|
1997-10-10 23:47:50 +04:00
|
|
|
CPPFLAGS+= -I${FSCK} -I${FSCK_FFS}
|
2002-08-19 14:16:51 +04:00
|
|
|
.PATH: ${FSCK} ${FSCK_FFS} ${NETBSDSRCDIR}/sys/ufs/ffs
|
1997-10-10 23:47:50 +04:00
|
|
|
|
1999-01-15 16:32:05 +03:00
|
|
|
LDADD+= -ledit -ltermcap
|
2004-01-03 22:57:42 +03:00
|
|
|
.ifndef HOSTPROG
|
1999-01-15 16:32:05 +03:00
|
|
|
DPADD+= ${LIBEDIT} ${LIBTERMCAP}
|
2004-01-03 22:57:42 +03:00
|
|
|
.endif
|
1995-10-09 02:08:36 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|