1 # $NetBSD: Makefile,v 1.4 1994/10/26 07:22:45 cgd Exp $ 2 3 # @(#)Makefile 7.3 (Berkeley) 6/9/91 4 5 COMM= ../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] ../netns/*.[ch] \ 6 ../netiso/*.[ch] ../netccitt/*.[ch] \ 7 ../kern/*.c ../ufs/*.[ch] ../nfs/*.[ch] ../vm/*.[ch] ../sys/*.h 8 9 # Makefile for hp300 tags file 10 11 SUBDIR= stand 12 13 THP300= ../hp300/tags 14 SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \ 15 ../hp300/hpux/*.[ch] ../hp300/dev/*.[ch] 16 AHP300= ../hp300/hp300/*.s 17 18 # Directories in which to place hp300 tags links 19 DHP300= dev hpux include 20 21 tags: 22 -ctags -dtf ${THP300} ${COMM} ${SHP300} 23 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \ 24 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 25 >> ${THP300} 26 sort -o ${THP300} ${THP300} 27 28 links: 29 -for i in ${DHP300}; do \ 30 cd ../$$i && rm -f tags; ln -s ../tags tags; done 31 32 .include <bsd.prog.mk> 33