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