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