Makefile revision 56424
1# $FreeBSD: head/sys/modules/if_ef/Makefile 56424 2000-01-23 03:35:11Z bp $ 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 11#ETHER_II= 12ETHER_8023= 13ETHER_8022= 14ETHER_SNAP= 15 16NBPF?= 1 17 18CFLAGS+= ${PROTOS} 19 20.if defined(EFDEBUG) 21CFLAGS+= -DEF_DEBUG 22.endif 23 24opt_inet.h: 25 echo "#define INET 1" > opt_inet.h 26 27opt_ipx.h: 28 echo "#define IPX 1" > opt_ipx.h 29 30opt_ef.h: 31.for frame in ETHER_II ETHER_8023 ETHER_8022 ETHER_SNAP 32.if defined(${frame}) 33 echo "#define ${frame} 1" >> opt_ef.h 34.endif 35.endfor 36 37load: all 38 /sbin/kldload ./${PROG} 39 40unload: 41 /sbin/kldunload ${PROG} 42 43.include <bsd.kmod.mk> 44