]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/if_gif/Makefile
This commit was generated by cvs2svn to compensate for changes in r156369,
[FreeBSD/FreeBSD.git] / sys / modules / if_gif / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
4
5 KMOD=   if_gif
6 SRCS=   if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \
7         opt_mrouting.h
8
9 .if !defined(KERNBUILDDIR)
10 opt_inet.h:
11         echo "#define INET 1" > ${.TARGET}
12
13 .if !defined(NO_INET6)
14 opt_inet6.h:
15         echo "#define INET6 1" > ${.TARGET}
16 .endif
17
18 opt_mrouting.h:
19         echo "#define MROUTING 1" > ${.TARGET}
20 .else
21 OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h
22 .if empty(OPT_INET6)
23 NO_INET6=
24 .endif
25 .endif
26
27 .if !defined(NO_INET6)
28 SRCS+=  in6_gif.c
29 .endif
30
31 .include <bsd.kmod.mk>