diff options
author | jlemon <jlemon@FreeBSD.org> | 2003-03-08 21:54:32 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2003-03-08 21:54:32 +0000 |
commit | 3cab7a88ab3bf9db32f46801047c9350030d5e77 (patch) | |
tree | ba1185aae6556c23961ad4f0da99096e32edaa84 /sys | |
parent | cb28d5d2182d6393af3703664d8ae496039b6005 (diff) | |
download | FreeBSD-src-3cab7a88ab3bf9db32f46801047c9350030d5e77.zip FreeBSD-src-3cab7a88ab3bf9db32f46801047c9350030d5e77.tar.gz |
Fix module build by adding options to Makefile.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/modules/if_tun/Makefile | 12 | ||||
-rw-r--r-- | sys/modules/netgraph/iface/Makefile | 14 |
2 files changed, 24 insertions, 2 deletions
diff --git a/sys/modules/if_tun/Makefile b/sys/modules/if_tun/Makefile index eee5ab4..1c804e1 100644 --- a/sys/modules/if_tun/Makefile +++ b/sys/modules/if_tun/Makefile @@ -3,9 +3,19 @@ .PATH: ${.CURDIR}/../../net KMOD= if_tun -SRCS= if_tun.c opt_inet.h opt_mac.h vnode_if.h +SRCS= if_tun.c opt_atalk.h opt_inet.h opt_inet6.h opt_ipx.h opt_mac.h \ + vnode_if.h + +opt_atalk.h: + echo "#define NETATALK 1" > ${.TARGET} opt_inet.h: echo "#define INET 1" > ${.TARGET} +opt_inet6.h: + echo "#define INET6 1" > ${.TARGET} + +opt_ipx.h: + echo "#define IPX 1" > ${.TARGET} + .include <bsd.kmod.mk> diff --git a/sys/modules/netgraph/iface/Makefile b/sys/modules/netgraph/iface/Makefile index 12c6b00..98940ef 100644 --- a/sys/modules/netgraph/iface/Makefile +++ b/sys/modules/netgraph/iface/Makefile @@ -2,6 +2,18 @@ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:21 archie Exp $ KMOD= ng_iface -SRCS= ng_iface.c +SRCS= ng_iface.c opt_atalk.h opt_inet.h opt_inet6.h opt_ipx.h + +opt_atalk.h: + echo "#define NETATALK 1" > ${.TARGET} + +opt_inet.h: + echo "#define INET 1" > ${.TARGET} + +opt_inet6.h: + echo "#define INET6 1" > ${.TARGET} + +opt_ipx.h: + echo "#define IPX 1" > ${.TARGET} .include <bsd.kmod.mk> |