Makefile revision 1.5
11.5Sapb# $NetBSD: Makefile,v 1.5 2008/10/25 22:27:38 apb 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.4SapbSXEN!= ${TOOL_AWK} '($$2 ~ /^arch.*\.[c]$$/) {print "${SYSDIR}/" $$2}' \ 141.1Scl ${SYSDIR}/arch/xen/conf/files.xen 151.4SapbAXEN!= ${TOOL_AWK} '($$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.1Scl rm -f ${TXEN} 241.1Scl -echo ${SXEN} ${COMM} | xargs ctags -wadtf ${TXEN} 251.1Scl egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AXEN} | \ 261.5Sapb ${TOOL_SED} -e \ 271.5Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 281.1Scl >> ${TXEN} 291.1Scl sort -o ${TXEN} ${TXEN} 301.1Scl 311.1Scllinks: 321.1Scl -for i in ${DXEN}; do \ 331.1Scl (cd $$i && rm -f tags; ln -s ../tags tags); done 341.1Scl 351.1Scl 361.2SbouyerSUBDIR= compile include 371.1Scl 381.1Scl.include <bsd.subdir.mk> 39