Home | History | Annotate | Line # | Download | only in hp300
Makefile revision 1.1
      1  1.1  cgd #	@(#)Makefile	7.3 (Berkeley) 6/9/91
      2  1.1  cgd 
      3  1.1  cgd COMM=	../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] ../netns/*.[ch] \
      4  1.1  cgd 	../netiso/*.[ch] ../netccitt/*.[ch] \
      5  1.1  cgd 	../kern/*.c ../ufs/*.[ch] ../nfs/*.[ch] ../vm/*.[ch] ../sys/*.h
      6  1.1  cgd 
      7  1.1  cgd # Makefile for hp300 tags file
      8  1.1  cgd 
      9  1.1  cgd all:
     10  1.1  cgd 	@echo "make tags or links only"
     11  1.1  cgd 
     12  1.1  cgd THP300=	../hp300/tags
     13  1.1  cgd SHP300=	../hp300/hp300/*.[ch] ../hp300/include/*.h \
     14  1.1  cgd 	../hp300/hpux/*.[ch] ../hp300/dev/*.[ch]
     15  1.1  cgd AHP300=	../hp300/hp300/*.s
     16  1.1  cgd 
     17  1.1  cgd # Directories in which to place hp300 tags links
     18  1.1  cgd DHP300=	dev hpux include
     19  1.1  cgd 
     20  1.1  cgd tags:
     21  1.1  cgd 	-ctags -dtf ${THP300} ${COMM} ${SHP300}
     22  1.1  cgd 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
     23  1.1  cgd 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     24  1.1  cgd 		>> ${THP300}
     25  1.1  cgd 	sort -o ${THP300} ${THP300}
     26  1.1  cgd 
     27  1.1  cgd links:
     28  1.1  cgd 	-for i in ${DHP300}; do \
     29  1.1  cgd 	    cd ../$$i && rm -f tags; ln -s ../tags tags; done
     30