Home | History | Annotate | Line # | Download | only in arc
Makefile revision 1.8
      1  1.8     lukem #	$NetBSD: Makefile,v 1.8 2003/01/06 17:40:23 lukem Exp $
      2  1.6      soda #	$OpenBSD: Makefile,v 1.5 1997/05/19 10:34:53 pefo Exp $
      3  1.6      soda #	from: @(#)Makefile	8.1 (Berkeley) 6/16/93
      4  1.1  jonathan 
      5  1.6      soda # Makefile for arc tags file and boot blocks
      6  1.3   mycroft 
      7  1.3   mycroft # Find where mips source files are for inclusion in tags
      8  1.3   mycroft .include <../mips/Makefile.inc>
      9  1.3   mycroft 
     10  1.6      soda TARC=	../arc/tags
     11  1.6      soda SARC=	../arc/algor/*.[ch] ../arc/arc/*.[ch] ../arc/dev/*.[ch] \
     12  1.6      soda 	../arc/dti/*.[ch] ../arc/include/*.h ../arc/isa/*.[ch] \
     13  1.7        ur 	../arc/pci/*.[ch] ../arc/jazz/*.[ch]
     14  1.6      soda AARC=	../arc/arc/*.S
     15  1.3   mycroft 
     16  1.3   mycroft # Directories in which to place tags links
     17  1.7        ur DARC=	algor arc dev dti include isa pci jazz
     18  1.1  jonathan 
     19  1.4       cgd .include "../../kern/Make.tags.inc"
     20  1.1  jonathan 
     21  1.3   mycroft tags:
     22  1.6      soda 	-ctags -wdtf ${TARC} ${SARC} ${SMIPS} ${COMM}
     23  1.6      soda 	egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AARC} ${AMIPS} | \
     24  1.3   mycroft 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     25  1.6      soda 	    >> ${TARC}
     26  1.6      soda 	sort -o ${TARC} ${TARC}
     27  1.1  jonathan 
     28  1.3   mycroft links:
     29  1.6      soda 	-for i in ${DARC}; do \
     30  1.3   mycroft 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     31  1.1  jonathan 
     32  1.3   mycroft 
     33  1.8     lukem SUBDIR=	compile include stand
     34  1.3   mycroft 
     35  1.3   mycroft .include <bsd.subdir.mk>
     36