Home | History | Annotate | Line # | Download | only in iyonix
      1 #	$NetBSD: Makefile,v 1.4 2011/04/06 01:49:23 dyoung Exp $
      2 
      3 # Makefile for iyonix tags file and boot blocks
      4 
      5 # Find where ARM source files are for inclusion in tags
      6 .include <../arm/Makefile.inc>
      7 
      8 TIYONIX=	${SYSDIR}/arch/iyonix/tags
      9 SIYONIX=	${SYSDIR}/arch/iyonix/iyonix/*.[ch]
     10 SIYONIX+=	${SYSDIR}/arch/iyonix/include/*.h
     11 
     12 # Directories in which to place tags links
     13 DIYONIX=	include
     14 
     15 .include "../../kern/Make.tags.inc"
     16 
     17 tags:
     18 	-rm -f ${TIYONIX}
     19 	-echo ${SIYONIX} ${SARM} | xargs ctags -wadtf ${TIYONIX}
     20 	-${FINDCOMM} | xargs ctags -wadtf ${TIYONIX}
     21 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AARM} | \
     22 	    ${TOOL_SED} -e \
     23 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
     24 	    >> ${TIYONIX}
     25 	sort -o ${TIYONIX} ${TIYONIX}
     26 
     27 links:
     28 	-for i in ${DIYONIX}; do \
     29 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     30 
     31 SUBDIR=	compile include
     32 
     33 .include <bsd.subdir.mk>
     34