summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/Make.tags.inc25
-rw-r--r--sys/kern/Makefile30
2 files changed, 39 insertions, 16 deletions
diff --git a/sys/kern/Make.tags.inc b/sys/kern/Make.tags.inc
index 1563c4165f1..7c3fadae0d8 100644
--- a/sys/kern/Make.tags.inc
+++ b/sys/kern/Make.tags.inc
@@ -7,12 +7,23 @@
# there is a struct tag with the same name (eg., vmmeter). The real
# solution would probably be for ctags to generate "struct vmmeter" tags.
-COMM= /sys/conf/*.[ch] \
- /sys/dev/*.[ch] /sys/dev/scsi/*.[ch] \
- /sys/kern/*.[ch] /sys/libkern/*.[ch] \
+COMM= /sys/adosfs/*.[ch] \
+ /sys/compat/*/*.[ch] \
+ /sys/conf/*.[ch] \
+ /sys/ddb/*.[ch] \
+ /sys/dev/*.[ch] /sys/dev/*/*.[ch] \
+ /sys/gnu/*.[ch] \
+ /sys/isofs/*/*.[ch] \
+ /sys/kern/*.[ch] \
+ /sys/lib/libkern/*.[ch] \
/sys/miscfs/*/*.[ch] \
- /sys/net/*.[ch] /sys/netccitt/*.[ch] /sys/netinet/*.[ch] \
- /sys/netiso/*.[ch] /sys/netns/*.[ch] \
- /sys/nfs/*.[ch] /sys/sys/*.[ch] \
+ /sys/net/*.[ch] \
+ /sys/netccitt/*.[ch] \
+ /sys/netinet/*.[ch] \
+ /sys/netiso/*.[ch] \
+ /sys/netns/*.[ch] \
+ /sys/nfs/*.[ch] \
+ /sys/scsi/*.[ch] \
/sys/ufs/*/*.[ch] \
- /sys/vm/*.[ch]
+ /sys/vm/*.[ch] \
+ /sys/sys/*.[ch]
diff --git a/sys/kern/Makefile b/sys/kern/Makefile
index 5d161dd9deb..364e4061a11 100644
--- a/sys/kern/Makefile
+++ b/sys/kern/Makefile
@@ -2,7 +2,8 @@
# Makefile for kernel tags files, init_sysent, etc.
-ARCH= hp300 i386 luna68k news3400 pmax sparc tahoe vax
+ARCH= alpha amiga atari hp300 i386 m68k mac68k mvme68k mvme88k pc532 \
+ pica pmax sparc sun3 vax
all:
@echo "make tags, make links or init_sysent.c only"
@@ -28,25 +29,36 @@ SYSTAGS=/var/db/sys_tags
SYSDIR=/sys
# Directories in which to place tags links (other than machine-dependent)
-DGEN= conf \
- dev dev/scsi \
- hp hp/dev hp/hpux \
- kern libkern \
+DGEN= adosfs \
+ compat compat/common compat/freebsd compat/hpux compat/ibcs2 \
+ compat/linux compat/osf1 compat/sunos compat/svr4 compat/ultrix \
+ conf \
+ ddb \
+ dev dev/eisa dev/ic dev/isa dev/pci dev/pcmcia dev/rcons dev/sun \
+ dev/tc \
+ gnu \
+ isofs isofs/cd9660 \
+ kern \
+ lib libkern \
miscfs miscfs/deadfs miscfs/fdesc miscfs/fifofs miscfs/kernfs \
miscfs/nullfs miscfs/portal miscfs/procfs \
miscfs/specfs miscfs/umapfs miscfs/union \
- net netccitt netinet netiso netns nfs scripts sys \
+ msdosfs \
+ net netccitt netinet netiso netns \
+ nfs \
+ scsi \
+ sys \
ufs ufs/ffs ufs/lfs ufs/mfs ufs/ufs \
vm
tags::
-for i in ${ARCH}; do \
- (cd ../$$i && make ${MFLAGS} tags); done
+ (cd ../arch/$$i && make ${MFLAGS} tags); done
links::
rm -f ${SYSTAGS}
- ln -s ${SYSDIR}/${MACHINE}/tags ${SYSTAGS}
+ ln -s ${SYSDIR}/arch/${MACHINE}/tags ${SYSTAGS}
-for i in ${DGEN}; do \
(cd ../$$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
-for i in ${ARCH}; do \
- (cd ../$$i && make ${MFLAGS} SYSTAGS=${SYSTAGS} links); done
+ (cd ../arch/$$i && make ${MFLAGS} SYSTAGS=${SYSTAGS} links); done