Makefile revision 1.7
11.7Seeh# $NetBSD: Makefile,v 1.7 1999/05/09 19:24:19 eeh Exp $ 21.1Seeh 31.1Seeh# Makefile for sparc64 tags file and boot blocks 41.1Seeh 51.1SeehTSPARC64= ../sparc64/tags 61.1SeehSSPARC64= ../sparc64/dev/*.[ch] ../sparc64/fpu/*.[ch] \ 71.1Seeh ../sparc64/include/*.[ch] ../sparc64/sparc64/*.[ch] 81.1SeehASPARC64= ../sparc64/sparc64/*.s 91.7Seeh# CSPARC64= ../../compat/*/*.[ch] 101.1Seeh 111.1Seeh# Directories in which to place tags links 121.1SeehDSPARC64= conf dev fpu include sparc64 131.1Seeh 141.7SeehSYSDIR= ../../ 151.5Seeh.include "../../kern/Make.tags.inc" 161.5Seeh 171.1Seehtags: 181.1Seeh -ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM} 191.1Seeh egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \ 201.1Seeh sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 211.1Seeh >> tags 221.1Seeh sort -o ${TSPARC64} ${TSPARC64} 231.7Seeh 241.7Seeh.ifmake TAGS 251.7SeehCOMM!= find ${SYSDIR} -name "arch" -prune -o -name "*.[ch]" -print 261.7Seeh.endif 271.3Seeh 281.3SeehTAGS: 291.6Seeh etags ${SSPARC64} ${COMM} ${CSPARC64} "--regex=/ENTRY(.*)/" \ 301.5Seeh "--regex=/FUNC(.*)/" "--regex=/SYSCALL(.*)/" ${ASPARC64} 311.1Seeh 321.1Seehlinks: 331.1Seeh -for i in ${DSPARC64}; do \ 341.1Seeh cd $$i && rm -f tags; ln -s ../tags tags; done 351.1Seeh 361.1Seeh 371.2SeehSUBDIR= include stand 381.1Seeh 391.1Seeh.include <bsd.subdir.mk> 40