summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k/Makefile
blob: f4ee4fdde193eea3a2936af4f2f69712752cfd65 (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.5 2006/09/27 09:13:31 grange 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/dev/*.[ch] \
		$S/arch/luna88k/include/*.h
ALUNA88K=	$S/arch/luna88k/luna88k/*.[sS]

# Directories in which to place luna88k tags links
DLUNA88K=	conf 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>