summaryrefslogtreecommitdiffstats
path: root/sys/amd64/Makefile
diff options
context:
space:
mode:
authorkensmith <kensmith@FreeBSD.org>2008-12-01 14:15:10 +0000
committerkensmith <kensmith@FreeBSD.org>2008-12-01 14:15:10 +0000
commit656329bc07ffea63a199b3859d2b840aeadf63e1 (patch)
tree53e4523f08ea02f0ae9ef2ea33cc51090c6c670f /sys/amd64/Makefile
parent46f97fd71f19c9207cba87a41f6c8ccc8a2bcc27 (diff)
downloadFreeBSD-src-656329bc07ffea63a199b3859d2b840aeadf63e1.zip
FreeBSD-src-656329bc07ffea63a199b3859d2b840aeadf63e1.tar.gz
Adjustments to make a tags file a bit more suitable to amd64.
Reviewed by: peter
Diffstat (limited to 'sys/amd64/Makefile')
-rw-r--r--sys/amd64/Makefile27
1 files changed, 13 insertions, 14 deletions
diff --git a/sys/amd64/Makefile b/sys/amd64/Makefile
index b7d021a..3925e74 100644
--- a/sys/amd64/Makefile
+++ b/sys/amd64/Makefile
@@ -1,39 +1,38 @@
# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 6/11/93
-# Makefile for i386 links, tags file
+# Makefile for amd64 links, tags file
# SYS is normally set in Make.tags.inc
-# SYS=/sys
-SYS=/nsys
+SYS=/sys
-TAGDIR= i386
+TAGDIR= amd64
.include "../kern/Make.tags.inc"
all:
@echo "make links or tags only"
-# Directories in which to place i386 tags links
-DI386= apm i386 ibcs2 include isa linux
+# Directories in which to place amd64 tags links
+DAMD64= acpica amd64 ia32 include isa linux32 pci
links::
-for i in ${COMMDIR1}; do \
(cd $$i && { rm -f tags; ln -s ../${TAGDIR}/tags tags; }) done
-for i in ${COMMDIR2}; do \
(cd $$i && { rm -f tags; ln -s ../../${TAGDIR}/tags tags; }) done
- -for i in ${DI386}; do \
+ -for i in ${DAMD64}; do \
(cd $$i && { rm -f tags; ln -s ../tags tags; }) done
-SI386= ${SYS}/i386/apm/*.[ch] \
- ${SYS}/i386/i386/*.[ch] ${SYS}/i386/ibcs2/*.[ch] \
- ${SYS}/i386/include/*.[ch] ${SYS}/i386/isa/*.[ch] \
- ${SYS}/i386/linux/*.[ch]
-AI386= ${SYS}/i386/i386/*.s
+SAMD64= ${SYS}/amd64/acpica/*.[ch] \
+ ${SYS}/amd64/amd64/*.[ch] ${SYS}/amd64/ia32/*.[ch] \
+ ${SYS}/amd64/include/*.[ch] ${SYS}/amd64/isa/*.[ch] \
+ ${SYS}/amd64/linux32/*.[ch] ${SYS}/amd64/pci/*.[ch]
+AAMD64= ${SYS}/amd64/amd64/*.S
tags::
- -ctags -wdt ${COMM} ${SI386}
- egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
+ -ctags -wdt ${COMM} ${SAMD64}
+ egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> tags
sort -o tags tags
OpenPOWER on IntegriCloud