[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / macppc

File: [cvs.NetBSD.org] / src / sys / arch / macppc / Makefile (download)

Revision 1.5, Wed Mar 2 04:49:59 2005 UTC (15 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.4: +2 -2 lines

Write tab-separated records to 'tags' file.  A popular vi-alike,
vim, expects for the columns in tags files to be tab-separated,
but these makefiles created space-separated records for the assembly

#	$NetBSD: Makefile,v 1.5 2005/03/02 04:49:59 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] \
AIMACPPC=	${SYSDIR}/arch/macppc/macppc/*.[sS]

# Directories in which to place tags links
DIMACPPC=	macppc dev include pci

.include "../../kern/Make.tags.inc"

	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}

	-for i in ${DIMACPPC}; do \
	    (cd $$i && rm -f tags; ln -s ../tags tags); done

SUBDIR=	compile include stand

.include <bsd.subdir.mk>