Makefile revision 1.8
1# $NetBSD: Makefile,v 1.8 1997/10/11 08:44:45 mycroft Exp $ 2 3# Makefile for hp300 tags file and boot blocks 4 5SUBDIR= stand 6 7THP300= ../hp300/tags 8SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \ 9 ../hp300/dev/*.[ch] 10AHP300= ../hp300/hp300/*.s 11 12# Directories in which to place hp300 tags links 13DHP300= dev hp300 include 14 15.include "../../kern/Make.tags.inc" 16 17tags: 18 -ctags -wdtf ${THP300} ${SHP300} ${COMM} 19 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \ 20 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 21 >> ${THP300} 22 sort -o ${THP300} ${THP300} 23 24links: 25 -for i in ${DHP300}; do \ 26 cd $$i && rm -f tags; ln -s ../tags tags; done 27 28.include <bsd.subdir.mk> 29