Makefile revision 1.1
11.1Sitojun#	$NetBSD: Makefile,v 1.1 2001/01/17 05:21:48 itojun Exp $
21.1Sitojun
31.1Sitojun# Makefile for hpcsh tags file and boot blocks
41.1Sitojun
51.1Sitojun#.include "../sh3/Makefile.inc"
61.1Sitojun
71.1SitojunTEVBSH3=	../hpcsh/tags
81.1SitojunSEVBSH3=	../hpcsh/hpcsh/*.[ch] ../hpcsh/include/*.h
91.1SitojunAEVBSH3=	../hpcsh/hpcsh/*.[sS]
101.1Sitojun
111.1Sitojun# Directories in which to place tags links
121.1SitojunDEVBSH3=	hpcsh include
131.1Sitojun
141.1Sitojun.include "../../kern/Make.tags.inc"
151.1Sitojun
161.1Sitojuntags:
171.1Sitojun	-ctags -wdtf ${TEVBSH3} ${SEVBSH3} ${COMM}
181.1Sitojun	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBSH3} | \
191.1Sitojun	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
201.1Sitojun		>> ${TEVBSH3}
211.1Sitojun	sort -o ${TEVBSH3} ${TEVBSH3}
221.1Sitojun
231.1Sitojunlinks:
241.1Sitojun	-for i in ${DEVBSH3}; do \
251.1Sitojun	    (cd $$i && rm -f tags; ln -s ../tags tags); done
261.1Sitojun
271.1Sitojun
281.1SitojunSUBDIR=	include # stand
291.1Sitojun
301.1Sitojun.include <bsd.subdir.mk>
31