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