blob: 82e09664432ddb97b839114344ee25a3bb6d1ab1 (
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
|
# $OpenBSD: Makefile,v 1.4 2005/05/06 11:16:47 pedro Exp $
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
NOPROG=
NOMAN=
NOOBJ=
SUBDIR=
TLUNA88K= $S/arch/luna88k/tags
SLUNA88K= $S/arch/luna88k/luna88k/*.[ch] \
$S/arch/luna88k/ddb/*.[ch] \
$S/arch/luna88k/dev/*.[ch] \
$S/arch/luna88k/include/*.h
ALUNA88K= $S/arch/luna88k/luna88k/*.[sS]
# Directories in which to place luna88k tags links
DLUNA88K= conf ddb dev include luna88k
tags:
-ctags -wdtf ${TLUNA88K} ${COMM} ${SLUNA88K}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ALUNA88K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TLUNA88K}
sort -o ${TLUNA88K} ${TLUNA88K}
links:
-for i in ${DLUNA88K}; do \
(cd $$i && rm -f tags; ln -s ${TLUNA88K} tags); done
obj: _SUBDIRUSE
.include <bsd.prog.mk>
|