fix header
[unix-history] / usr / src / sys / i386 / Makefile
CommitLineData
c373b117 1# @(#)Makefile 7.5 (Berkeley) %G%
a24db8dd
KB
2
3# Makefile for i386 tags file
4
ad1c75ef
MK
5.include "../kern/Make.tags.inc"
6
a24db8dd
KB
7all:
8 @echo "make tags or links only"
9
10TI386= ../i386/tags
11SI386= ../i386/i386/*.[ch] ../i386/include/*.h ../i386/isa/*.[ch]
12AI386= ../i386/i386/*.s
13
14# Directories in which to place i386 tags links
22046806 15DI386= eisa isa mca include
a24db8dd 16
ad1c75ef 17tags: FRC
a24db8dd
KB
18 -ctags -dtf ${TI386} ${COMM} ${SI386}
19 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
20 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
21 >> ${TI386}
22 sort -o ${TI386} ${TI386}
23
24links:
25 -for i in ${DI386}; do \
c373b117 26 (cd $$i && rm -f tags; ln -s ../tags tags); done
ad1c75ef
MK
27
28FRC: