mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Add a dopey makefile to do the tags dance, which is probably not perfect
but is better than nothing by a good deal.
This commit is contained in:
parent
56f29ddd1e
commit
32f73b1c3e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70549
29
sys/alpha/Makefile
Normal file
29
sys/alpha/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $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] \
|
||||
${SYS}/alpha/linux/*.[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
|
Loading…
Reference in New Issue
Block a user