xref: /original-bsd/sys/news3400/Makefile (revision 60e1d6e0)
1#	@(#)Makefile	7.2 (Berkeley) 07/24/92
2
3# Makefile for news3400 tags file
4
5.include "../kern/Make.tags.inc"
6
7all:
8	@echo "make tags only"
9
10NEWS=	/sys/news3400/bm/*.[ch] /sys/news3400/conf/*.[ch] \
11	/sys/news3400/fb/*.[ch] /sys/news3400/hbdev/*.[ch] \
12	/sys/news3400/if/*.[ch] /sys/news3400/include/*.[ch] \
13	/sys/news3400/iodev/*.[ch] /sys/news3400/iop/*.[ch] \
14	/sys/news3400/news3400/*.[ch] /sys/news3400/sio/*.[ch]
15ANEWS=	/sys/news3400/news3400/*.s
16
17tags::
18	-ctags -dt ${COMM} ${NEWS}
19	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANEWS} | \
20	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
21		>> tags
22	sort -o tags tags
23