Home | History | Annotate | Line # | Download | only in sparc
Makefile revision 1.5
      1 #	$NetBSD: Makefile,v 1.5 1996/05/24 23:18:23 pk Exp $
      2 
      3 # from: @(#)Makefile	8.1 (Berkeley) 6/11/93
      4 #
      5 # Makefile for sparc links, tags file
      6 
      7 SUBDIR= stand
      8 
      9 NOPROG=	noprog
     10 NOMAN=	noman
     11 NOOBJ=	noobj
     12 
     13 DIRS=	conf dev fpu include sparc
     14 
     15 links::
     16 	-for i in ${DIRS}; do \
     17 	    (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
     18 
     19 SPARC=	/sys/arch/sparc/dev/*.[ch] /sys/arch/sparc/fpu/*.[ch] \
     20 	/sys/arch/sparc/include/*.[ch] /sys/arch/sparc/sparc/*.[ch]
     21 ASPARC=	/sys/arch/sparc/sparc/*.s
     22 
     23 tags:
     24 	-ctags -wdt ${COMM} ${SPARC}
     25 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
     26 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     27 		>> tags
     28 	sort -o tags tags
     29 
     30 .include <bsd.prog.mk>
     31 .include <bsd.subdir.mk>
     32