summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/Makefile
blob: b29f50a5245fa066e9ca0a522ff6c61bcf5b51d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#	$OpenBSD: Makefile,v 1.1 2001/08/31 10:55:43 art Exp $

NOPROG=	noprog
NOMAN=	noman

SUBDIR=	stand

TSPARC64=	../sparc64/tags
SSPARC64=	../sparc64/sparc64/*.[ch] ../sparc64/include/*.h ../sparc64/tc/*.[ch]
ASPARC64=	../sparc64/sparc64/*.S

# Directories in which to place sparc64 tags links
DSPARC64=	tc include

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

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

obj: _SUBDIRUSE

.include <bsd.prog.mk>