freebsd-nq/sys/modules/if_vlan/Makefile
Ruslan Ermilov 525312f7c0 Fix standalone module build.
Reported by:	Boris Samorodov
2006-02-17 10:52:59 +00:00

15 lines
208 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../net
KMOD= if_vlan
SRCS= if_vlan.c
SRCS+= opt_inet.h opt_vlan.h
.if !defined(KERNBUILDDIR)
opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.endif
.include <bsd.kmod.mk>