cd46c93cc8
prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles.
19 lines
345 B
Makefile
19 lines
345 B
Makefile
# Copyright (C) 1999-2000 by Maksim Yevmenkin <m_evmenkin@yahoo.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../net
|
|
|
|
KMOD= if_tap
|
|
SRCS= if_tap.c opt_compat.h opt_inet.h vnode_if.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
opt_compat.h:
|
|
echo "#define COMPAT_FREEBSD6 1" > ${.TARGET}
|
|
|
|
opt_inet.h:
|
|
echo "#define INET 1" > ${.TARGET}
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|