1#         $NetBSD: Makefile,v 1.4 2011/04/04 19:47:50 dyoung Exp $
2
3.include <../powerpc/Makefile.inc>
4
5TSANDPOINT=         ${SYSDIR}/arch/sandpoint/tags
6SSANDPOINT=         ${SYSDIR}/arch/sandpoint/sandpoint/*.[ch] \
7                    ${SYSDIR}/arch/sandpoint/isa/*.[ch] \
8                    ${SYSDIR}/arch/sandpoint/pci/*.[ch] \
9                    ${SYSDIR}/arch/sandpoint/include/*.h
10ASANDPOINT=         ${SYSDIR}/arch/sandpoint/sandpoint/*.S
11
12DSANDPOINT=         include
13
14.include "../../kern/Make.tags.inc"
15
16tags:
17          -rm -f ${TSANDPOINT}
18          -echo ${SSANDPOINT} ${SPPC} | xargs ctags -wadtf ${TSANDPOINT}
19          -${FINDCOMM} | xargs ctags -wadtf ${TSANDPOINT}
20          egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASANDPOINT} ${APPC} | \
21              ${TOOL_SED} -e \
22                    "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3       \1        /^\2(\3\4$$/;" \
23              >> ${TSANDPOINT}
24          sort -o ${TSANDPOINT} ${TSANDPOINT}
25
26links:
27          -for i in ${DSANDPOINT}; do \
28              cd $$i && rm -f tags; ln -s ../tags tags; done
29
30
31SUBDIR=   compile include stand
32
33.include <bsd.subdir.mk>
34