Home | History | Annotate | Line # | Download | only in hp300
Makefile revision 1.11.108.1
      1  1.11.108.1     yamt #	$NetBSD: Makefile,v 1.11.108.1 2009/05/04 08:11:05 yamt 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.11.108.1     yamt 	    ${TOOL_SED} -e \
     22  1.11.108.1     yamt 		"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.9  mycroft 
     30         1.9  mycroft 
     31        1.11    lukem SUBDIR=	compile include stand
     32         1.3  hpeyerl 
     33         1.7  mycroft .include <bsd.subdir.mk>
     34