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

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

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

Initial revision

#	$OpenBSD: Makefile,v 1.5 2006/09/27 09:13:31 grange Exp $

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

NOPROG=	noprog
NOMAN=	noman

SUBDIR=	stand

TAMD64=	$S/arch/amd64/tags
SAMD64=	$S/arch/amd64/amd64/*.[ch] \
	$S/arch/amd64/include/*.h  \
	$S/arch/amd64/isa/*.[ch] $S/arch/amd64/pci/*.[ch]
AAMD64=	$S/arch/amd64/amd64/*.[sS] $S/lib/libkern/arch/amd64/*.[sS]

# Directories in which to place amd64 tags links
DAMD64=	conf amd64 include isa pci

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

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

obj:	_SUBDIRUSE

.include <bsd.prog.mk>