Makefile revision 89260
1# $FreeBSD: head/sys/modules/if_ef/Makefile 89260 2002-01-11 15:49:02Z ru $ 2 3.PATH: ${.CURDIR}/../../net 4 5KMOD= if_ef 6SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h 7 8# If you need only limited number of frames comment out unneeded ones 9# this will reduce number of visible devices 10ETHER_II= 11ETHER_8023= 12ETHER_8022= 13ETHER_SNAP= 14 15.if defined(EFDEBUG) 16CFLAGS+= -DEF_DEBUG 17.endif 18 19opt_inet.h: 20 echo "#define INET 1" > opt_inet.h 21 22opt_ipx.h: 23 echo "#define IPX 1" > opt_ipx.h 24 25opt_ef.h: 26.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP 27.if defined(${frame}) 28 echo "#define ${frame} 1" >> opt_ef.h 29.endif 30.endfor 31 32load: all 33 /sbin/kldload ./${PROG} 34 35unload: 36 /sbin/kldunload ${PROG} 37 38.include <bsd.kmod.mk> 39