blob: a96df53b5426fcdcce08cf0f9150ca7c1d29e683 (
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.10 2005/05/06 11:16:48 pedro Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/11/93
#
# Makefile for mvme68k links, tags file
S=${.CURDIR}/../..
.include "$S/kern/Make.tags.inc"
NOPROG= noprog
NOMAN= noman
NOOBJ= noobj
TMVEM68K= $S/arch/mvme68k/tags
SUBDIR= stand ../m68k
DIRS= conf dev include mvme68k
links::
-for i in ${DIRS}; do \
echo $$i ; \
cd ${.CURDIR} ; \
(cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
SMVME68K=$S/arch/mvme68k/dev/*.[ch] $S/arch/mvme68k/include/*.[ch] \
$S/arch/mvme68k/mvme68k/*.[ch]
AMVME68K=$S/arch/mvme68k/mvme68k/*.s $S/lib/libkern/arch/m68k/*.[sS]
tags:
-ctags -wdtf ${TMVEM68K} ${COMM} ${SMVME68K}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMVME68K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> tags
sort -o ${TMVEM68K} ${TMVEM68K}
obj: _SUBDIRUSE
.include <bsd.prog.mk>
|