Makefile revision 1.11
11.11Slukem# $NetBSD: Makefile,v 1.11 2003/01/06 17:40:45 lukem Exp $ 21.4Scgd 31.5Sjonathan# Makefile for pmax tags file and boot blocks 41.1Sderaadt 51.9Smycroft# Find where mips source files are for inclusion in tags 61.5Sjonathan.include <../mips/Makefile.inc> 71.1Sderaadt 81.5SjonathanTPMAX= ../pmax/tags 91.5SjonathanSPMAX= ../pmax/pmax/*.[ch] ../pmax/include/*.h \ 101.5Sjonathan ../pmax/dev/*.[ch] ../pmax/tc/*.[ch] 111.5SjonathanAPMAX= ../pmax/pmax/*.S 121.2Sglass 131.9Smycroft# Directories in which to place tags links 141.5SjonathanDPMAX= dev tc include 151.2Sglass 161.7Smycroft.include "../../kern/Make.tags.inc" 171.7Smycroft 181.7Smycrofttags: 191.7Smycroft -ctags -wdtf ${TPMAX} ${SPMAX} ${SMIPS} ${COMM} 201.5Sjonathan egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APMAX} ${AMIPS} | \ 211.5Sjonathan sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 221.7Smycroft >> ${TPMAX} 231.5Sjonathan sort -o ${TPMAX} ${TPMAX} 241.5Sjonathan 251.5Sjonathanlinks: 261.5Sjonathan -for i in ${DPMAX}; do \ 271.5Sjonathan cd $$i && rm -f tags; ln -s ../tags tags; done 281.9Smycroft 291.9Smycroft 301.11SlukemSUBDIR= compile include stand 311.5Sjonathan 321.7Smycroft.include <bsd.subdir.mk> 33