kmod.mk (47da63c3df61d0da97038fba844de0cfd369c9c2) kmod.mk (589d9341f4ef5bba877ea45ae32d537464d40a61)
1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
2# $Id: bsd.kmod.mk,v 1.44 1998/02/20 15:52:49 bde Exp $
2# $Id: bsd.kmod.mk,v 1.45 1998/03/06 05:43:46 bde Exp $
3#
4# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
5#
6#
7# +++ variables +++
8#
9# CLEANFILES Additional files to remove for the clean and cleandir targets.
10#

--- 102 unchanged lines hidden (view full) ---

113SRCS+= vnode_if.h
114CLEANFILES+= vnode_if.h vnode_if.c
115.endif
116
117.if defined(PSEUDO_LKM)
118CFLAGS+= -DPSEUDO_LKM
119.endif
120
3#
4# The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules.
5#
6#
7# +++ variables +++
8#
9# CLEANFILES Additional files to remove for the clean and cleandir targets.
10#

--- 102 unchanged lines hidden (view full) ---

113SRCS+= vnode_if.h
114CLEANFILES+= vnode_if.h vnode_if.c
115.endif
116
117.if defined(PSEUDO_LKM)
118CFLAGS+= -DPSEUDO_LKM
119.endif
120
121DPSRCS+= ${SRCS:M*.h}
122OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
123
124.if !defined(PROG)
125PROG= ${KMOD}.o
126.endif
127
128${PROG}: ${OBJS} ${DPADD}
129 ${LD} -r ${LDFLAGS} -o tmp.o ${OBJS}

--- 102 unchanged lines hidden (view full) ---

232
233vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
234 sh ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
235
236.include <bsd.obj.mk>
237.include <bsd.dep.mk>
238
239.if !exists(${DEPENDFILE})
121OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
122
123.if !defined(PROG)
124PROG= ${KMOD}.o
125.endif
126
127${PROG}: ${OBJS} ${DPADD}
128 ${LD} -r ${LDFLAGS} -o tmp.o ${OBJS}

--- 102 unchanged lines hidden (view full) ---

231
232vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
233 sh ${KERN}/vnode_if.sh ${KERN}/vnode_if.src
234
235.include <bsd.obj.mk>
236.include <bsd.dep.mk>
237
238.if !exists(${DEPENDFILE})
240${OBJS}: ${DPSRCS}
239${OBJS}: ${SRCS:M*.h}
241.endif
242
243.include <bsd.kern.mk>
240.endif
241
242.include <bsd.kern.mk>