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