Makefile revision 1.1
11.1Smw#	@(#)Makefile	7.3 (Berkeley) 6/9/91
21.1Smw
31.1SmwCOMM=	../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] ../netns/*.[ch] \
41.1Smw	../netiso/*.[ch] ../netccitt/*.[ch] \
51.1Smw	../kern/*.c ../ufs/*.[ch] ../nfs/*.[ch] ../vm/*.[ch] ../sys/*.h
61.1Smw
71.1Smw# Makefile for hp300 tags file
81.1Smw
91.1Smwall:
101.1Smw	@echo "make tags or links only"
111.1Smw
121.1SmwTHP300=	../hp300/tags
131.1SmwSHP300=	../hp300/hp300/*.[ch] ../hp300/include/*.h \
141.1Smw	../hp300/hpux/*.[ch] ../hp300/dev/*.[ch]
151.1SmwAHP300=	../hp300/hp300/*.s
161.1Smw
171.1Smw# Directories in which to place hp300 tags links
181.1SmwDHP300=	dev hpux include
191.1Smw
201.1Smwtags:
211.1Smw	-ctags -dtf ${THP300} ${COMM} ${SHP300}
221.1Smw	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
231.1Smw	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
241.1Smw		>> ${THP300}
251.1Smw	sort -o ${THP300} ${THP300}
261.1Smw
271.1Smwlinks:
281.1Smw	-for i in ${DHP300}; do \
291.1Smw	    cd ../$$i && rm -f tags; ln -s ../tags tags; done
30