Makefile revision 80352
1136714Sandre# $FreeBSD: head/sys/modules/ip_mroute_mod/Makefile 80352 2001-07-25 20:15:17Z fenner $ 2136714Sandre 3230443Sbz.PATH: ${.CURDIR}/../../netinet 4230443Sbz 5136714SandreKMOD= ip_mroute 6136714SandreSRCS= ip_mroute.c opt_mrouting.h opt_random_ip_id.h 7136714SandreNOMAN= 8231838Suqs 9136714SandreCFLAGS+= -DMROUTE_KLD 10223593Sglebius 11230443SbzRANDOM_IP_ID?= 0 # 0/1 - should jibe with kernel configuration 12230443Sbz 13230443Sbzopt_mrouting.h: 14230443Sbz echo "#define MROUTING 1" > ${.TARGET} 15230443Sbz 16223593Sglebiusopt_random_ip_id.h: 17223593Sglebius touch ${.TARGET} 18223593Sglebius.if ${RANDOM_IP_ID} > 0 19230443Sbz echo "#define RANDOM_IP_ID 1" > ${.TARGET} 20223593Sglebius.endif 21136714Sandre 22.include <bsd.kmod.mk> 23