2003-01-06 20:40:18 +03:00
|
|
|
# $NetBSD: Makefile,v 1.11 2003/01/06 17:40:45 lukem 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
|
|
|
|
2003-01-06 20:40:18 +03:00
|
|
|
SUBDIR= compile include stand
|
1997-10-11 13:12:18 +04:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
.include <bsd.subdir.mk>
|