Home | History | Annotate | Line # | Download | only in netwinder
Makefile revision 1.3
      1  1.3    apb #	$NetBSD: Makefile,v 1.3 2008/10/25 22:27:38 apb 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.3    apb 	    ${TOOL_SED} -e \
     19  1.3    apb 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     20  1.1   matt 	    >> ${TNETWINDER}
     21  1.1   matt 	sort -o ${TNETWINDER} ${TNETWINDER}
     22  1.1   matt 
     23  1.1   matt links:
     24  1.1   matt 	-for i in ${DNETWINDER}; do \
     25  1.1   matt 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     26  1.1   matt 
     27  1.1   matt 
     28  1.2  lukem SUBDIR=	compile include
     29  1.1   matt 
     30  1.1   matt .include <bsd.subdir.mk>
     31