blob: c6cd2a5ce33a8b88de2102bf44db5e66abe602e3 (
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
|
# $OpenBSD: Makefile,v 1.5 2006/09/27 09:13:31 grange Exp $
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
NOPROG= noprog
NOMAN= noman
SUBDIR= stand
TAMD64= $S/arch/amd64/tags
SAMD64= $S/arch/amd64/amd64/*.[ch] \
$S/arch/amd64/include/*.h \
$S/arch/amd64/isa/*.[ch] $S/arch/amd64/pci/*.[ch]
AAMD64= $S/arch/amd64/amd64/*.[sS] $S/lib/libkern/arch/amd64/*.[sS]
# Directories in which to place amd64 tags links
DAMD64= conf amd64 include isa pci
tags:
-ctags -wdtf ${TAMD64} ${COMM} ${SAMD64}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TAMD64}
sort -o ${TAMD64} ${TAMD64}
links:
-for i in ${DAMD64}; do \
(cd $$i && rm -f tags; ln -s ${TAMD64} tags); done
obj: _SUBDIRUSE
.include <bsd.prog.mk>
|