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