Home | History | Annotate | Line # | Download | only in netwinder
Makefile revision 1.4
      1  1.4  dyoung #	$NetBSD: Makefile,v 1.4 2011/04/04 19:47:00 dyoung Exp $
      2  1.1    matt 
      3  1.1    matt # Makefile for netwinder tags file and boot blocks
      4  1.1    matt 
      5  1.4  dyoung .include <../arm/Makefile.inc>
      6  1.4  dyoung 
      7  1.4  dyoung TNETWINDER=	${SYSDIR}/arch/netwinder/tags
      8  1.4  dyoung SNETWINDER=	${SYSDIR}/arch/netwinder/netwinder/*.[ch] \
      9  1.4  dyoung 		${SYSDIR}/arch/netwinder/include/*.h \
     10  1.4  dyoung 		${SYSDIR}/arch/netwinder/pci/*.[ch]
     11  1.4  dyoung ANETWINDER=	${SYSDIR}/arch/netwinder/netwinder/*.S
     12  1.1    matt 
     13  1.1    matt # Directories in which to place tags links
     14  1.4  dyoung DNETWINDER=	pci include
     15  1.1    matt 
     16  1.1    matt .include "../../kern/Make.tags.inc"
     17  1.1    matt 
     18  1.1    matt tags:
     19  1.4  dyoung 	-rm -f ${TNETWINDER}
     20  1.4  dyoung 	-echo ${SNETWINDER} ${SARM} | xargs ctags -wadtf ${TNETWINDER}
     21  1.4  dyoung 	-${FINDCOMM} | xargs ctags -wadtf ${TNETWINDER}
     22  1.4  dyoung 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANETWINDER} ${AARM} | \
     23  1.3     apb 	    ${TOOL_SED} -e \
     24  1.4  dyoung 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
     25  1.1    matt 	    >> ${TNETWINDER}
     26  1.1    matt 	sort -o ${TNETWINDER} ${TNETWINDER}
     27  1.1    matt 
     28  1.1    matt links:
     29  1.1    matt 	-for i in ${DNETWINDER}; do \
     30  1.1    matt 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     31  1.1    matt 
     32  1.1    matt 
     33  1.2   lukem SUBDIR=	compile include
     34  1.1    matt 
     35  1.1    matt .include <bsd.subdir.mk>
     36