xref: /freebsd/sys/modules/netgraph/cisco/Makefile (revision 23f282aa31e9b6fceacd449020e936e98d6f2298)
1# $FreeBSD$
2# $Whistle: Makefile,v 1.2 1999/01/19 19:39:20 archie Exp $
3
4KMOD=		ng_cisco
5SRCS= 		ng_cisco.c opt_inet.h opt_atalk.h opt_ipx.h
6MAN8=		ng_cisco.8
7
8IFACE_INET?=		1	# 0/1 - requires INET configured in kernel
9IFACE_NETATALK?=	0	# 0/1 - requires NETATALK configured in kernel
10IFACE_IPX?=		0	# 0/1 - requires IPX configured in kernel
11
12CFLAGS+=	${PROTOS}
13
14opt_inet.h:
15	touch opt_inet.h
16.if ${IFACE_INET} > 0
17	echo "#define INET 1" > opt_inet.h
18.endif
19
20opt_atalk.h:
21	touch opt_atalk.h
22.if ${IFACE_NETATALK} > 0
23	echo "#define NETATALK ${IFACE_NETATALK}" > opt_atalk.h
24.endif
25
26opt_ipx.h:
27	touch opt_ipx.h
28.if ${IFACE_IPX} > 0
29	echo "#define IPX ${IFACE_IPX}" > opt_ipx.h
30.endif
31
32.include <bsd.kmod.mk>
33