Home | History | Annotate | Line # | Download | only in evbarm
Makefile revision 1.6
      1 #	$NetBSD: Makefile,v 1.6 2008/10/25 22:27:37 apb Exp $
      2 
      3 # Makefile for evbarm tags file and boot blocks
      4 
      5 TEVBARM=	${SYSDIR}/arch/evbarm/tags
      6 SEVBARM=	${SYSDIR}/arch/arm/xscale/*.[ch] \
      7 		${SYSDIR}/arch/evbarm/dev/*.[ch] \
      8 		${SYSDIR}/arch/evbarm/ifpga/*.[ch] \
      9 		${SYSDIR}/arch/evbarm/include/*.h \
     10 		${SYSDIR}/arch/evbarm/integrator/*.[ch] \
     11 		${SYSDIR}/arch/evbarm/iq31244/*.[ch] \
     12 		${SYSDIR}/arch/evbarm/iq80310/*.[ch] \
     13 		${SYSDIR}/arch/evbarm/iq80321/*.[ch]
     14 AEVBARM=	${SYSDIR}/arch/evbarm/integrator/*.S
     15 
     16 # Directories in which to place tags links
     17 DEVBARM=	include
     18 
     19 .include "../../kern/Make.tags.inc"
     20 
     21 tags:
     22 	-rm -f ${TEVBARM}
     23 	-echo ${SEVBARM} | xargs ctags -wadtf ${TEVBARM}
     24 	-${FINDCOMM} | xargs ctags -wadtf ${TEVBARM}
     25 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBARM} | \
     26 	    ${TOOL_SED} -e \
     27 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     28 	    >> ${TEVBARM}
     29 	sort -o ${TEVBARM} ${TEVBARM}
     30 
     31 links:
     32 	-for i in ${DEVBARM}; do \
     33 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     34 
     35 
     36 SUBDIR=	compile include stand
     37 
     38 .include <bsd.subdir.mk>
     39