1997-05-07 21:28:47 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 1997/05/07 17:29:00 mycroft Exp $
|
1996-09-30 03:51:22 +04:00
|
|
|
# @(#)Makefile 7.3 (Berkeley) 6/9/91
|
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
|
|
|
|
1996-09-30 03:51:22 +04:00
|
|
|
NOPROG= noprog
|
|
|
|
NOMAN= noman
|
1993-10-12 06:22:19 +03:00
|
|
|
|
1996-09-30 03:51:22 +04:00
|
|
|
# Find where mips source fils are for inclusion in tags
|
|
|
|
.include <../mips/Makefile.inc>
|
1993-10-12 06:22:19 +03:00
|
|
|
|
1996-09-30 03:51:22 +04:00
|
|
|
SUBDIR= stand
|
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
|
|
|
|
1996-09-30 03:51:22 +04:00
|
|
|
# Directories in which to place pmax (mips) tags links
|
|
|
|
DPMAX= dev tc include
|
1994-05-27 12:39:00 +04:00
|
|
|
|
1996-09-30 03:51:22 +04:00
|
|
|
tags: ${COMM} ${SPMAX} ${SMIPS} ${APMAX} ${AMIPS}
|
|
|
|
-ctags -dtf ${TPMAX} ${COMM} ${SPMAX} ${SMIPS}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APMAX} ${AMIPS} | \
|
1993-10-12 06:22:19 +03:00
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
1996-09-30 03:51:22 +04:00
|
|
|
>> ${TPMAX}
|
|
|
|
sort -o ${TPMAX} ${TPMAX}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DPMAX}; do \
|
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|