Home | History | Annotate | Line # | Download | only in evbarm
Makefile revision 1.2.6.2
      1  1.2.6.2  thorpej #	$NetBSD: Makefile,v 1.2.6.2 2002/01/10 19:41:58 thorpej Exp $
      2  1.2.6.2  thorpej 
      3  1.2.6.2  thorpej # Makefile for evbarm tags file and boot blocks
      4  1.2.6.2  thorpej 
      5  1.2.6.2  thorpej TEVBARM=	../evbarm/tags
      6  1.2.6.2  thorpej SEVBARM=	../evbarm/integrator/*.[ch] ../evbarm/include/*.h \
      7  1.2.6.2  thorpej 		../evbarm/dev/*.[ch] ../evbarm/ifpga/*.[ch] \
      8  1.2.6.2  thorpej 		../evbarm/iq80310/*.[ch] \
      9  1.2.6.2  thorpej 		../evbarm/integrator_fpga/*.[ch] \
     10  1.2.6.2  thorpej AEVBARM=	../evbarm/integrator/*.S ../evbarm/ifpga/*.S \
     11  1.2.6.2  thorpej 
     12  1.2.6.2  thorpej # Directories in which to place tags links
     13  1.2.6.2  thorpej DEVBARM=	include
     14  1.2.6.2  thorpej 
     15  1.2.6.2  thorpej .include "../../kern/Make.tags.inc"
     16  1.2.6.2  thorpej 
     17  1.2.6.2  thorpej tags:
     18  1.2.6.2  thorpej 	-ctags -wdtf ${TEVBARM} ${SEVBARM} ${COMM}
     19  1.2.6.2  thorpej 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBARM} | \
     20  1.2.6.2  thorpej 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     21  1.2.6.2  thorpej 	    >> ${TEVBARM}
     22  1.2.6.2  thorpej 	sort -o ${TEVBARM} ${TEVBARM}
     23  1.2.6.2  thorpej 
     24  1.2.6.2  thorpej links:
     25  1.2.6.2  thorpej 	-for i in ${DEVBARM}; do \
     26  1.2.6.2  thorpej 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     27  1.2.6.2  thorpej 
     28  1.2.6.2  thorpej 
     29  1.2.6.2  thorpej SUBDIR=	include
     30  1.2.6.2  thorpej 
     31  1.2.6.2  thorpej .include <bsd.subdir.mk>
     32