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