Fix deprecated name, and let kmod.mk create an empty .h file.

This commit is contained in:
Ruslan Ermilov 2005-06-05 05:28:41 +00:00
parent 5a6530a38d
commit 6706791aa2

View File

@ -7,10 +7,8 @@ SRCS= if_bridge.c bridgestp.c opt_inet.h opt_inet6.h
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.if !defined(NO_INET6)
opt_inet6.h:
.if defined(NOINET6)
echo > ${.TARGET}
.else
echo "#define INET6 1" > ${.TARGET}
.endif