2003-01-06 20:40:18 +03:00
|
|
|
# $NetBSD: Makefile,v 1.2 2003/01/06 17:40:49 lukem Exp $
|
2002-02-10 04:53:06 +03:00
|
|
|
|
|
|
|
# Makefile for shark tags file and boot blocks
|
|
|
|
|
|
|
|
TSHARK= ../shark/tags
|
|
|
|
SSHARK= ../shark/shark/*.[ch] ../shark/include/*.h \
|
|
|
|
../shark/isa/*.[ch] ../shark/ofw/*.[ch]
|
|
|
|
ASHARK= ../shark/isa/*.S ../shark/shark/*.S
|
|
|
|
|
|
|
|
# Directories in which to place tags links
|
|
|
|
DSHARK= isa include ofw
|
|
|
|
|
|
|
|
.include "../../kern/Make.tags.inc"
|
|
|
|
|
|
|
|
tags:
|
|
|
|
-ctags -wdtf ${TSHARK} ${SSHARK} ${COMM}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASHARK} | \
|
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> ${TSHARK}
|
|
|
|
sort -o ${TSHARK} ${TSHARK}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DSHARK}; do \
|
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
|
|
|
|
|
2003-01-06 20:40:18 +03:00
|
|
|
SUBDIR= compile include # stand
|
2002-02-10 04:53:06 +03:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|