Add support for pseudo-device LKMs.

This commit is contained in:
Garrett Wollman 1995-03-20 19:18:51 +00:00
parent 20e8807c09
commit 27a15c94ed
2 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
# $Id: bsd.kmod.mk,v 1.9 1995/02/08 21:35:26 bde Exp $
# $Id: bsd.kmod.mk,v 1.10 1995/02/25 20:51:11 phk Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@ -24,6 +24,10 @@ SRCS+= vnode_if.h
CLEANFILES+= vnode_if.h vnode_if.c
.endif
.if defined(PSEUDO_LKM)
CFLAGS+= -DPSEUDO_LKM
.endif
DPSRCS+= ${SRCS:M*.h}
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}

View File

@ -1,5 +1,5 @@
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
# $Id: bsd.kmod.mk,v 1.9 1995/02/08 21:35:26 bde Exp $
# $Id: bsd.kmod.mk,v 1.10 1995/02/25 20:51:11 phk Exp $
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
@ -24,6 +24,10 @@ SRCS+= vnode_if.h
CLEANFILES+= vnode_if.h vnode_if.c
.endif
.if defined(PSEUDO_LKM)
CFLAGS+= -DPSEUDO_LKM
.endif
DPSRCS+= ${SRCS:M*.h}
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}