1 # $NetBSD: Makefile,v 1.6 2008/10/25 22:27:38 apb Exp $
3 # Makefile for sgimips tags file
5 # Find where mips source files are for inclusion in tags
6 .
include <..
/mips
/Makefile.inc
>
8 TSGIMIPS
= ${SYSDIR}/arch
/sgimips
/tags
9 SSGIMIPS
= ${SYSDIR}/arch
/sgimips
/sgimips
/*.
[ch
] \
10 ${SYSDIR}/arch
/sgimips
/include/*.h \
11 ${SYSDIR}/arch
/sgimips
/dev
/*.
[ch
] \
12 ${SYSDIR}/arch
/sgimips
/eisa
/*.
[ch
] \
13 ${SYSDIR}/arch
/sgimips
/gio
/*.
[ch
] \
14 ${SYSDIR}/arch
/sgimips
/hpc
/*.
[ch
] \
15 ${SYSDIR}/arch
/sgimips
/ioc
/*.
[ch
] \
16 ${SYSDIR}/arch
/sgimips
/mace
/*.
[ch
] \
17 ${SYSDIR}/arch
/sgimips
/pci
/*.
[ch
]
18 ASGIMIPS
= ${SYSDIR}/arch
/sgimips
/sgimips
/*.S
20 # Directories in which to place tags links
21 DSGIMIPS
= dev eisa gio hpc
include pci xio
23 .
include "../../kern/Make.tags.inc"
27 -echo
${SSGIMIPS} ${SMIPS} | xargs ctags
-wadtf
${TSGIMIPS}
28 -${FINDCOMM} | xargs ctags
-wadtf
${TSGIMIPS}
29 egrep
"^ENTRY(.*)|^ALTENTRY(.*)" ${ASGIMIPS} ${AMIPS} | \
31 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
33 sort -o
${TSGIMIPS} ${TSGIMIPS}
36 -for i in
${DSGIMIPS}; do \
37 cd
$$i && rm -f
tags; ln
-s ..
/tags tags; done
40 SUBDIR
= compile
include dev stand
42 .
include <bsd.subdir.mk
>