8067595564
in arch/shark. (NOTE: arch/dnard, a premature move to split out the Shark support code, is going to be deleted. It has bit-rotted.)
30 lines
722 B
Makefile
30 lines
722 B
Makefile
# $NetBSD: Makefile,v 1.1 2002/02/10 01:56:59 thorpej Exp $
|
|
|
|
# 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
|
|
|
|
|
|
SUBDIR= include
|
|
|
|
.include <bsd.subdir.mk>
|