Annotation of src/sys/arch/pmax/Makefile, Revision 1.10
1.10 ! cgd 1: # $NetBSD: Makefile,v 1.9 1997/10/11 09:12:22 mycroft Exp $
1.4 cgd 2:
1.5 jonathan 3: # Makefile for pmax tags file and boot blocks
1.1 deraadt 4:
1.9 mycroft 5: # Find where mips source files are for inclusion in tags
1.5 jonathan 6: .include <../mips/Makefile.inc>
1.1 deraadt 7:
1.5 jonathan 8: TPMAX= ../pmax/tags
9: SPMAX= ../pmax/pmax/*.[ch] ../pmax/include/*.h \
10: ../pmax/dev/*.[ch] ../pmax/tc/*.[ch]
11: APMAX= ../pmax/pmax/*.S
1.2 glass 12:
1.9 mycroft 13: # Directories in which to place tags links
1.5 jonathan 14: DPMAX= dev tc include
1.2 glass 15:
1.7 mycroft 16: .include "../../kern/Make.tags.inc"
17:
18: tags:
19: -ctags -wdtf ${TPMAX} ${SPMAX} ${SMIPS} ${COMM}
1.5 jonathan 20: egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APMAX} ${AMIPS} | \
21: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
1.7 mycroft 22: >> ${TPMAX}
1.5 jonathan 23: sort -o ${TPMAX} ${TPMAX}
24:
25: links:
26: -for i in ${DPMAX}; do \
27: cd $$i && rm -f tags; ln -s ../tags tags; done
1.9 mycroft 28:
29:
1.10 ! cgd 30: SUBDIR= include stand
1.5 jonathan 31:
1.7 mycroft 32: .include <bsd.subdir.mk>
CVSweb <webmaster@jp.NetBSD.org>