Makefile revision 89260
1178476Sjb# $FreeBSD: head/sys/modules/ip_mroute_mod/Makefile 89260 2002-01-11 15:49:02Z ru $ 2178476Sjb 3178476Sjb.PATH: ${.CURDIR}/../../netinet 4178476Sjb 5178476SjbKMOD= ip_mroute 6178476SjbSRCS= ip_mroute.c opt_mrouting.h opt_random_ip_id.h 7178476Sjb 8178476SjbCFLAGS+= -DMROUTE_KLD 9178476Sjb 10178476SjbRANDOM_IP_ID?= 0 # 0/1 - should jibe with kernel configuration 11178476Sjb 12178476Sjbopt_mrouting.h: 13178476Sjb echo "#define MROUTING 1" > ${.TARGET} 14178476Sjb 15178476Sjbopt_random_ip_id.h: 16178476Sjb touch ${.TARGET} 17178476Sjb.if ${RANDOM_IP_ID} > 0 18178476Sjb echo "#define RANDOM_IP_ID 1" > ${.TARGET} 19178476Sjb.endif 20178476Sjb 21178476Sjb.include <bsd.kmod.mk> 22178476Sjb