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