1 # $NetBSD: Makefile,v 1.4 2003/01/06 17:40:38 lukem Exp $
3 # Makefile for mipsco tags file
5 # Find where mips source files are for inclusion in tags
6 .
include <..
/mips
/Makefile.inc
>
8 TMIPSCO
= ..
/mipsco
/tags
9 SMIPSCO
= ..
/mipsco
/mipsco
/*.
[ch
] ..
/mipsco
/include/*.h \
11 AMIPSCO
= ..
/mipsco
/mipsco
/*.S
13 # Directories in which to place tags links
16 .
include "../../kern/Make.tags.inc"
19 -ctags
-wdtf
${TMIPSCO} ${SMIPSCO} ${SMIPS} ${COMM}
20 egrep
"^ENTRY(.*)|^ALTENTRY(.*)" ${AMIPSCO} ${AMIPS} | \
22 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
24 sort -o
${TMIPSCO} ${TMIPSCO}
27 -for i in
${DMIPSCO}; do \
28 cd
$$i && rm -f
tags; ln
-s ..
/tags tags; done
30 SUBDIR
= compile
include stand
32 .
include <bsd.subdir.mk
>