blob: e329cc0d36c1b26736f008af256db9d50e22144f (
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
|
# $OpenBSD: Makefile,v 1.6 2002/07/15 21:29:16 mickey Exp $
# $NetBSD: Makefile,v 1.5 1995/08/04 07:40:31 thorpej Exp $
# @(#)Makefile 7.3 (Berkeley) 6/9/91
# Makefile for hp300 tags file and boot blocks
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
NOPROG= noprog
NOMAN= noman
SUBDIR= stand ../m68k
THP300= $S/arch/hp300/tags
SHP300= $S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \
$S/arch/hp300/hp300/*.[ch] $S/arch/hp300/include/*.h \
$S/arch/hp300/dev/*.[ch]
AHP300= $S/arch/m68k/m68k/*.[Ss] $S/arch/hp300/hp300/*.[Ss] \
$S/lib/libkern/arch/m68k/*.[sS]
# Directories in which to place hp300 tags links
DHP300= dev hp300 include
tags:
-ctags -wdtf ${THP300} ${COMM} ${SHP300}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${THP300}
sort -o ${THP300} ${THP300}
links:
-for i in ${DHP300}; do \
cd $$i && rm -f tags; ln -s ${THP300} tags; done
obj: _SUBDIRUSE
.include <bsd.prog.mk>
|