diff options
author | eivind <eivind@FreeBSD.org> | 1998-01-09 01:01:21 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-01-09 01:01:21 +0000 |
commit | 7b61fe3f84118cce43345d2934168de0c490c149 (patch) | |
tree | 8ab5b9ba6bb5ffd75fc9fbd85cb694a81eded6f2 /sys/modules | |
parent | 6df58d9bc96fd65bf7987aa61783dc7873ce960f (diff) | |
download | FreeBSD-src-7b61fe3f84118cce43345d2934168de0c490c149.zip FreeBSD-src-7b61fe3f84118cce43345d2934168de0c490c149.tar.gz |
Minor fixups after INET option change.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/if_ppp/Makefile | 5 | ||||
-rw-r--r-- | sys/modules/nfs/Makefile | 16 | ||||
-rw-r--r-- | sys/modules/nfsclient/Makefile | 16 | ||||
-rw-r--r-- | sys/modules/nfsserver/Makefile | 16 |
4 files changed, 41 insertions, 12 deletions
diff --git a/sys/modules/if_ppp/Makefile b/sys/modules/if_ppp/Makefile index 4a49e1d..3f3072d 100644 --- a/sys/modules/if_ppp/Makefile +++ b/sys/modules/if_ppp/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.10 1997/12/16 22:50:18 eivind Exp $ +# $Id: Makefile,v 1.11 1998/01/08 23:50:18 eivind Exp $ .PATH: ${.CURDIR}/../../sys/net KMOD= if_ppp_mod @@ -14,7 +14,6 @@ PPP_DEFLATE?= 1 # 0/1 PPP_FILTER?= 0 # 0/1 - requires bpf to be configured in kernel PPP_INET?= 1 # 0/1 - requires INET to be configured in kernel PPP_IPX?= 0 # 0/1 - requires IPX to be configured in kernel -PROTOS?= -DINET # add -DIPX if you have IPX in the kernel CFLAGS+= ${PROTOS} CLEANFILES+= bpfilter.h opt_inet.h opt_ipx.h opt_ppp.h ppp.h @@ -28,7 +27,7 @@ ppp.h: opt_inet.h: touch opt_inet.h .if ${PPP_INET} > 0 - echo "#define IPX ${PPP_INET}" > opt_inet.h + echo "#define INET 1" > opt_inet.h .endif opt_ipx.h: diff --git a/sys/modules/nfs/Makefile b/sys/modules/nfs/Makefile index efb52f1..69939ca 100644 --- a/sys/modules/nfs/Makefile +++ b/sys/modules/nfs/Makefile @@ -1,11 +1,21 @@ -# $Id$ +# $Id: Makefile,v 1.3 1997/02/22 12:48:40 peter Exp $ .PATH: ${.CURDIR}/../../sys/nfs KMOD= nfs_mod SRCS= nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \ - nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c nfs_vnops.c + nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c \ + nfs_vnops.c opt_inet.h +NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel NOMAN= VFS_LKM= -CFLAGS+= -DNFS -DINET + +CFLAGS+= -DNFS +CLEANFILES+= opt_inet.h + +opt_inet.h: + touch opt_inet.h +.if ${NFS_INET} > 0 + echo "#define INET 1" > opt_inet.h +.endif .include <bsd.kmod.mk> diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile index efb52f1..69939ca 100644 --- a/sys/modules/nfsclient/Makefile +++ b/sys/modules/nfsclient/Makefile @@ -1,11 +1,21 @@ -# $Id$ +# $Id: Makefile,v 1.3 1997/02/22 12:48:40 peter Exp $ .PATH: ${.CURDIR}/../../sys/nfs KMOD= nfs_mod SRCS= nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \ - nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c nfs_vnops.c + nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c \ + nfs_vnops.c opt_inet.h +NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel NOMAN= VFS_LKM= -CFLAGS+= -DNFS -DINET + +CFLAGS+= -DNFS +CLEANFILES+= opt_inet.h + +opt_inet.h: + touch opt_inet.h +.if ${NFS_INET} > 0 + echo "#define INET 1" > opt_inet.h +.endif .include <bsd.kmod.mk> diff --git a/sys/modules/nfsserver/Makefile b/sys/modules/nfsserver/Makefile index efb52f1..69939ca 100644 --- a/sys/modules/nfsserver/Makefile +++ b/sys/modules/nfsserver/Makefile @@ -1,11 +1,21 @@ -# $Id$ +# $Id: Makefile,v 1.3 1997/02/22 12:48:40 peter Exp $ .PATH: ${.CURDIR}/../../sys/nfs KMOD= nfs_mod SRCS= nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \ - nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c nfs_vnops.c + nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c \ + nfs_vnops.c opt_inet.h +NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel NOMAN= VFS_LKM= -CFLAGS+= -DNFS -DINET + +CFLAGS+= -DNFS +CLEANFILES+= opt_inet.h + +opt_inet.h: + touch opt_inet.h +.if ${NFS_INET} > 0 + echo "#define INET 1" > opt_inet.h +.endif .include <bsd.kmod.mk> |