Cross Reference: Makefile
xref: /src/sbin/route/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sbin/route/
Makefile revision 1.5
11.1Scgd#	@(#)Makefile	5.6 (Berkeley) 6/27/91
21.2Scgd#
31.5Smycroft#	$Header: /tank/opengrok/rsync2/NetBSD/src/sbin/route/Makefile,v 1.5 1993/04/25 07:50:56 mycroft Exp $
41.1Scgd
51.1ScgdPROG=	route
61.1ScgdMAN8=	route.0
71.1ScgdSRCS=	route.c
81.4SmycroftSRCS=	route.c ccitt_addr.c
91.1ScgdCFLAGS+=-I.
101.5SmycroftCLEANFILES+=keywords.h
111.1ScgdBINOWN=	root
121.1ScgdBINMODE=4555
131.1Scgd
141.1Scgdall route depend lint tags: keywords.h
151.1Scgd
161.5Smycroftkeywords.h: keywords
171.5Smycroft	sed -e '/^#/d' -e '/^$$/d' ${.CURDIR}/keywords > _keywords.tmp
181.5Smycroft	tr a-z A-Z < _keywords.tmp | paste _keywords.tmp - | \
191.5Smycroft	    awk '{ \
201.5Smycroft		if (NF > 1) \
211.5Smycroft			printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \
221.5Smycroft			    $$2, NR, $$1, $$2 }' \
231.5Smycroft	    > ${.TARGET}
241.5Smycroft	rm -f _keywords.tmp
251.1Scgd
261.1Scgd.include <bsd.prog.mk>
27

Indexes created Wed Dec 10 04:09:55 GMT 2025