Makefile revision 1.5
1# $NetBSD: Makefile,v 1.5 1995/08/04 07:40:31 thorpej Exp $ 2 3# @(#)Makefile 7.3 (Berkeley) 6/9/91 4 5# Makefile for hp300 tags file and boot blocks 6 7NOPROG= noprog 8NOMAN= noman 9 10SUBDIR= stand 11 12THP300= ../hp300/tags 13SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \ 14 ../hp300/dev/*.[ch] 15AHP300= ../hp300/hp300/*.s 16 17# Directories in which to place hp300 tags links 18DHP300= dev hp300 include 19 20tags: 21 -ctags -dtf ${THP300} ${COMM} ${SHP300} 22 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \ 23 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 24 >> ${THP300} 25 sort -o ${THP300} ${THP300} 26 27links: 28 -for i in ${DHP300}; do \ 29 cd $$i && rm -f tags; ln -s ../tags tags; done 30 31obj: _SUBDIRUSE 32 33.include <bsd.prog.mk> 34