Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / sgimips / Makefile
blob9c263c9fde376a4dfa5fdd989332b9d67202f9a3
1 # $NetBSD: Makefile,v 1.6 2008/10/25 22:27:38 apb Exp $
3 # Makefile for sgimips tags file
5 # Find where mips source files are for inclusion in tags
6 .include <../mips/Makefile.inc>
8 TSGIMIPS= ${SYSDIR}/arch/sgimips/tags
9 SSGIMIPS= ${SYSDIR}/arch/sgimips/sgimips/*.[ch] \
10 ${SYSDIR}/arch/sgimips/include/*.h \
11 ${SYSDIR}/arch/sgimips/dev/*.[ch] \
12 ${SYSDIR}/arch/sgimips/eisa/*.[ch] \
13 ${SYSDIR}/arch/sgimips/gio/*.[ch] \
14 ${SYSDIR}/arch/sgimips/hpc/*.[ch] \
15 ${SYSDIR}/arch/sgimips/ioc/*.[ch] \
16 ${SYSDIR}/arch/sgimips/mace/*.[ch] \
17 ${SYSDIR}/arch/sgimips/pci/*.[ch]
18 ASGIMIPS= ${SYSDIR}/arch/sgimips/sgimips/*.S
20 # Directories in which to place tags links
21 DSGIMIPS= dev eisa gio hpc include pci xio
23 .include "../../kern/Make.tags.inc"
25 tags:
26 -rm -f ${TSGIMIPS}
27 -echo ${SSGIMIPS} ${SMIPS} | xargs ctags -wadtf ${TSGIMIPS}
28 -${FINDCOMM} | xargs ctags -wadtf ${TSGIMIPS}
29 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASGIMIPS} ${AMIPS} | \
30 ${TOOL_SED} -e \
31 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
32 >> ${TSGIMIPS}
33 sort -o ${TSGIMIPS} ${TSGIMIPS}
35 links:
36 -for i in ${DSGIMIPS}; do \
37 cd $$i && rm -f tags; ln -s ../tags tags; done
40 SUBDIR= compile include dev stand
42 .include <bsd.subdir.mk>