summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ifs
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1998-02-05 14:31:05 +0000
committerjhay <jhay@FreeBSD.org>1998-02-05 14:31:05 +0000
commitc3aba9f5d238a0431a36ee328a25d9b476515ebf (patch)
tree5415ab896c3dfbe8a4c0e9e2f8d2cfbb744f12ae /sbin/fsck_ifs
parent954e6de43d483843040681db19e7c2f432439bdd (diff)
downloadFreeBSD-src-c3aba9f5d238a0431a36ee328a25d9b476515ebf.zip
FreeBSD-src-c3aba9f5d238a0431a36ee328a25d9b476515ebf.tar.gz
fsdb and fsck use the ffs code which needs opt_diagnostic.h.
Diffstat (limited to 'sbin/fsck_ifs')
-rw-r--r--sbin/fsck_ifs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/fsck_ifs/Makefile b/sbin/fsck_ifs/Makefile
index 3155b1a..3e2558d 100644
--- a/sbin/fsck_ifs/Makefile
+++ b/sbin/fsck_ifs/Makefile
@@ -3,8 +3,13 @@
PROG= fsck
MAN8= fsck.8
SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
- pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c
-CFLAGS+=-W
+ pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c \
+ opt_diagnostic.h
+CFLAGS+=-W -I${.OBJDIR}
+CLEANFILES+=opt_diagnostic.h
.PATH: ${.CURDIR}/../../sys/ufs/ffs
+opt_diagnostic.h:
+ touch opt_diagnostic.h
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud