Makefile revision 1.1
11.1Ssoren# $NetBSD: Makefile,v 1.1 2000/06/14 15:32:11 soren Exp $ 21.1Ssoren 31.1Ssoren# Makefile for sgimips 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.1SsorenTSGIMIPS= ../sgimips/tags 91.1SsorenSSGIMIPS= ../sgimips/sgimips/*.[ch] ../sgimips/include/*.h \ 101.1Ssoren ../sgimips/gio/*.[ch] ../sgimips/pbus/*.[ch] 111.1SsorenASGIMIPS= ../sgimips/sgimips/*.S 121.1Ssoren 131.1Ssoren# Directories in which to place tags links 141.1SsorenDSGIMIPS= gio pbus include 151.1Ssoren 161.1Ssoren.include "../../kern/Make.tags.inc" 171.1Ssoren 181.1Ssorentags: 191.1Ssoren -ctags -wdtf ${TSGIMIPS} ${SSGIMIPS} ${SMIPS} ${COMM} 201.1Ssoren egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASGIMIPS} ${AMIPS} | \ 211.1Ssoren sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 221.1Ssoren >> ${TSGIMIPS} 231.1Ssoren sort -o ${TSGIMIPS} ${TSGIMIPS} 241.1Ssoren 251.1Ssorenlinks: 261.1Ssoren -for i in ${DSGIMIPS}; 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