xref: /dragonfly/sys/net/gif/Makefile (revision 9a92bb4c)
1# $FreeBSD: src/sys/modules/if_gif/Makefile,v 1.1.2.1 2001/07/24 19:10:17 brooks Exp $
2# $DragonFly: src/sys/net/gif/Makefile,v 1.4 2006/10/25 20:56:02 dillon Exp $
3
4.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
5
6KMOD=	if_gif
7SRCS=	if_gif.c in_gif.c in6_gif.c opt_inet.h opt_inet6.h opt_mrouting.h
8SRCS+=	device_if.h bus_if.h
9NOMAN=
10
11.if !defined(BUILDING_WITH_KERNEL)
12opt_inet.h:
13	echo "#define INET 1" > ${.TARGET}
14
15opt_inet6.h:
16	echo "#define INET6 1" > ${.TARGET}
17
18opt_mrouting.h:
19	echo "#define MROUTING 1" > ${.TARGET}
20.endif
21
22.include <bsd.kmod.mk>
23