FreeBSD/Linux Kernel Cross Reference
sys/alpha/Makefile
1 # $FreeBSD: releng/6.3/sys/alpha/Makefile 173886 2007-11-24 19:45:58Z cvs2svn $
2
3 # Makefile for alpha tags file
4
5 # SYS is normally set in Make.tags.inc
6 # SYS=/sys
7
8 TAGDIR= alpha
9
10 .include "../kern/Make.tags.inc"
11
12 all:
13 @echo "make tags only"
14
15 SALPHA= ${SYS}/alpha/mcbus/*.[ch] ${SYS}/alpha/tlsb/*.[ch] \
16 ${SYS}/alpha/alpha/*.[ch] ${SYS}/alpha/pci/*.[ch] \
17 ${SYS}/alpha/include/*.[ch] ${SYS}/alpha/isa/*.[ch] \
18 ${SYS}/alpha/tc/*.[ch] ${SYS}/alpha/osf1/*.[ch] \
19 ${SYS}/alpha/linux/*.[ch]
20 AALPHA= ${SYS}/alpha/alpha/*.s
21
22 tags::
23 @rm -f tags
24 -ctags -wdt ${COMM} ${SALPHA}
25 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AALPHA} | \
26 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
27 >> tags
28 sort -o tags tags
29 chmod 444 tags
Cache object: 834b26898047459fc8a28e5245a62ba5
|