blob: f9ea3c1b68d8f5cf44ebfe5530d7baf5aaebb006 (
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
37
|
# $OpenBSD: Makefile,v 1.5 2002/07/15 21:29:16 mickey Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/11/93
#
# Makefile for mvme88k links, tags file
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
NOPROG= noprog
NOMAN= noman
NOOBJ= noobj
TMVME88K=${.CURDIR}/tags
SUBDIR= stand
DIRS= conf dev include mvme88k
links::
-for i in ${DIRS}; do \
echo $$i ; \
cd ${.CURDIR} ; \
(cd $$i && { rm -f tags; ln -s ${TMVME88K} tags; }) done
SMVME88K=$S/arch/mvme88k/dev/*.[ch] $S/arch/mvme88k/include/*.[ch] \
$S/arch/mvme88k/mvme88k/*.[ch]
AMVME88K=$S/arch/mvme88k/mvme88k/*.[sS]
tags:
-ctags -wdtf ${TMVME88K} ${COMM} ${SMVME88K}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMVME88K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TMVME88K}
sort -o ${TMVME88K} ${TMVME88K}
obj: _SUBDIRUSE
.include <bsd.prog.mk>
|