Makefile revision 1.1
11.1Ssoren# $NetBSD: Makefile,v 1.1 2000/03/19 23:07:43 soren Exp $ 21.1Ssoren 31.1Ssoren# Makefile for cobalt tags file 41.1Ssoren 51.1Ssoren# Find where mips source files are for inclusion in tags 61.1Ssoren.include <../mips/Makefile.inc> 71.1Ssoren 81.1SsorenTCOBALT= ../cobalt/tags 91.1SsorenSCOBALT= ../cobalt/cobalt/*.[ch] ../cobalt/include/*.h \ 101.1Ssoren ../cobalt/pci/*.[ch] 111.1SsorenACOBALT= ../cobalt/cobalt/*.S 121.1Ssoren 131.1Ssoren# Directories in which to place tags links 141.1SsorenDCOBALT= pci include 151.1Ssoren 161.1Ssoren.include "../../kern/Make.tags.inc" 171.1Ssoren 181.1Ssorentags: 191.1Ssoren -ctags -wdtf ${TCOBALT} ${SCOBALT} ${SMIPS} ${COMM} 201.1Ssoren egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ACOBALT} ${AMIPS} | \ 211.1Ssoren sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 221.1Ssoren >> ${TCOBALT} 231.1Ssoren sort -o ${TCOBALT} ${TCOBALT} 241.1Ssoren 251.1Ssorenlinks: 261.1Ssoren -for i in ${DCOBALT}; do \ 271.1Ssoren cd $$i && rm -f tags; ln -s ../tags tags; done 281.1Ssoren 291.1SsorenSUBDIR= include 301.1Ssoren 311.1Ssoren.include <bsd.subdir.mk> 32