Makefile revision 60966
1# $FreeBSD: head/sys/modules/if_ef/Makefile 60966 2000-05-27 01:14:33Z peter $ 2 3.PATH: ${.CURDIR}/../../net 4 5KMOD= if_ef 6SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h 7MAN4= ef.4 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 16CFLAGS+= ${PROTOS} 17 18.if defined(EFDEBUG) 19CFLAGS+= -DEF_DEBUG 20.endif 21 22opt_inet.h: 23 echo "#define INET 1" > opt_inet.h 24 25opt_ipx.h: 26 echo "#define IPX 1" > opt_ipx.h 27 28opt_ef.h: 29.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP 30.if defined(${frame}) 31 echo "#define ${frame} 1" >> opt_ef.h 32.endif 33.endfor 34 35load: all 36 /sbin/kldload ./${PROG} 37 38unload: 39 /sbin/kldunload ${PROG} 40 41.include <bsd.kmod.mk> 42