1998-06-13 03:22:30 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 1998/06/12 23:22:43 cgd Exp $
|
1994-10-27 00:08:38 +03:00
|
|
|
|
1996-09-30 03:51:22 +04:00
|
|
|
# Makefile for pmax tags file and boot blocks
|
1993-10-12 06:22:19 +03:00
|
|
|
|
1997-10-11 13:12:18 +04:00
|
|
|
# Find where mips source files are for inclusion in tags
|
1996-09-30 03:51:22 +04:00
|
|
|
.include <../mips/Makefile.inc>
|
1993-10-12 06:22:19 +03:00
|
|
|
|
1996-09-30 03:51:22 +04:00
|
|
|
TPMAX= ../pmax/tags
|
|
|
|
SPMAX= ../pmax/pmax/*.[ch] ../pmax/include/*.h \
|
|
|
|
../pmax/dev/*.[ch] ../pmax/tc/*.[ch]
|
|
|
|
APMAX= ../pmax/pmax/*.S
|
1994-05-27 12:39:00 +04:00
|
|
|
|
1997-10-11 13:12:18 +04:00
|
|
|
# Directories in which to place tags links
|
1996-09-30 03:51:22 +04:00
|
|
|
DPMAX= dev tc include
|
1994-05-27 12:39:00 +04:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
.include "../../kern/Make.tags.inc"
|
|
|
|
|
|
|
|
tags:
|
|
|
|
-ctags -wdtf ${TPMAX} ${SPMAX} ${SMIPS} ${COMM}
|
1996-09-30 03:51:22 +04:00
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APMAX} ${AMIPS} | \
|
1993-10-12 06:22:19 +03:00
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
1997-10-11 12:42:02 +04:00
|
|
|
>> ${TPMAX}
|
1996-09-30 03:51:22 +04:00
|
|
|
sort -o ${TPMAX} ${TPMAX}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DPMAX}; do \
|
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
|
1997-10-11 13:12:18 +04:00
|
|
|
|
1998-06-13 03:22:30 +04:00
|
|
|
SUBDIR= include stand
|
1997-10-11 13:12:18 +04:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
.include <bsd.subdir.mk>
|