FreeBSD/Linux Kernel Cross Reference
sys/i386/Makefile
1 # from: @(#)Makefile 7.3 (Berkeley) 6/9/91
2 # $FreeBSD$
3
4 # Makefile for i386 tags file
5
6 all:
7 @echo "make tags or links only"
8
9 TI386= ${.OBJDIR}/../i386/tags
10 SI386= ${.CURDIR}/../i386/i386/*.[ch] ${.CURDIR}/../i386/include/*.h \
11 ${.CURDIR}/../i386/isa/*.[ch]
12 AI386= ${.CURDIR}/../i386/i386/*.s
13
14 # Directories in which to place i386 tags links
15 DI386= eisa isa include
16
17 tags:
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
24 #XXX This doesn't work because ${.OBJDIR}/$i doesn't exist
25 #
26 #links:
27 # -for i in ${DI386}; do \
28 # (cd ${.CURDIR}/$$i && rm -f ${.OBJDIR}/tags; \
29 # ln -s ${.OBJDIR}/../tags ${.OBJDIR}/tags) \
30 # done
Cache object: 137f524cf00683b0789b5ba373f09a4a
|