Home | History | Annotate | Line # | Download | only in netwinder
Makefile revision 1.3.16.1
      1  1.3.16.1  rmind #	$NetBSD: Makefile,v 1.3.16.1 2011/04/21 01:41:15 rmind Exp $
      2       1.1   matt 
      3       1.1   matt # Makefile for netwinder tags file and boot blocks
      4       1.1   matt 
      5  1.3.16.1  rmind .include <../arm/Makefile.inc>
      6  1.3.16.1  rmind 
      7  1.3.16.1  rmind TNETWINDER=	${SYSDIR}/arch/netwinder/tags
      8  1.3.16.1  rmind SNETWINDER=	${SYSDIR}/arch/netwinder/netwinder/*.[ch] \
      9  1.3.16.1  rmind 		${SYSDIR}/arch/netwinder/include/*.h \
     10  1.3.16.1  rmind 		${SYSDIR}/arch/netwinder/pci/*.[ch]
     11  1.3.16.1  rmind ANETWINDER=	${SYSDIR}/arch/netwinder/netwinder/*.S
     12       1.1   matt 
     13       1.1   matt # Directories in which to place tags links
     14  1.3.16.1  rmind 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.3.16.1  rmind 	-rm -f ${TNETWINDER}
     20  1.3.16.1  rmind 	-echo ${SNETWINDER} ${SARM} | xargs ctags -wadtf ${TNETWINDER}
     21  1.3.16.1  rmind 	-${FINDCOMM} | xargs ctags -wadtf ${TNETWINDER}
     22  1.3.16.1  rmind 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANETWINDER} ${AARM} | \
     23       1.3    apb 	    ${TOOL_SED} -e \
     24  1.3.16.1  rmind 		"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