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