blob: a1ff9c5f7b741482be3171ef63ff21a0a9ababea (
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
38
39
40
41
42
43
44
45
46
47
48
49
|
# $OpenBSD: Makefile,v 1.3 2000/03/03 00:54:52 todd Exp $
# from: @(#)Makefile 7.3 (Berkeley) 6/9/91
SUBDIR= stand
DIRS= conf dev ddb mvme88k include
S=${BSDSRCDIR}/sys
COMM= $S/vm/*.[ch] $S/ufs/*.[ch] $S/sys/*.h $S/compat/sunos/*.[ch] \
$S/nfs/*.[ch] $S/netns/*.[ch] $S/netiso/*.[ch] \
$S/netiso/xebec/*.[ch] $S/netinet/*.[ch] $S/netccitt/*.[ch] \
$S/net/*.[ch] $S/miscfs/*/*.[ch] $S/kern/*.[ch] $S/dev/*.[ch] \
$S/scsi/*.[ch] $S/lib/libkern/m88k/*.[ch] $S/lib/libkern/*.[ch]
# Makefile for m88k tags file
#all:
# @echo "make tags or links only"
TM88K= $S/arch/mvme88k/tags
SM88K= $S/arch/mvme88k/mvme88k/*.[ch] $S/arch/mvme88k/include/*.h \
$S/arch/mvme88k/dev/*.[ch]
AM88K= $S/arch/mvme88k/mvme88k/*.s
# Directories in which to place m88k tags links
DM88K= mvme88k dev include
TAGS:
-etags -dt ${COMM} ${SM88K} ${AM88K}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AM88K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TM88K}/tags
tags:
-ctags -dtf ${TM88K} ${COMM} ${SM88K}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AM88K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TM88K}
sort -o ${TM88K} ${TM88K}
links:
-for i in ${DM88K}; do \
rm -f $$i/tags; rm -f $$i/TAGS ; \
ln -s ../tags $$i/tags; ln -s ../TAGS $$i/TAGS; done
obj: _SUBDIRUSE
.include <bsd.prog.mk>
.include <bsd.subdir.mk>
|