diff options
| author | Eivind Eklund <eivind@FreeBSD.org> | 1998-01-09 01:01:21 +0000 |
|---|---|---|
| committer | Eivind Eklund <eivind@FreeBSD.org> | 1998-01-09 01:01:21 +0000 |
| commit | 9e1d8a7b92f25f9c4944fabb144204f6a7122a9e (patch) | |
| tree | 4c103a2048175910ca9aba221deb3d7a02873c15 /sys/modules | |
| parent | 7262d3e4306da5a4947649e2ca2d0044acf71d2d (diff) | |
Notes
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 4a49e1de4a0b..3f3072d40d96 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 efb52f13af2f..69939ca7c282 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 efb52f13af2f..69939ca7c282 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 efb52f13af2f..69939ca7c282 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> |
