1 # from: @(#)Makefile 7.3 (Berkeley) 6/9/91 2 # $Id: Makefile,v 1.3 1994/04/27 06:23:02 hpeyerl Exp $ 3 4 COMM= ../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] ../netns/*.[ch] \ 5 ../netiso/*.[ch] ../netccitt/*.[ch] \ 6 ../kern/*.c ../ufs/*.[ch] ../nfs/*.[ch] ../vm/*.[ch] ../sys/*.h 7 8 # Makefile for hp300 tags file 9 10 SUBDIR= stand 11 12 THP300= ../hp300/tags 13 SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \ 14 ../hp300/hpux/*.[ch] ../hp300/dev/*.[ch] 15 AHP300= ../hp300/hp300/*.s 16 17 # Directories in which to place hp300 tags links 18 DHP300= dev hpux include 19 20 tags: 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 27 links: 28 -for i in ${DHP300}; do \ 29 cd ../$$i && rm -f tags; ln -s ../tags tags; done 30 31 .include <bsd.prog.mk> 32