From b6d904874ec0e018d3d9c2b86b7750c0bdbc6518 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Fri, 28 Jan 2000 05:30:00 +0000 Subject: Make this compiles. Remove vnode_if.h dependency. Add UVM support. Thanks to ericj@ for his help and remember me this once again. --- share/lkm/vfs/module/Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'share/lkm/vfs/module/Makefile') diff --git a/share/lkm/vfs/module/Makefile b/share/lkm/vfs/module/Makefile index fbad9aa0e84..93e2263547b 100644 --- a/share/lkm/vfs/module/Makefile +++ b/share/lkm/vfs/module/Makefile @@ -33,7 +33,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id: Makefile,v 1.2 1997/03/03 05:10:56 flipk Exp $ +# $Id: Makefile,v 1.3 2000/01/28 05:29:59 fgsch Exp $ # SRCS=kernfsmod.c @@ -58,18 +58,21 @@ load: unload: modunload -n $(KMOD) -kernfs_vfsops.o: /sys/miscfs/kernfs/kernfs_vfsops.c vnode_if.h +kernfs_vfsops.o: /sys/miscfs/kernfs/kernfs_vfsops.c $(CC) $(CFLAGS) -c -o $@ $< -kernfs_vnops.o: /sys/miscfs/kernfs/kernfs_vnops.c vnode_if.h +kernfs_vnops.o: /sys/miscfs/kernfs/kernfs_vnops.c $(CC) $(CFLAGS) -c -o $@ $< -vnode_if.h: /sys/kern/vnode_if.sh /sys/kern/vnode_if.src - sh /sys/kern/vnode_if.sh /sys/kern/vnode_if.src - $(MODOBJ): $(OBJS) $(KOBJS) $(LD) -r -o $(MODOBJ) $(OBJS) $(KOBJS) +.include + +.if (${UVM} == "yes") +CFLAGS+=-DUVM +.endif + # -# EOF -- This file has not been truncated +# EOF -- This file has not been truncated. # -- cgit v1.2.3