Removed support for now-unused FreeBSD misfeature DPSRCS.
This commit is contained in:
parent
461239a13c
commit
beffd6fcac
@ -1,5 +1,5 @@
|
||||
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
|
||||
# $Id: bsd.kmod.mk,v 1.44 1998/02/20 15:52:49 bde Exp $
|
||||
# $Id: bsd.kmod.mk,v 1.45 1998/03/06 05:43:46 bde Exp $
|
||||
#
|
||||
# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
|
||||
#
|
||||
@ -118,7 +118,6 @@ CLEANFILES+= vnode_if.h vnode_if.c
|
||||
CFLAGS+= -DPSEUDO_LKM
|
||||
.endif
|
||||
|
||||
DPSRCS+= ${SRCS:M*.h}
|
||||
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
|
||||
.if !defined(PROG)
|
||||
@ -237,7 +236,7 @@ vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
|
||||
.include <bsd.dep.mk>
|
||||
|
||||
.if !exists(${DEPENDFILE})
|
||||
${OBJS}: ${DPSRCS}
|
||||
${OBJS}: ${SRCS:M*.h}
|
||||
.endif
|
||||
|
||||
.include <bsd.kern.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
|
||||
# $Id: bsd.prog.mk,v 1.63 1998/02/25 02:56:58 bde Exp $
|
||||
# $Id: bsd.prog.mk,v 1.64 1998/03/06 06:48:39 bde Exp $
|
||||
|
||||
.if exists(${.CURDIR}/../Makefile.inc)
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
@ -27,7 +27,6 @@ LDFLAGS+= -static
|
||||
.if defined(PROG)
|
||||
.if defined(SRCS)
|
||||
|
||||
DPSRCS+= ${SRCS:M*.h}
|
||||
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
|
||||
${PROG}: ${OBJS}
|
||||
@ -153,7 +152,7 @@ all-man:
|
||||
.include <bsd.dep.mk>
|
||||
|
||||
.if defined(PROG) && !exists(${DEPENDFILE})
|
||||
${OBJS}: ${DPSRCS}
|
||||
${OBJS}: ${SRCS:M*.h}
|
||||
.endif
|
||||
|
||||
.include <bsd.obj.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
|
||||
# $Id: bsd.kmod.mk,v 1.44 1998/02/20 15:52:49 bde Exp $
|
||||
# $Id: bsd.kmod.mk,v 1.45 1998/03/06 05:43:46 bde Exp $
|
||||
#
|
||||
# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
|
||||
#
|
||||
@ -118,7 +118,6 @@ CLEANFILES+= vnode_if.h vnode_if.c
|
||||
CFLAGS+= -DPSEUDO_LKM
|
||||
.endif
|
||||
|
||||
DPSRCS+= ${SRCS:M*.h}
|
||||
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
|
||||
|
||||
.if !defined(PROG)
|
||||
@ -237,7 +236,7 @@ vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
|
||||
.include <bsd.dep.mk>
|
||||
|
||||
.if !exists(${DEPENDFILE})
|
||||
${OBJS}: ${DPSRCS}
|
||||
${OBJS}: ${SRCS:M*.h}
|
||||
.endif
|
||||
|
||||
.include <bsd.kern.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user