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