Makefile revision 52419
1# $FreeBSD: head/sys/modules/netgraph/iface/Makefile 52419 1999-10-21 09:06:11Z julian $ 2# $Whistle: Makefile,v 1.2 1999/01/19 19:39:21 archie Exp $ 3 4KMOD= ng_iface 5SRCS= ng_iface.c bpfilter.h opt_inet.h opt_atalk.h opt_ipx.h 6MAN8= ng_iface.8 7KMODDEPS= netgraph 8 9IFACE_FILTER?= 0 # 0/1 - requires bpf configured in kernel 10IFACE_INET?= 1 # 0/1 - requires INET configured in kernel 11IFACE_NETATALK?= 0 # 0/1 - requires NETATALK configured in kernel 12IFACE_IPX?= 0 # 0/1 - requires IPX configured in kernel 13 14CFLAGS+= ${PROTOS} 15 16CLEANFILES+= bpfilter.h opt_inet.h opt_atalk.h opt_ipx.h 17 18bpfilter.h: 19 echo "#define NBPFILTER ${IFACE_FILTER}" > bpfilter.h 20 21opt_inet.h: 22 touch opt_inet.h 23.if ${IFACE_INET} > 0 24 echo "#define INET 1" > opt_inet.h 25.endif 26 27opt_atalk.h: 28 touch opt_atalk.h 29.if ${IFACE_NETATALK} > 0 30 echo "#define NETATALK ${IFACE_NETATALK}" > opt_atalk.h 31.endif 32 33opt_ipx.h: 34 touch opt_ipx.h 35.if ${IFACE_IPX} > 0 36 echo "#define IPX ${IFACE_IPX}" > opt_ipx.h 37.endif 38 39.include <bsd.kmod.mk> 40