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