Makefile revision 1.4
1#	$NetBSD: Makefile,v 1.4 1994/10/26 07:22:45 cgd Exp $
2
3#	@(#)Makefile	7.3 (Berkeley) 6/9/91
4
5COMM=	../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] ../netns/*.[ch] \
6	../netiso/*.[ch] ../netccitt/*.[ch] \
7	../kern/*.c ../ufs/*.[ch] ../nfs/*.[ch] ../vm/*.[ch] ../sys/*.h
8
9# Makefile for hp300 tags file
10
11SUBDIR= stand
12
13THP300=	../hp300/tags
14SHP300=	../hp300/hp300/*.[ch] ../hp300/include/*.h \
15	../hp300/hpux/*.[ch] ../hp300/dev/*.[ch]
16AHP300=	../hp300/hp300/*.s
17
18# Directories in which to place hp300 tags links
19DHP300=	dev hpux include
20
21tags:
22	-ctags -dtf ${THP300} ${COMM} ${SHP300}
23	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
24	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
25		>> ${THP300}
26	sort -o ${THP300} ${THP300}
27
28links:
29	-for i in ${DHP300}; do \
30	    cd ../$$i && rm -f tags; ln -s ../tags tags; done
31
32.include <bsd.prog.mk>
33