Home | History | Annotate | Line # | Download | only in hp300
Makefile revision 1.7
      1  1.7  mycroft #	$NetBSD: Makefile,v 1.7 1997/10/11 08:42:06 mycroft Exp $
      2  1.4      cgd 
      3  1.7  mycroft NOOBJ=
      4  1.1      cgd 
      5  1.5  thorpej # Makefile for hp300 tags file and boot blocks
      6  1.1      cgd 
      7  1.3  hpeyerl SUBDIR= stand
      8  1.1      cgd 
      9  1.1      cgd THP300=	../hp300/tags
     10  1.1      cgd SHP300=	../hp300/hp300/*.[ch] ../hp300/include/*.h \
     11  1.5  thorpej 	../hp300/dev/*.[ch]
     12  1.1      cgd AHP300=	../hp300/hp300/*.s
     13  1.1      cgd 
     14  1.1      cgd # Directories in which to place hp300 tags links
     15  1.5  thorpej DHP300=	dev hp300 include
     16  1.1      cgd 
     17  1.7  mycroft .include "../../kern/Make.tags.inc"
     18  1.7  mycroft 
     19  1.1      cgd tags:
     20  1.7  mycroft 	-ctags -wdtf ${THP300} ${SHP300} ${COMM}
     21  1.1      cgd 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
     22  1.1      cgd 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     23  1.7  mycroft 	    >> ${THP300}
     24  1.1      cgd 	sort -o ${THP300} ${THP300}
     25  1.1      cgd 
     26  1.1      cgd links:
     27  1.1      cgd 	-for i in ${DHP300}; do \
     28  1.5  thorpej 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     29  1.3  hpeyerl 
     30  1.7  mycroft .include <bsd.subdir.mk>
     31