Makefile revision 1.1
1# $NetBSD: Makefile,v 1.1 1999/09/13 10:31:06 itojun Exp $ 2 3# Makefile for sh3 tags file and boot blocks 4 5TSH3= ../sh3/tags 6SSH3= ../sh3/sh3/*.[ch] ../sh3/include/*.h \ 7 ../sh3/eisa/*.[ch] ../sh3/isa/*.[ch] ../sh3/pci/*.[ch] 8ASH3= ../sh3/sh3/*.s 9 10# Directories in which to place tags links 11DSH3= include sh3 12 13.include "../../kern/Make.tags.inc" 14 15tags: 16 -ctags -wdtf ${TSH3} ${SSH3} ${COMM} 17 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \ 18 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 19 >> ${TSH3} 20 sort -o ${TSH3} ${TSH3} 21 22links: 23 -for i in ${DSH3}; do \ 24 cd $$i && rm -f tags; ln -s ../tags tags; done 25 26etags: 27 emacs-etags ${SSH3} ${COMM} 28 29elinks: 30 for i in ${DSH3}; do \ 31 cd $$i && rm -f TAGS; ln -s ../TAGS TAGS; cd ..; done 32 33SUBDIR= include 34 35.include <bsd.subdir.mk> 36