2 # @(#)Makefile 8.1 (Berkeley) 6/11/93
4 # Makefile for amd64 links, tags file
6 # SYS is normally set in Make.tags.inc
11 .include "../kern/Make.tags.inc"
14 @echo "make links or tags only"
16 # Directories in which to place amd64 tags links
17 DAMD64= acpica amd64 ia32 include isa linux32 pci
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
27 SAMD64= ${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]
31 AAMD64= ${SYS}/amd64/amd64/*.S
34 -ctags -wdt ${COMM} ${SAMD64}
35 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
36 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \