summaryrefslogtreecommitdiff
path: root/sys/arch/arc/Makefile
blob: bf6efe7852c3b809442b84ca461d2a4e5d2572e7 (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
#	from: @(#)Makefile	8.1 (Berkeley) 6/16/93
#	$Id: Makefile,v 1.5 1997/05/19 10:34:53 pefo Exp $

# Makefile for arc links, tags file

.include "../../kern/Make.tags.inc"

SUBDIR=	stand

NOPROG=	noprog
NOOBJ=	noman

TARC=	../arc/tags
SARC=	../arc/arc/*.[ch] ../arc/dev/*.[ch] ../arc/dti/*.[ch] \
	../arc/include/*.h ../arc/isa/*.[ch] ../arc/pci/*.[ch] \
	../arc/pica/*.[ch]
AARC=	../arc/arc/*.S

DARC=	arc dev dti include isa pci pica

tags:
	-ctags -wdtf ${TARC} ${COMM} ${SARC}
	egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AARC} | \
	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
		>> ${TARC}
	sort -o ${TARC} ${TARC}

links:
	-for i in ${DARC}; do \
	    cd $$i && rm -f tags; ln -s ../tags tags; done


obj:	_SUBDIRUSE

.include <bsd.prog.mk>