Makefile revision 1.1
11.1Scgd#	$Id: Makefile,v 1.1 1995/02/13 23:06:39 cgd Exp $
21.1Scgd
31.1Scgd# Makefile for alpha links
41.1Scgd
51.1Scgd.include "../kern/Make.tags.inc"
61.1Scgd
71.1Scgdall:
81.1Scgd	@echo "make links or tags only"
91.1Scgd
101.1ScgdDIRS=	alpha conf dev include osf
111.1Scgd
121.1Scgdlinks::
131.1Scgd	-for i in ${DIRS}; do \
141.1Scgd	    (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
151.1Scgd
161.1Scgd# XXX should be absolute paths
171.1ScgdALPHA=	alpha/*.[ch] conf/*.[ch] dev/*.[ch] include/*.[ch] osf/*.[ch]
181.1ScgdAALPHA=	alpha/*.s
191.1Scgd
201.1Scgdtags::
211.1Scgd	-ctags -wdt ${COMM} ${PMAX}
221.1Scgd	egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${APMAX} | \
231.1Scgd	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
241.1Scgd		>> tags
251.1Scgd	sort -o tags tags
261.1Scgd	chown bin.wsrc tags
271.1Scgd	chmod 444 tags
28