summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_gif/Makefile
blob: 8f61b785a32dc5ba2eb8b9507cbee1240eae8da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $FreeBSD$

.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6

KMOD=	if_gif
SRCS=	if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \
	opt_mrouting.h
.if !defined(NOINET6)
SRCS+=	in6_gif.c
.endif

opt_inet.h:
	echo "#define INET 1" > ${.TARGET}

opt_inet6.h:
.if !defined(NOINET6)
	echo "#define INET6 1" > ${.TARGET}
.else
	echo "" > ${.TARGET}
.endif

opt_mrouting.h:
	echo "#define MROUTING 1" > ${.TARGET}

.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud