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