Add a 'tags' target to macppc.
This commit is contained in:
parent
a0e5ea5bcb
commit
4ccb1f5236
@ -1,4 +1,31 @@
|
||||
# $NetBSD: Makefile,v 1.3 2003/01/06 17:40:37 lukem Exp $
|
||||
# $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
|
||||
|
||||
SUBDIR= compile include stand
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.5 2003/12/11 00:27:42 matt Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2004/03/13 05:55:40 dyoung Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${USETOOLS} != "yes"
|
||||
.if (${USETOOLS} != "yes")
|
||||
SUBDIR= fixcoff .WAIT
|
||||
.endif
|
||||
SUBDIR+= bootxx ofwboot
|
||||
|
@ -1,4 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.6 2003/12/11 00:27:42 matt Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2004/03/13 05:55:40 dyoung Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${USETOOLS} == "yes"
|
||||
PROG= fixcoff
|
||||
|
Loading…
Reference in New Issue
Block a user