summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-12-31 23:26:34 +0000
committermjacob <mjacob@FreeBSD.org>2000-12-31 23:26:34 +0000
commit45232b4094a5b9ddc54bf0dc57ac731b035e11fa (patch)
treeb17b13806fd714a61dc58c49e18333e10e33fe65 /sys
parent984784059a5f5be5a1f8239be844422b524d3093 (diff)
downloadFreeBSD-src-45232b4094a5b9ddc54bf0dc57ac731b035e11fa.zip
FreeBSD-src-45232b4094a5b9ddc54bf0dc57ac731b035e11fa.tar.gz
Add a dopey makefile to do the tags dance, which is probably not perfect
but is better than nothing by a good deal.
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/sys/alpha/Makefile b/sys/alpha/Makefile
new file mode 100644
index 0000000..da04916
--- /dev/null
+++ b/sys/alpha/Makefile
@@ -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
OpenPOWER on IntegriCloud