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