summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-06-23 14:56:04 +0000
committerbde <bde@FreeBSD.org>1996-06-23 14:56:04 +0000
commit0492dba10fa0cfc54d9be5cb7b830a0df25507d6 (patch)
tree179277ef3899e1d09f4cd6f355fb6de605e2acc6
parent869e251c538d123c59b5f3b1bf1c994aa9771d26 (diff)
downloadFreeBSD-src-0492dba10fa0cfc54d9be5cb7b830a0df25507d6.zip
FreeBSD-src-0492dba10fa0cfc54d9be5cb7b830a0df25507d6.tar.gz
Don't claim to be a VFS_LKM - generate vnode_if.h by putting it in SRCS.
Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative) path.
-rw-r--r--lkm/ccd/Makefile9
-rw-r--r--sys/modules/ccd/Makefile9
2 files changed, 8 insertions, 10 deletions
diff --git a/lkm/ccd/Makefile b/lkm/ccd/Makefile
index 1a27830..d572ca7 100644
--- a/lkm/ccd/Makefile
+++ b/lkm/ccd/Makefile
@@ -1,15 +1,14 @@
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1996/06/12 03:49:15 asami Exp $
.PATH: ${.CURDIR}/../../sys/dev/ccd
KMOD= ccd_mod
-SRCS= ccd.c ccd.h
+SRCS= ccd.c ccd.h vnode_if.h
NOMAN=
PSEUDO_LKM=
-CFLAGS= -I. -I/sys
-VFS_LKM=
+CFLAGS= -I.
NCCD?= 4
-CLEANFILES+= ccd.h vnode_if.h
+CLEANFILES+= ccd.h vnode_if.h vnode_if.c
ccd.h:
echo "#define NCCD ${NCCD}" > ccd.h
diff --git a/sys/modules/ccd/Makefile b/sys/modules/ccd/Makefile
index 1a27830..d572ca7 100644
--- a/sys/modules/ccd/Makefile
+++ b/sys/modules/ccd/Makefile
@@ -1,15 +1,14 @@
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1996/06/12 03:49:15 asami Exp $
.PATH: ${.CURDIR}/../../sys/dev/ccd
KMOD= ccd_mod
-SRCS= ccd.c ccd.h
+SRCS= ccd.c ccd.h vnode_if.h
NOMAN=
PSEUDO_LKM=
-CFLAGS= -I. -I/sys
-VFS_LKM=
+CFLAGS= -I.
NCCD?= 4
-CLEANFILES+= ccd.h vnode_if.h
+CLEANFILES+= ccd.h vnode_if.h vnode_if.c
ccd.h:
echo "#define NCCD ${NCCD}" > ccd.h
OpenPOWER on IntegriCloud