blob: 017cf7e4209316f076cc5e11040d762aeeac01c8 (
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
|
# $OpenBSD: Makefile,v 1.2 2000/05/31 19:44:57 mickey Exp $
# Makefile for hppa tags file and boot blocks
.include "../../kern/Make.tags.inc"
NOPROG= noprog
NOMAN= noman
SUBDIR= stand
THPPA= ../hppa/tags
SHPPA= ../hppa/hppa/*.[ch] ../hppa/include/*.h ../hppa/dev/*.[ch] \
../hppa/gsc/*.[ch]
AHPPA= ../hppa/hppa/*.S
# Directories in which to place hppa tags links
DHPPA= conf dev gsc 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>
|