Home | History | Annotate | Line # | Download | only in sparc64
Makefile revision 1.4
      1 #	$NetBSD: Makefile,v 1.4 1998/09/13 16:02:47 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 
     10 # Directories in which to place tags links
     11 DSPARC64=	conf dev fpu include sparc64
     12 
     13 tags:
     14 	-ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM}
     15 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
     16 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     17 	    >> tags
     18 	sort -o ${TSPARC64} ${TSPARC64}
     19 
     20 TAGS:
     21 	etags  ${TSPARC64} ${SSPARC64} ${COMM} \
     22 		"--regex=/ENTRY(.*)|FUNC(.*)|SYSCALL(.*)/" ${ASPARC64}
     23 
     24 links:
     25 	-for i in ${DSPARC64}; do \
     26 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     27 
     28 
     29 SUBDIR= include stand
     30 
     31 .include <bsd.subdir.mk>
     32