No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / arc / Makefile
blob599cb12c278b27af4c080f239788cf477fd8a55d
1 # $NetBSD: Makefile,v 1.10 2005/12/11 12:16:37 christos Exp $
2 # $OpenBSD: Makefile,v 1.5 1997/05/19 10:34:53 pefo Exp $
3 # from: @(#)Makefile 8.1 (Berkeley) 6/16/93
5 # Makefile for arc tags file and boot blocks
7 # Find where mips source files are for inclusion in tags
8 .include <../mips/Makefile.inc>
10 TARC= ../arc/tags
11 SARC= ../arc/arc/*.[ch] ../arc/dev/*.[ch] \
12 ../arc/dti/*.[ch] ../arc/include/*.h ../arc/isa/*.[ch] \
13 ../arc/pci/*.[ch] ../arc/jazz/*.[ch]
14 AARC= ../arc/arc/*.S
16 # Directories in which to place tags links
17 DARC= arc dev dti include isa pci jazz
19 .include "../../kern/Make.tags.inc"
21 tags:
22 -ctags -wdtf ${TARC} ${SARC} ${SMIPS} ${COMM}
23 egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AARC} ${AMIPS} | \
24 ${TOOL_SED} "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
25 >> ${TARC}
26 sort -o ${TARC} ${TARC}
28 links:
29 -for i in ${DARC}; do \
30 cd $$i && rm -f tags; ln -s ../tags tags; done
33 SUBDIR= compile include stand
35 .include <bsd.subdir.mk>