aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/Makefile
blob: 4df175d59113aeed1951a47d6c194ecf5b9740ad (plain) (blame)
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
# $FreeBSD$

# Makefile for alpha tags file

# SYS is normally set in Make.tags.inc
# SYS=/sys

TAGDIR=	alpha

.include "../kern/Make.tags.inc"

all:
	@echo "make tags only"

SALPHA=	${SYS}/alpha/mcbus/*.[ch] ${SYS}/alpha/tlsb/*.[ch] \
	${SYS}/alpha/alpha/*.[ch] ${SYS}/alpha/pci/*.[ch] \
	${SYS}/alpha/include/*.[ch] ${SYS}/alpha/isa/*.[ch] \
	${SYS}/alpha/tc/*.[ch] ${SYS}/alpha/osf1/*.[ch]
AALPHA=	${SYS}/alpha/alpha/*.s

tags::
	@rm -f tags
	-ctags -wdt ${COMM} ${SALPHA}
	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AALPHA} | \
	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
		>> tags
	sort -o tags tags
	chmod 444 tags