Home | History | Annotate | Line # | Download | only in shark
Makefile revision 1.1.2.2
      1  1.1.2.2  nathanw #	$NetBSD: Makefile,v 1.1.2.2 2002/02/28 04:11:39 nathanw Exp $
      2  1.1.2.2  nathanw 
      3  1.1.2.2  nathanw # Makefile for shark tags file and boot blocks
      4  1.1.2.2  nathanw 
      5  1.1.2.2  nathanw TSHARK=	../shark/tags
      6  1.1.2.2  nathanw SSHARK=	../shark/shark/*.[ch] ../shark/include/*.h \
      7  1.1.2.2  nathanw 	../shark/isa/*.[ch] ../shark/ofw/*.[ch]
      8  1.1.2.2  nathanw ASHARK=	../shark/isa/*.S ../shark/shark/*.S
      9  1.1.2.2  nathanw 
     10  1.1.2.2  nathanw # Directories in which to place tags links
     11  1.1.2.2  nathanw DSHARK=	isa include ofw
     12  1.1.2.2  nathanw 
     13  1.1.2.2  nathanw .include "../../kern/Make.tags.inc"
     14  1.1.2.2  nathanw 
     15  1.1.2.2  nathanw tags:
     16  1.1.2.2  nathanw 	-ctags -wdtf ${TSHARK} ${SSHARK} ${COMM}
     17  1.1.2.2  nathanw 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASHARK} | \
     18  1.1.2.2  nathanw 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     19  1.1.2.2  nathanw 	    >> ${TSHARK}
     20  1.1.2.2  nathanw 	sort -o ${TSHARK} ${TSHARK}
     21  1.1.2.2  nathanw 
     22  1.1.2.2  nathanw links:
     23  1.1.2.2  nathanw 	-for i in ${DSHARK}; do \
     24  1.1.2.2  nathanw 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     25  1.1.2.2  nathanw 
     26  1.1.2.2  nathanw 
     27  1.1.2.2  nathanw SUBDIR=	include
     28  1.1.2.2  nathanw 
     29  1.1.2.2  nathanw .include <bsd.subdir.mk>
     30