Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / sys / net / gre / Makefile
1 # $FreeBSD$
2 # $DragonFly: src/sys/net/gre/Makefile,v 1.3 2006/10/25 20:56:03 dillon Exp $
3
4 .PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet 
5
6 KMOD=   if_gre
7 SRCS=   if_gre.c ip_gre.c opt_inet.h opt_ns.h opt_atalk.h
8 SRCS+=  device_if.h bus_if.h
9
10 .if !defined(BUILDING_WITH_KERNEL)
11 opt_inet.h:
12         echo "#define INET 1" > ${.TARGET}
13
14 opt_ns.h:
15         echo "#define NS 1" > ${.TARGET}
16
17 opt_atalk.h:
18         echo "#define NETATALK 1" > ${.TARGET}
19 .endif
20
21 .include <bsd.kmod.mk>