diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-28 05:30:00 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-28 05:30:00 +0000 |
commit | b6d904874ec0e018d3d9c2b86b7750c0bdbc6518 (patch) | |
tree | fc129cb91ab6aa6ad08e36ddabdbd2c1decbd9e2 /share/lkm/vfs/module/Makefile | |
parent | 0d6e2e68bbb1887cfa2c065a2127bee187aad13c (diff) |
Make this compiles. Remove vnode_if.h dependency. Add UVM support.
Thanks to ericj@ for his help and remember me this once again.
Diffstat (limited to 'share/lkm/vfs/module/Makefile')
-rw-r--r-- | share/lkm/vfs/module/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
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 <bsd.own.mk> + +.if (${UVM} == "yes") +CFLAGS+=-DUVM +.endif + # -# EOF -- This file has not been truncated +# EOF -- This file has not been truncated. # |