summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/Makefile
blob: d38f3da8c78c32e4f082ae325e444d14781920b1 (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
29
30
#	$OpenBSD: Makefile,v 1.1 1998/06/23 20:23:29 mickey Exp $

# Makefile for hppa tags file and boot blocks

NOPROG=	noprog
NOMAN=	noman

SUBDIR=	stand

THPPA=	../hppa/tags
SHPPA=	../hppa/hppa/*.[ch] ../hppa/include/*.h ../hppa/dev/*.[ch]
AHPPA=	../hppa/hppa/*.S

# Directories in which to place hppa tags links
DHPPA=	dev hppa include

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

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

obj: _SUBDIRUSE

.include <bsd.prog.mk>