1# $NetBSD: Makefile,v 1.7 2011/04/04 19:47:21 dyoung Exp $ 2 3.include <../powerpc/Makefile.inc> 4 5TOFPPC= ${SYSDIR}/arch/ofppc/tags 6SOFPPC= ${SYSDIR}/arch/ofppc/ofppc/*.[ch] \ 7 ${SYSDIR}/arch/ofppc/isa/*.[ch] \ 8 ${SYSDIR}/arch/ofppc/pci/*.[ch] \ 9 ${SYSDIR}/arch/ofppc/include/*.h 10AOFPPC= ${SYSDIR}/arch/ofppc/ofppc/*.S 11 12DOFPPC= include 13 14.include "../../kern/Make.tags.inc" 15 16tags: 17 -rm -f ${TOFPPC} 18 -echo ${SOFPPC} ${SPPC} | xargs ctags -wadtf ${TOFPPC} 19 -${FINDCOMM} | xargs ctags -wadtf ${TOFPPC} 20 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AOFPPC} ${APPC} | \ 21 ${TOOL_SED} -e \ 22 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 23 >> ${TOFPPC} 24 sort -o ${TOFPPC} ${TOFPPC} 25 26links: 27 -for i in ${DOFPPC}; do \ 28 cd $$i && rm -f tags; ln -s ../tags tags; done 29 30 31SUBDIR= compile include stand 32 33.include <bsd.subdir.mk> 34