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