NetBSD/sys/arch/hp300/Makefile

33 lines
798 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 1998/06/12 23:22:35 cgd Exp $
1995-08-04 11:40:31 +04:00
# Makefile for hp300 tags file and boot blocks
1997-10-11 13:11:17 +04:00
# Find where m68k source files are for inclusion in tags
.include <../m68k/Makefile.inc>
THP300= ../hp300/tags
SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \
1995-08-04 11:40:31 +04:00
../hp300/dev/*.[ch]
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
.include "../../kern/Make.tags.inc"
tags:
1997-10-11 13:11:17 +04:00
-ctags -wdtf ${THP300} ${SHP300} ${SM68K} ${COMM}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} ${AM68K} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${THP300}
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= include stand
1997-10-11 13:11:17 +04:00
.include <bsd.subdir.mk>