blob: 31ad6f39c44ee6fca89656ebd85b50391a5847f5 (
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.3 2005/05/06 11:16:48 pedro Exp $
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
SUBDIR= stand
NOPROG= noprog
NOOBJ= noman
TSGI= $S/arch/sgi/tags
SSGI= $S/arch/sgi/sgi/*.[ch] \
$S/arch/sgi/include/*.h \
$S/arch/sgi/pci/*.[ch]
ASGI= $S/arch/sgi/sgi/*.[sS]
# Directories in which to place sgi tags links
DSGI= conf sgi include pci
tags:
-ctags -wdtf ${TSGI} ${COMM} ${SSGI}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASGI} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TSGI}
sort -o ${TSGI} ${TSGI}
links:
-for i in ${DSGI}; do \
cd $$i && rm -f tags; ln -s ${TSGI} tags; done
obj: _SUBDIRUSE
.include <bsd.prog.mk>
|