Merge branch 'vendor/GDTOA'
[dragonfly.git] / sys / net / gif / Makefile
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
6 KMOD=   if_gif
7 SRCS=   if_gif.c in_gif.c in6_gif.c opt_inet.h opt_inet6.h opt_mrouting.h
8 SRCS+=  device_if.h bus_if.h
9 NOMAN=
10
11 .if !defined(BUILDING_WITH_KERNEL)
12 opt_inet.h:
13         echo "#define INET 1" > ${.TARGET}
14
15 opt_inet6.h:
16         echo "#define INET6 1" > ${.TARGET}
17
18 opt_mrouting.h:
19         echo "#define MROUTING 1" > ${.TARGET}
20 .endif
21
22 .include <bsd.kmod.mk>