2000-09-28 19:19:56 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 2000/09/28 15:19:56 eeh Exp $
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
# Makefile for sparc64 tags file and boot blocks
|
|
|
|
|
|
|
|
TSPARC64= ../sparc64/tags
|
2000-09-28 19:19:56 +04:00
|
|
|
SSPARC64= ../sparc64/dev/*.[ch] ../sparc/fpu/*.[ch] \
|
1998-06-20 08:58:50 +04:00
|
|
|
../sparc64/include/*.[ch] ../sparc64/sparc64/*.[ch]
|
|
|
|
ASPARC64= ../sparc64/sparc64/*.s
|
1999-05-09 23:24:19 +04:00
|
|
|
# CSPARC64= ../../compat/*/*.[ch]
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
# Directories in which to place tags links
|
|
|
|
DSPARC64= conf dev fpu include sparc64
|
|
|
|
|
2000-08-01 02:17:05 +04:00
|
|
|
SYSDIR= ../..
|
1998-09-22 06:48:42 +04:00
|
|
|
.include "../../kern/Make.tags.inc"
|
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
tags:
|
|
|
|
-ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
|
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> tags
|
|
|
|
sort -o ${TSPARC64} ${TSPARC64}
|
|
|
|
|
1999-05-09 23:24:19 +04:00
|
|
|
.ifmake TAGS
|
|
|
|
COMM!= find ${SYSDIR} -name "arch" -prune -o -name "*.[ch]" -print
|
|
|
|
.endif
|
|
|
|
|
2000-08-01 02:17:05 +04:00
|
|
|
TAGS: ${SSPARC64} ${COMM} ${CSPARC64} ${ASPARC64}
|
1998-10-08 06:31:39 +04:00
|
|
|
etags ${SSPARC64} ${COMM} ${CSPARC64} "--regex=/ENTRY(.*)/" \
|
1998-09-22 06:48:42 +04:00
|
|
|
"--regex=/FUNC(.*)/" "--regex=/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>
|