Current Path : /usr/src/sbin/route/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/sbin/route/Makefile |
# @(#)Makefile 8.1 (Berkeley) 6/5/93 # $FreeBSD: release/9.1.0/sbin/route/Makefile 204406 2010-02-27 10:18:33Z uqs $ .include <bsd.own.mk> PROG= route MAN= route.8 SRCS= route.c keywords.h WARNS?= 3 CLEANFILES+=keywords.h _keywords.tmp CFLAGS+= -DNS .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 .endif CFLAGS+= -I. keywords.h: keywords sed -e '/^#/d' -e '/^$$/d' ${.CURDIR}/keywords > _keywords.tmp LC_ALL=C tr 'a-z' 'A-Z' < _keywords.tmp | paste _keywords.tmp - | \ awk '{ \ if (NF > 1) \ printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \ $$2, NR, $$1, $$2 }' \ > ${.TARGET} rm -f _keywords.tmp .include <bsd.prog.mk>