Makefile revision 1.5
11.5Sjonathan# $NetBSD: Makefile,v 1.5 1996/09/29 23:55:05 jonathan Exp $ 21.5Sjonathan# @(#)Makefile 7.3 (Berkeley) 6/9/91 31.4Scgd 41.5Sjonathan# Makefile for pmax tags file and boot blocks 51.1Sderaadt 61.5SjonathanNOPROG= noprog 71.5SjonathanNOMAN= noman 81.1Sderaadt 91.5Sjonathan# Find where mips source fils are for inclusion in tags 101.5Sjonathan.include <../mips/Makefile.inc> 111.1Sderaadt 121.5SjonathanSUBDIR= stand 131.1Sderaadt 141.5SjonathanTPMAX= ../pmax/tags 151.5SjonathanSPMAX= ../pmax/pmax/*.[ch] ../pmax/include/*.h \ 161.5Sjonathan ../pmax/dev/*.[ch] ../pmax/tc/*.[ch] 171.5SjonathanAPMAX= ../pmax/pmax/*.S 181.2Sglass 191.5Sjonathan# Directories in which to place pmax (mips) tags links 201.5SjonathanDPMAX= dev tc include 211.2Sglass 221.5Sjonathantags: ${COMM} ${SPMAX} ${SMIPS} ${APMAX} ${AMIPS} 231.5Sjonathan -ctags -dtf ${TPMAX} ${COMM} ${SPMAX} ${SMIPS} 241.5Sjonathan egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APMAX} ${AMIPS} | \ 251.5Sjonathan sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 261.5Sjonathan >> ${TPMAX} 271.5Sjonathan sort -o ${TPMAX} ${TPMAX} 281.5Sjonathan 291.5Sjonathanlinks: 301.5Sjonathan -for i in ${DPMAX}; do \ 311.5Sjonathan cd $$i && rm -f tags; ln -s ../tags tags; done 321.1Sderaadt 331.5Sjonathanobj: _SUBDIRUSE 341.5Sjonathan 351.5Sjonathan.include <bsd.prog.mk> 36