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