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