1# $FreeBSD$
2
3.PATH: ${.CURDIR}/../../net
4
5KMOD=	arcnet
6SRCS=	if_arcsubr.c
7SRCS+=	opt_inet.h opt_inet6.h opt_ipx.h opt_ofed.h
8
9EXPORT_SYMS=	arc_frag_init	\
10		arc_frag_next	\
11		arc_ifattach	\
12		arc_ifdetach	\
13		arc_input	\
14		arc_ioctl	\
15		arc_isphds	\
16		arc_output	\
17		arc_storelladdr
18
19.if !defined(KERNBUILDDIR)
20opt_inet.h:
21	echo "#define INET 1" > ${.TARGET}
22
23opt_inet6.h:
24	echo "#define INET6 1" > ${.TARGET}
25
26opt_ipx.h:
27	echo "#define IPX 1" > ${.TARGET}
28.endif
29
30.include <bsd.kmod.mk>
31