- -cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC:M*.c} | \
- sed "s;\${.CURDIR}/;;" > tags
-.if !empty(SRCS:M*.s)
- -cd ${.CURDIR}; egrep -o "^ENTRY(.*)|^SYSCALL(.*)" ${.ALLSRC:M*.s} | \
- sed \
- "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \`pwd\`/\1 /^\2(\3\4$$/;" \
- >> tags; sort -o tags tags
-.endif