From 32f73b1c3e662790ded6b171921f8256cb8a754f Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sun, 31 Dec 2000 23:26:34 +0000 Subject: [PATCH] Add a dopey makefile to do the tags dance, which is probably not perfect but is better than nothing by a good deal. --- sys/alpha/Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sys/alpha/Makefile diff --git a/sys/alpha/Makefile b/sys/alpha/Makefile new file mode 100644 index 000000000000..da04916256da --- /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