34 lines
874 B
Makefile
34 lines
874 B
Makefile
# $NetBSD: Makefile,v 1.5 1998/09/22 02:48:42 eeh Exp $
|
|
|
|
# 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
|
|
|
|
.include "../../kern/Make.tags.inc"
|
|
|
|
tags:
|
|
-ctags -wdtf ${TSPARC64} ${SSPARC64} ${COMM}
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC64} | \
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
>> tags
|
|
sort -o ${TSPARC64} ${TSPARC64}
|
|
|
|
TAGS:
|
|
etags ${SSPARC64} ${COMM} "--regex=/ENTRY(.*)/" \
|
|
"--regex=/FUNC(.*)/" "--regex=/SYSCALL(.*)/" ${ASPARC64}
|
|
|
|
links:
|
|
-for i in ${DSPARC64}; do \
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
|
|
SUBDIR= include stand
|
|
|
|
.include <bsd.subdir.mk>
|