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