Deleted Added
sdiff udiff text old ( 98542 ) new ( 185515 )
full compact
1# $FreeBSD: head/sys/amd64/Makefile 185515 2008-12-01 14:15:10Z kensmith $
2# @(#)Makefile 8.1 (Berkeley) 6/11/93
3
4# Makefile for amd64 links, tags file
5
6# SYS is normally set in Make.tags.inc
7SYS=/sys
8
9TAGDIR= amd64
10
11.include "../kern/Make.tags.inc"
12
13all:
14 @echo "make links or tags only"
15
16# Directories in which to place amd64 tags links
17DAMD64= acpica amd64 ia32 include isa linux32 pci
18
19links::
20 -for i in ${COMMDIR1}; do \
21 (cd $$i && { rm -f tags; ln -s ../${TAGDIR}/tags tags; }) done
22 -for i in ${COMMDIR2}; do \
23 (cd $$i && { rm -f tags; ln -s ../../${TAGDIR}/tags tags; }) done
24 -for i in ${DAMD64}; do \
25 (cd $$i && { rm -f tags; ln -s ../tags tags; }) done
26
27SAMD64= ${SYS}/amd64/acpica/*.[ch] \
28 ${SYS}/amd64/amd64/*.[ch] ${SYS}/amd64/ia32/*.[ch] \
29 ${SYS}/amd64/include/*.[ch] ${SYS}/amd64/isa/*.[ch] \
30 ${SYS}/amd64/linux32/*.[ch] ${SYS}/amd64/pci/*.[ch]
31AAMD64= ${SYS}/amd64/amd64/*.S
32
33tags::
34 -ctags -wdt ${COMM} ${SAMD64}
35 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
36 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
37 >> tags
38 sort -o tags tags
39 chmod 444 tags