Makefile revision 52723
1# $FreeBSD: head/sys/modules/netgraph/iface/Makefile 52723 1999-11-01 00:48:06Z julian $ 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 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 15CLEANFILES+= opt_inet.h opt_atalk.h opt_ipx.h 16 17opt_inet.h: 18 touch opt_inet.h 19.if ${IFACE_INET} > 0 20 echo "#define INET 1" > opt_inet.h 21.endif 22 23opt_atalk.h: 24 touch opt_atalk.h 25.if ${IFACE_NETATALK} > 0 26 echo "#define NETATALK ${IFACE_NETATALK}" > opt_atalk.h 27.endif 28 29opt_ipx.h: 30 touch opt_ipx.h 31.if ${IFACE_IPX} > 0 32 echo "#define IPX ${IFACE_IPX}" > opt_ipx.h 33.endif 34 35.include <bsd.kmod.mk> 36