Home | History | Annotate | Line # | Download | only in sparc64
Makefile revision 1.13.68.1
      1 #	$NetBSD: Makefile,v 1.13.68.1 2007/06/26 18:13:40 garbled Exp $
      2 
      3 # Makefile for sparc64 tags file and boot blocks
      4 
      5 TSPARC64=	${SYSDIR}/arch/sparc64/tags
      6 SSPARC64=	${SYSDIR}/arch/sparc64/dev/*.[ch] \
      7 		${SYSDIR}/arch/sparc/fpu/*.[ch] \
      8 		${SYSDIR}/arch/sparc64/include/*.[ch] \
      9 		${SYSDIR}/arch/sparc64/sparc64/*.[ch]
     10 ASPARC64=	${SYSDIR}/arch/sparc64/sparc64/*.[sS]
     11 # CSPARC64=	../../compat/*/*.[ch]
     12 
     13 # Directories in which to place tags links
     14 DSPARC64=	conf dev fpu include sparc64
     15 
     16 .include "../../kern/Make.tags.inc"
     17 
     18 tags:
     19 	-rm ${TSPARC64}
     20 	-echo ${SSPARC64} ${COMM} | xargs ctags -wadtf ${TSPARC64}
     21 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
     22 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     23 	    >> tags
     24 	sort -o ${TSPARC64} ${TSPARC64}
     25 
     26 links:
     27 	-for i in ${DSPARC64}; do \
     28 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     29 
     30 SUBDIR= compile include ../sparc/include stand
     31 
     32 .include <bsd.subdir.mk>
     33