[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / sys / arch / sparc

File: [local] / sys / arch / sparc / Makefile (download)

Revision 1.1, Tue Mar 4 16:07:53 2008 UTC (16 years, 2 months ago) by nbrk
Branch point for: MAIN

Initial revision

#	$OpenBSD: Makefile,v 1.9 2005/05/06 11:16:48 pedro Exp $
#	$NetBSD: Makefile,v 1.4 1996/03/25 22:48:09 mrg Exp $

#
# Makefile for sparc links, tags file

S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"

SUBDIR= stand

NOPROG=	noprog
NOMAN=	noman

TSPARC=	$S/arch/sparc/tags
DIRS=	conf dev fpu include rcons sbus sparc

links::
	-for i in ${DIRS}; do \
	    (cd $$i && { rm -f tags; ln -s ${TSPARC} tags; }) done

SPARC=	$S/arch/sparc/dev/*.[ch] $S/arch/sparc/fpu/*.[ch] \
	$S/arch/sparc/include/*.[ch] $S/arch/sparc/sparc/*.[ch]
ASPARC=	$S/arch/sparc/sparc/*.[sS] $S/lib/libkern/arch/sparc/*.[sS]

tags:
	-ctags -wdtf ${TSPARC} ${COMM} ${SPARC}
	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
		>> ${TSPARC}
	sort -o ${TSPARC} ${TSPARC}

obj:   _SUBDIRUSE

.include <bsd.prog.mk>
.include <bsd.subdir.mk>