1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# $FreeBSD$ PROG= mrouted S= ${.CURDIR}/.. .PATH: $S CFLAGS+= -I$S YFLAGS= SRCS= config.c cfparse.y main.c route.c vif.c prune.c callout.c rsrr.c \ ipip.c icmp.c vers.c igmp.c inet.c kern.c CLEANFILES+= vers.c vers.c: $S/VERSION rm -f vers.c ; \ sed 's/.*/char todaysversion[] = "&";/' $S/VERSION > vers.c .include <bsd.prog.mk>