1997-10-11 13:11:17 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 1997/10/11 09:11:19 mycroft Exp $
|
1993-05-13 17:56:20 +04:00
|
|
|
|
1995-08-04 11:40:31 +04:00
|
|
|
# Makefile for hp300 tags file and boot blocks
|
1993-05-13 17:56:20 +04:00
|
|
|
|
1997-10-11 13:11:17 +04:00
|
|
|
# Find where m68k source files are for inclusion in tags
|
|
|
|
.include <../m68k/Makefile.inc>
|
1993-05-13 17:56:20 +04:00
|
|
|
|
|
|
|
THP300= ../hp300/tags
|
|
|
|
SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \
|
1995-08-04 11:40:31 +04:00
|
|
|
../hp300/dev/*.[ch]
|
1993-05-13 17:56:20 +04:00
|
|
|
AHP300= ../hp300/hp300/*.s
|
|
|
|
|
1997-10-11 13:11:17 +04:00
|
|
|
# Directories in which to place tags links
|
1995-08-04 11:40:31 +04:00
|
|
|
DHP300= dev hp300 include
|
1993-05-13 17:56:20 +04:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
.include "../../kern/Make.tags.inc"
|
|
|
|
|
1993-05-13 17:56:20 +04:00
|
|
|
tags:
|
1997-10-11 13:11:17 +04:00
|
|
|
-ctags -wdtf ${THP300} ${SHP300} ${SM68K} ${COMM}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} ${AM68K} | \
|
1993-05-13 17:56:20 +04:00
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
1997-10-11 12:42:02 +04:00
|
|
|
>> ${THP300}
|
1993-05-13 17:56:20 +04:00
|
|
|
sort -o ${THP300} ${THP300}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DHP300}; do \
|
1995-08-04 11:40:31 +04:00
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
|
1997-10-11 13:11:17 +04:00
|
|
|
|
|
|
|
SUBDIR= stand
|
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
.include <bsd.subdir.mk>
|