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
>
9 SALGOR
= ..
/algor
/algor
/*.
[ch
] ..
/algor
/include/*.h ..
/algor
/isa
/*.
[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"
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$$/;" \
23 sort -o
${TALGOR} ${TALGOR}
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
>