1 # from: @(#)Makefile 7.3 (Berkeley) 6/9/91 2 # $Id: Makefile,v 1.2 1993/07/31 15:26:53 mycroft 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 all: 11 @echo "make tags or links only" 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