xref: /csrg-svn/sys/vax/Makefile (revision 63396)
1*63396Sbostic#	@(#)Makefile	8.1 (Berkeley) 06/11/93
249486Sbostic
363395Sbostic# Makefile for vax link, tags file
449486Sbostic
553369Skarels.include "../kern/Make.tags.inc"
653369Skarels
749486Sbosticall:
863395Sbostic	@echo "make links or tags only"
949486Sbostic
1063395SbosticDIRS=	bi cassette conf consolerl datakit dist floppy if include mba \
1163395Sbostic	mdec uba vax
1263395Sbostic
1363395Sbosticlinks::
1463395Sbostic	-for i in ${DIRS}; do \
1563395Sbostic	    (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
1663395Sbostic
1763395SbosticVAX=	/sys/vax/bi/*.[ch] /sys/vax/if/*.[ch] /sys/vax/include/*.[ch] \
1863395Sbostic	/sys/vax/mba/*.[ch] /sys/vax/uba/*.[ch] /sys/vax/vax/*.[ch]
1955681SbosticAVAX=	/sys/vax/vax/*.s
2049486Sbostic
2155681Sbostictags::
2263395Sbostic	-ctags -wdt ${COMM} ${VAX}
2355681Sbostic	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AVAX} | \
2449486Sbostic	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
2555681Sbostic		>> tags
2655681Sbostic	sort -o tags tags
2763395Sbostic	chown bin.wsrc tags
2863395Sbostic	chmod 444 tags
29