blob: 4793bb080009d3203aab2842c1ddaa6bf7587b80 (
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
31
32
33
34
35
36
|
# $OpenBSD: Makefile,v 1.4 2004/10/05 17:56:43 mickey Exp $
# Makefile for hppa tags file and boot blocks
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
NOPROG= noprog
NOMAN= noman
SUBDIR= stand
THPPA= $S/arch/hppa/tags
SHPPA= $S/arch/hppa/hppa/*.[ch] $S/arch/hppa/include/*.h \
$S/arch/hppa/dev/*.[ch] $S/arch/hppa/gsc/*.[ch] \
$S/arch/hppa/spmath/*.[ch]
AHPPA= $S/arch/hppa/hppa/*.S $S/arch/hppa/spmath/*.S \
$S/lib/libkern/arch/hppa/*.[sS]
# Directories in which to place hppa tags links
DHPPA= conf dev gsc hppa spmath include
tags:
-ctags -wdtf ${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 ${THPPA} tags; done
obj: _SUBDIRUSE
.include <bsd.prog.mk>
|