blob: ef8bdaa16fc90e173853bff67757b7fa0c84c84b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.9 2017/08/15 10:11:31 mrg Exp $
# Makefile for evbmips tags file and boot blocks
# Find where mips source files are for inclusion in tags
.include <../mips/Makefile.inc>
# XXX ! fix this
TEVBMIPS= ${SYSDIR}/arch/evbmips/tags
SEVBMIPS= ${SYSDIR}/arch/evbmips/adm5120/*.[ch]
SEVBMIPS+= ${SYSDIR}/arch/evbmips/alchemy/*.[ch]
SEVBMIPS+= ${SYSDIR}/arch/evbmips/atheros/*.[ch]
SEVBMIPS+= ${SYSDIR}/arch/evbmips/evbmips/*.[ch]
SEVBMIPS+= ${SYSDIR}/arch/evbmips/gdium/*.[ch]
SEVBMIPS+= ${SYSDIR}/arch/evbmips/include/*.h
SEVBMIPS+= ${SYSDIR}/arch/evbmips/isa/*.[ch]
SEVBMIPS+= ${SYSDIR}/arch/evbmips/malta/*.[ch]
SEVBMIPS+= ${SYSDIR}/arch/evbmips/rmixl/*.[ch]
SEVBMIPS+= ${SYSDIR}/arch/evbmips/sbmips/*.[ch]
AEVBMIPS= ${SYSDIR}/arch/evbmips/evbmips/*.S
AEVBMIPS+= ${SYSDIR}/arch/evbmips/sbmips/*.S
# Directories in which to place tags links
DEVBMIPS= evbmips include isa pci
.include "../../kern/Make.tags.inc"
tags:
-rm -f ${TEVBMIPS}
-echo ${SEVBMIPS} ${SMIPS} | xargs ctags -wadtf ${TEVBMIPS}
-${FINDCOMM} | xargs ctags -wadtf ${TEVBMIPS}
egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AEVBMIPS} ${AMIPS} | \
${TOOL_SED} -e \
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TEVBMIPS}
sort -o ${TEVBMIPS} ${TEVBMIPS}
links:
-for i in ${DEVBMIPS}; do \
cd $$i && rm -f tags; ln -s ../tags tags; done
SUBDIR= compile include stand
.include <bsd.subdir.mk>
|