blob: 466a1bfe5e60eb67161d13be3d3a15a642981fa1 (
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
|
# $OpenBSD: Makefile,v 1.3 2005/05/06 02:20:24 uwe Exp $
# $NetBSD: Makefile,v 1.1 2001/06/12 08:32:46 chris Exp $
# Makefile for zaurus tags file and boot blocks
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
SUBDIR= stand
NOPROG= noprog
NOMAN= noman
TZAURUS= $S/arch/zaurus/tags
SZAURUS= $S/arch/zaurus/dev/*.[ch] $S/arch/zaurus/include/*.h \
$S/arch/zaurus/zaurus/*.[ch] $S/arch/arm/arm/*.[ch] \
$S/arch/arm/include/*.h $S/arch/arm/mainbus/*.[ch] \
$S/arch/arm/sa11x0/*.[ch] $S/arch/arm/xscale/*.[ch]
AZAURUS= $S/arch/zaurus/zaurus/*.S $S/arch/arm/arm/*.S \
$S/arch/arm/mainbus/*.S $S/arch/arm/xscale/*.S
# Directories in which to place tags links
DZAURUS= dev include zaurus
tags:
-ctags -wdtf ${TZAURUS} ${SZAURUS} ${COMM}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AZAURUS} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TZAURUS}
sort -o ${TZAURUS} ${TZAURUS}
links:
-for i in ${DZAURUS}; do \
(cd $$i && { rm -f tags; ln -s ${TZAURUS} tags; }) done
obj: _SUBDIRUSE
.include <bsd.prog.mk>
|