xref: /original-bsd/sys/hp300/Makefile (revision d364528e)
1#	@(#)Makefile	7.6 (Berkeley) 07/24/92
2
3# Makefile for hp300 tags file
4
5.include "../kern/Make.tags.inc"
6
7all:
8	@echo "make tags only"
9
10HP300=	/sys/hp/dev/*.[ch] /sys/hp/hpux/*.[ch] /sys/hp300/conf/*.[ch] \
11	/sys/hp300/dev/*.[ch] /sys/hp300/hp300/*.[ch] /sys/hp300/include/*.[ch]
12AHP300=	/sys/hp300/hp300/*.s
13
14tags::
15	-ctags -dt ${COMM} ${HP300}
16	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
17	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
18		>> tags
19	sort -o tags tags
20