Home | History | Annotate | Line # | Download | only in sparc
Makefile revision 1.4
      1 #	$NetBSD: Makefile,v 1.4 1996/03/25 22:48:09 mrg 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 rcons sbus 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/rcons/*.[ch] \
     21 	/sys/arch/sparc/sbus/*.[ch] /sys/arch/sparc/sparc/*.[ch]
     22 ASPARC=	/sys/arch/sparc/sparc/*.s
     23 
     24 tags:
     25 	-ctags -wdt ${COMM} ${SPARC}
     26 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
     27 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     28 		>> tags
     29 	sort -o tags tags
     30 
     31 .include <bsd.prog.mk>
     32 .include <bsd.subdir.mk>
     33