1 1.5 jonathan # $NetBSD: Makefile,v 1.5 1996/09/29 23:55:05 jonathan Exp $ 2 1.5 jonathan # @(#)Makefile 7.3 (Berkeley) 6/9/91 3 1.4 cgd 4 1.5 jonathan # Makefile for pmax tags file and boot blocks 5 1.1 deraadt 6 1.5 jonathan NOPROG= noprog 7 1.5 jonathan NOMAN= noman 8 1.1 deraadt 9 1.5 jonathan # Find where mips source fils are for inclusion in tags 10 1.5 jonathan .include <../mips/Makefile.inc> 11 1.1 deraadt 12 1.5 jonathan SUBDIR= stand 13 1.1 deraadt 14 1.5 jonathan TPMAX= ../pmax/tags 15 1.5 jonathan SPMAX= ../pmax/pmax/*.[ch] ../pmax/include/*.h \ 16 1.5 jonathan ../pmax/dev/*.[ch] ../pmax/tc/*.[ch] 17 1.5 jonathan APMAX= ../pmax/pmax/*.S 18 1.2 glass 19 1.5 jonathan # Directories in which to place pmax (mips) tags links 20 1.5 jonathan DPMAX= dev tc include 21 1.2 glass 22 1.5 jonathan tags: ${COMM} ${SPMAX} ${SMIPS} ${APMAX} ${AMIPS} 23 1.5 jonathan -ctags -dtf ${TPMAX} ${COMM} ${SPMAX} ${SMIPS} 24 1.5 jonathan egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APMAX} ${AMIPS} | \ 25 1.5 jonathan sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 26 1.5 jonathan >> ${TPMAX} 27 1.5 jonathan sort -o ${TPMAX} ${TPMAX} 28 1.5 jonathan 29 1.5 jonathan links: 30 1.5 jonathan -for i in ${DPMAX}; do \ 31 1.5 jonathan cd $$i && rm -f tags; ln -s ../tags tags; done 32 1.1 deraadt 33 1.5 jonathan obj: _SUBDIRUSE 34 1.5 jonathan 35 1.5 jonathan .include <bsd.prog.mk> 36