Makefile revision 1.2
1# from: @(#)Makefile 7.3 (Berkeley) 6/9/91 2# $Id: Makefile,v 1.2 1993/07/31 15:26:53 mycroft Exp $ 3 4COMM= ../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 10all: 11 @echo "make tags or links only" 12 13THP300= ../hp300/tags 14SHP300= ../hp300/hp300/*.[ch] ../hp300/include/*.h \ 15 ../hp300/hpux/*.[ch] ../hp300/dev/*.[ch] 16AHP300= ../hp300/hp300/*.s 17 18# Directories in which to place hp300 tags links 19DHP300= dev hpux include 20 21tags: 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 28links: 29 -for i in ${DHP300}; do \ 30 cd ../$$i && rm -f tags; ln -s ../tags tags; done 31