1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Fix module build by adding options to Makefile.

This commit is contained in:
Jonathan Lemon 2003-03-08 21:54:32 +00:00
parent f37de12275
commit 921f8bb982
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112008
2 changed files with 24 additions and 2 deletions

View File

@ -3,9 +3,19 @@
.PATH: ${.CURDIR}/../../net .PATH: ${.CURDIR}/../../net
KMOD= if_tun 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: opt_inet.h:
echo "#define INET 1" > ${.TARGET} 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> .include <bsd.kmod.mk>

View File

@ -2,6 +2,18 @@
# $Whistle: Makefile,v 1.2 1999/01/19 19:39:21 archie Exp $ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:21 archie Exp $
KMOD= ng_iface 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> .include <bsd.kmod.mk>