154561Sbp# $FreeBSD: releng/10.3/sys/modules/if_ef/Makefile 193744 2009-06-08 19:57:35Z bz $ 254561Sbp 370711Sobrien.PATH: ${.CURDIR}/../../net 454561Sbp 570711SobrienKMOD= if_ef 6193744SbzSRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h 754561Sbp 854561Sbp.if defined(EFDEBUG) 954561SbpCFLAGS+= -DEF_DEBUG 1054561Sbp.endif 1154561Sbp 12151350Syar.if !defined(KERNBUILDDIR) 13155979Syar# If you need only a limited number of frames, uncomment the needed ones. 14155979Syar# This will reduce the number of visible devices. Note that the module 15155979Syar# will support all frames by default, i.e., when all are commented here. 16155979Syar#ETHER_II= 17155979Syar#ETHER_8023= 18155979Syar#ETHER_8022= 19155979Syar#ETHER_SNAP= 20155979Syar 2154561Sbpopt_inet.h: 22161283Sdes echo "#define INET 1" > ${.TARGET} 2354561Sbp 2454561Sbpopt_ipx.h: 25161283Sdes echo "#define IPX 1" > ${.TARGET} 2654561Sbp 2756424Sbpopt_ef.h: 28161283Sdes :> ${.TARGET} 2956424Sbp.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP 3056424Sbp.if defined(${frame}) 31161283Sdes echo "#define ${frame} 1" >> ${.TARGET} 3256424Sbp.endif 3356424Sbp.endfor 34151350Syar.endif 3556424Sbp 3660966Speter.include <bsd.kmod.mk> 37