Home | History | Annotate | Line # | Download | only in sparc
Makefile revision 1.8.104.1
      1  1.8.104.1      mjf #	$NetBSD: Makefile,v 1.8.104.1 2009/01/17 13:28:30 mjf Exp $
      2        1.3  deraadt 
      3        1.6  mycroft # Makefile for sparc tags file and boot blocks
      4        1.1  deraadt 
      5        1.6  mycroft TSPARC=	../sparc/tags
      6        1.6  mycroft SSPARC=	../sparc/dev/*.[ch] ../sparc/fpu/*.[ch] \
      7        1.6  mycroft 	../sparc/include/*.[ch] ../sparc/sparc/*.[ch]
      8        1.6  mycroft ASPARC=	../sparc/sparc/*.s
      9        1.4      mrg 
     10        1.6  mycroft # Directories in which to place tags links
     11        1.6  mycroft DSPARC=	conf dev fpu include sparc
     12        1.1  deraadt 
     13        1.2  deraadt tags:
     14        1.6  mycroft 	-ctags -wdtf ${TSPARC} ${SSPARC} ${COMM}
     15        1.1  deraadt 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
     16  1.8.104.1      mjf 	    ${TOOL_SED} -e \
     17  1.8.104.1      mjf 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     18        1.6  mycroft 	    >> tags
     19        1.6  mycroft 	sort -o ${TSPARC} ${TSPARC}
     20        1.6  mycroft 
     21        1.6  mycroft links:
     22        1.6  mycroft 	-for i in ${DSPARC}; do \
     23        1.6  mycroft 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     24        1.6  mycroft 
     25        1.6  mycroft 
     26        1.8    lukem SUBDIR=	compile include stand
     27        1.2  deraadt 
     28        1.4      mrg .include <bsd.subdir.mk>
     29