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

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

Revision 1.6, Sun Jan 23 21:01:48 2000 UTC (20 years, 10 months ago) by soda
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Changes since 1.5: +16 -13 lines

merge to NetBSD-current (DeskStation and Algor support is currently broken)

#	$NetBSD: Makefile,v 1.6 2000/01/23 21:01:48 soda Exp $
#	$OpenBSD: Makefile,v 1.5 1997/05/19 10:34:53 pefo Exp $
#	from: @(#)Makefile	8.1 (Berkeley) 6/16/93

# Makefile for arc tags file and boot blocks

# Find where mips source files are for inclusion in tags
.include <../mips/Makefile.inc>

TARC=	../arc/tags
SARC=	../arc/algor/*.[ch] ../arc/arc/*.[ch] ../arc/dev/*.[ch] \
	../arc/dti/*.[ch] ../arc/include/*.h ../arc/isa/*.[ch] \
	../arc/pci/*.[ch] ../arc/pica/*.[ch]
AARC=	../arc/arc/*.S

# Directories in which to place tags links
DARC=	algor arc dev dti include isa pci pica

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

tags:
	-ctags -wdtf ${TARC} ${SARC} ${SMIPS} ${COMM}
	egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AARC} ${AMIPS} | \
	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
	    >> ${TARC}
	sort -o ${TARC} ${TARC}

links:
	-for i in ${DARC}; do \
	    cd $$i && rm -f tags; ln -s ../tags tags; done


SUBDIR=	include stand

.include <bsd.subdir.mk>