1998-09-13 20:02:47 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 1998/09/13 16:02:47 eeh Exp $
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
# Makefile for sparc64 tags file and boot blocks
|
|
|
|
|
|
|
|
TSPARC64= ../sparc64/tags
|
|
|
|
SSPARC64= ../sparc64/dev/*.[ch] ../sparc64/fpu/*.[ch] \
|
|
|
|
../sparc64/include/*.[ch] ../sparc64/sparc64/*.[ch]
|
|
|
|
ASPARC64= ../sparc64/sparc64/*.s
|
|
|
|
|
|
|
|
# Directories in which to place tags links
|
|
|
|
DSPARC64= conf dev fpu include sparc64
|
|
|
|
|
|
|
|
tags:
|
|
|
|
-ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
|
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> tags
|
|
|
|
sort -o ${TSPARC64} ${TSPARC64}
|
|
|
|
|
1998-09-06 03:57:24 +04:00
|
|
|
TAGS:
|
1998-09-13 20:02:47 +04:00
|
|
|
etags ${TSPARC64} ${SSPARC64} ${COMM} \
|
|
|
|
"--regex=/ENTRY(.*)|FUNC(.*)|SYSCALL(.*)/" ${ASPARC64}
|
1998-09-06 03:57:24 +04:00
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
links:
|
|
|
|
-for i in ${DSPARC64}; do \
|
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
|
|
|
|
|
1998-08-13 06:10:37 +04:00
|
|
|
SUBDIR= include stand
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|