Makefile revision 151350
1152616Sle# $FreeBSD: head/sys/modules/if_ef/Makefile 151350 2005-10-14 23:30:17Z yar $ 2152616Sle 3152631Sle.PATH: ${.CURDIR}/../../net 4152616Sle 5152616SleKMOD= if_ef 6152616SleSRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h 7152631Sle 8152631Sle# If you need only limited number of frames comment out unneeded ones 9152631Sle# this will reduce number of visible devices 10152631SleETHER_II= 11152616SleETHER_8023= 12152616SleETHER_8022= 13152616SleETHER_SNAP= 14152616Sle 15152616Sle.if defined(EFDEBUG) 16152616SleCFLAGS+= -DEF_DEBUG 17152616Sle.endif 18152616Sle 19152616Sle.if !defined(KERNBUILDDIR) 20152616Sleopt_inet.h: 21152616Sle echo "#define INET 1" > opt_inet.h 22152616Sle 23152616Sleopt_ipx.h: 24152616Sle echo "#define IPX 1" > opt_ipx.h 25152616Sle 26152616Sleopt_ef.h: 27152616Sle.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP 28152631Sle.if defined(${frame}) 29152616Sle echo "#define ${frame} 1" >> opt_ef.h 30152616Sle.endif 31266014Smarius.endfor 32152616Sle.endif 33152616Sle 34152616Sle.include <bsd.kmod.mk> 35152616Sle