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