Makefile revision 1.6
11.6Sdyoung# $NetBSD: Makefile,v 1.6 2009/05/20 03:36:36 dyoung Exp $ 21.1Scl 31.1Scl# Makefile for xen tags file 41.1Scl 51.1Scl.include "../../kern/Make.tags.inc" 61.1Scl 71.1Scl.ifmake tags 81.1Scl.include "${SYSDIR}/arch/xen/conf/Makefile.arch.inc" 91.1Scl.endif 101.1Scl 111.1SclTXEN= ${SYSDIR}/arch/xen/tags 121.1Scl 131.6SdyoungSXEN!= ${TOOL_AWK:Uawk} '($$2 ~ /^arch.*\.[c]$$/) {print "${SYSDIR}/" $$2}' \ 141.1Scl ${SYSDIR}/arch/xen/conf/files.xen 151.6SdyoungAXEN!= ${TOOL_AWK:Uawk} '($$2 ~ /^arch.*\.[sS]$$/) {print "${SYSDIR}/" $$2}' \ 161.1Scl ${SYSDIR}/arch/xen/conf/files.xen 171.1SclAXEN+= ${SYSDIR}/arch/xen/${XEN_BUILD}/*.[sS] 181.1Scl 191.1Scl# Directories in which to place tags links 201.1SclDXEN= xen ${XEN_MACHINE_ARCHS} include 211.1Scl 221.1Scltags: 231.6Sdyoung -rm -f ${TXEN} 241.6Sdyoung -echo ${SXEN} | xargs ctags -wadtf ${TXEN} 251.6Sdyoung ${FINDCOMM} | xargs ctags -wadtf ${TXEN} 261.1Scl egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AXEN} | \ 271.6Sdyoung ${TOOL_SED:Used} -e \ 281.5Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 291.1Scl >> ${TXEN} 301.1Scl sort -o ${TXEN} ${TXEN} 311.1Scl 321.1Scllinks: 331.1Scl -for i in ${DXEN}; do \ 341.1Scl (cd $$i && rm -f tags; ln -s ../tags tags); done 351.1Scl 361.1Scl 371.2SbouyerSUBDIR= compile include 381.1Scl 391.1Scl.include <bsd.subdir.mk> 40