Home | History | Annotate | Line # | Download | only in sparc
Makefile revision 1.1
      1 # from: @(#)Makefile	8.1 (Berkeley) 6/11/93
      2 # $Id: Makefile,v 1.1 1993/10/02 10:22:00 deraadt Exp $
      3 #
      4 # Makefile for sparc links, tags file
      5 
      6 .include "../kern/Make.tags.inc"
      7 
      8 all:
      9 	@echo "make links or tags only"
     10 
     11 DIRS=	conf dev fpu include rcons sbus sparc sunos
     12 
     13 links::
     14 	-for i in ${DIRS}; do \
     15 	    (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
     16 
     17 SPARC=	/sys/arch/sparc/dev/*.[ch] /sys/arch/sparc/fpu/*.[ch] \
     18 	/sys/arch/sparc/include/*.[ch] /sys/arch/sparc/rcons/*.[ch] \
     19 	/sys/arch/sparc/sbus/*.[ch] /sys/arch/sparc/sparc/*.[ch] \
     20 	/sys/arch/sparc/sunos/*.[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 	chown bin.wsrc tags
     30 	chmod 444 tags
     31