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