aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ifs
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>1998-02-05 14:31:05 +0000
committerJohn Hay <jhay@FreeBSD.org>1998-02-05 14:31:05 +0000
commit1420147475bca5276f683bc2adbf7182591708ee (patch)
tree951b45b3a9851a74aabb6bf2e6cab787aa41f3eb /sbin/fsck_ifs
parent7b0c16d8afc7e63f25390046550707d8d839b20d (diff)
downloadsrc-1420147475bca5276f683bc2adbf7182591708ee.tar.gz
src-1420147475bca5276f683bc2adbf7182591708ee.zip
fsdb and fsck use the ffs code which needs opt_diagnostic.h.
Notes
Notes: svn path=/head/; revision=33118
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 3155b1a466ea..3e2558d2dc43 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>