Makefile revision 70711
154561Sbp# $FreeBSD: head/sys/modules/if_ef/Makefile 70711 2001-01-06 14:00:42Z obrien $ 254561Sbp 370711Sobrien.PATH: ${.CURDIR}/../../net 454561Sbp 570711SobrienKMOD= if_ef 670711SobrienSRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h 763794SsheldonhNOMAN= 854561Sbp 954561Sbp# If you need only limited number of frames comment out unneeded ones 1054561Sbp# this will reduce number of visible devices 1159061SbpETHER_II= 1254561SbpETHER_8023= 1354561SbpETHER_8022= 1454561SbpETHER_SNAP= 1554561Sbp 1654561Sbp.if defined(EFDEBUG) 1754561SbpCFLAGS+= -DEF_DEBUG 1854561Sbp.endif 1954561Sbp 2054561Sbpopt_inet.h: 2154561Sbp echo "#define INET 1" > opt_inet.h 2254561Sbp 2354561Sbpopt_ipx.h: 2454561Sbp echo "#define IPX 1" > opt_ipx.h 2554561Sbp 2656424Sbpopt_ef.h: 2756424Sbp.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP 2856424Sbp.if defined(${frame}) 2956424Sbp echo "#define ${frame} 1" >> opt_ef.h 3056424Sbp.endif 3156424Sbp.endfor 3256424Sbp 3354561Sbpload: all 3454561Sbp /sbin/kldload ./${PROG} 3554561Sbp 3654561Sbpunload: 3754561Sbp /sbin/kldunload ${PROG} 3854561Sbp 3960966Speter.include <bsd.kmod.mk> 40