No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / algor / Makefile
blob9731d087f80fe6486882b7782640cfc3867fc857
1 # $NetBSD: Makefile,v 1.2 2003/01/06 17:40:21 lukem Exp $
3 # Makefile for algor tags file and boot blocks
5 # Find where mips source files are for inclusion in tags
6 .include <../mips/Makefile.inc>
8 TALGOR= ../algor/tags
9 SALGOR= ../algor/algor/*.[ch] ../algor/include/*.h ../algor/isa/*.[ch] \
10 ../algor/pci/*.[ch]
11 AALGOR= ../algor/algor/*.S
13 # Directories in which to place tags links
14 DALGOR= algor include isa pci
16 .include "../../kern/Make.tags.inc"
18 tags:
19 -ctags -wdtf ${TALGOR} ${SALGOR} ${SMIPS} ${COMM}
20 egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AALGOR} ${AMIPS} | \
21 ${TOOL_SED} "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
22 >> ${TARC}
23 sort -o ${TALGOR} ${TALGOR}
25 links:
26 -for i in ${DALGOR}; do \
27 cd $$i && rm -f tags; ln -s ../tags tags; done
30 SUBDIR= compile include
32 .include <bsd.subdir.mk>