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 5TEVBARM= ${SYSDIR}/arch/evbarm/tags 6SEVBARM= ${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] 14AEVBARM= ${SYSDIR}/arch/evbarm/integrator/*.S 15 16# Directories in which to place tags links 17DEVBARM= include 18 19.include "../../kern/Make.tags.inc" 20 21tags: 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 31links: 32 -for i in ${DEVBARM}; do \ 33 cd $$i && rm -f tags; ln -s ../tags tags; done 34 35 36SUBDIR= compile include stand 37 38.include <bsd.subdir.mk> 39