blob: a344733d7a22f91e53b8ac748846538623ce6258 (
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
|
# $OpenBSD: Makefile,v 1.4 2005/05/06 11:16:47 pedro 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/arch/amd64/isa/*.[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>
|