2004-03-13 08:55:40 +03:00
|
|
|
# $NetBSD: Makefile,v 1.4 2004/03/13 05:55:40 dyoung Exp $
|
|
|
|
|
|
|
|
# Makefile for macppc tags file
|
|
|
|
|
|
|
|
TIMACPPC= ${SYSDIR}/arch/macppc/tags
|
|
|
|
SIMACPPC= ${SYSDIR}/arch/macppc/macppc/*.[ch] \
|
|
|
|
${SYSDIR}/arch/macppc/include/*.h \
|
|
|
|
${SYSDIR}/arch/macppc/dev/*.[ch] \
|
|
|
|
${SYSDIR}/arch/macppc/pci/*.[ch] \
|
|
|
|
${SYSDIR}/../contrib/sys/dev/ic/*.[ch]
|
|
|
|
AIMACPPC= ${SYSDIR}/arch/macppc/macppc/*.[sS]
|
|
|
|
|
|
|
|
# Directories in which to place tags links
|
|
|
|
DIMACPPC= macppc dev include pci
|
|
|
|
|
|
|
|
.include "../../kern/Make.tags.inc"
|
|
|
|
|
|
|
|
tags:
|
|
|
|
rm -f ${TIMACPPC}
|
|
|
|
-echo ${SIMACPPC} ${COMM} | xargs ctags -wadtf ${TIMACPPC}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AIMACPPC} | \
|
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> ${TIMACPPC}
|
|
|
|
sort -o ${TIMACPPC} ${TIMACPPC}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DIMACPPC}; do \
|
|
|
|
(cd $$i && rm -f tags; ln -s ../tags tags); done
|
1998-05-15 14:15:45 +04:00
|
|
|
|
2003-01-06 20:40:18 +03:00
|
|
|
SUBDIR= compile include stand
|
1998-05-15 14:15:45 +04:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|