Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / macppc / Makefile
blobd44ee608790feb4fd9d9c66ed6983180ada583f0
1 # $NetBSD: Makefile,v 1.8 2008/10/25 22:27:37 apb Exp $
3 # Makefile for macppc tags file
5 TIMACPPC= ${SYSDIR}/arch/macppc/tags
6 SIMACPPC= ${SYSDIR}/arch/macppc/macppc/*.[ch] \
7 ${SYSDIR}/arch/macppc/include/*.h \
8 ${SYSDIR}/arch/macppc/dev/*.[ch] \
9 ${SYSDIR}/arch/macppc/pci/*.[ch] \
10 ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \
11 ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \
12 ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
13 SIMACPPC+= ${SYSDIR}/arch/powerpc/powerpc/*.[ch] \
14 ${SYSDIR}/arch/powerpc/include/*.h \
15 ${SYSDIR}/arch/powerpc/pci/*.[ch]
16 AIMACPPC= ${SYSDIR}/arch/macppc/macppc/*.[sS]
18 # Directories in which to place tags links
19 DIMACPPC= macppc dev include pci
21 .include "../../kern/Make.tags.inc"
23 tags:
24 -rm -f ${TIMACPPC}
25 -echo ${SIMACPPC} | xargs ctags -wadtf ${TIMACPPC}
26 -${FINDCOMM} | xargs ctags -wadtf ${TIMACPPC}
27 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AIMACPPC} | \
28 ${TOOL_SED} -e \
29 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
30 >> ${TIMACPPC}
31 sort -o ${TIMACPPC} ${TIMACPPC}
33 links:
34 -for i in ${DIMACPPC}; do \
35 (cd $$i && rm -f tags; ln -s ../tags tags); done
37 SUBDIR= compile include stand ../powerpc/include
39 .include <bsd.subdir.mk>