xref: /dragonfly/sbin/route/Makefile (revision abf903a5)
1#	@(#)Makefile	8.1 (Berkeley) 6/5/93
2# $FreeBSD: src/sbin/route/Makefile,v 1.11.2.3 2002/12/04 14:05:42 ru Exp $
3
4PROG=	route
5MAN=	route.8
6SRCS=	route.c show.c keywords.h
7CFLAGS+=-I.
8CFLAGS+=-DINET6
9CLEANFILES+=keywords.h
10NO_STRICT_ALIASING=
11
12keywords.h: keywords
13	LC_ALL=C awk '!/^#|^$$/ { \
14		printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \
15		    toupper($$1), ++L, $$1, toupper($$1); \
16	}' < ${.CURDIR}/keywords > ${.TARGET} || (rm -f ${.TARGET}; false)
17
18.include <bsd.prog.mk>
19