Home | History | Annotate | Line # | Download | only in pmax
Makefile revision 1.6.4.1
      1  1.6.4.1   thorpej #	$NetBSD: Makefile,v 1.6.4.1 1997/10/14 10:18:01 thorpej Exp $
      2      1.4       cgd 
      3      1.5  jonathan # Makefile for pmax tags file and boot blocks
      4      1.1   deraadt 
      5  1.6.4.1   thorpej # Find where mips source files are for inclusion in tags
      6      1.5  jonathan .include <../mips/Makefile.inc>
      7      1.1   deraadt 
      8      1.5  jonathan TPMAX=	../pmax/tags
      9      1.5  jonathan SPMAX=	../pmax/pmax/*.[ch] ../pmax/include/*.h \
     10      1.5  jonathan 	../pmax/dev/*.[ch] ../pmax/tc/*.[ch]
     11      1.5  jonathan APMAX=	../pmax/pmax/*.S
     12      1.2     glass 
     13  1.6.4.1   thorpej # Directories in which to place tags links
     14      1.5  jonathan DPMAX=	dev tc include
     15      1.2     glass 
     16  1.6.4.1   thorpej .include "../../kern/Make.tags.inc"
     17  1.6.4.1   thorpej 
     18  1.6.4.1   thorpej tags:
     19  1.6.4.1   thorpej 	-ctags -wdtf ${TPMAX} ${SPMAX} ${SMIPS} ${COMM}
     20      1.5  jonathan 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APMAX} ${AMIPS} | \
     21      1.5  jonathan 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     22  1.6.4.1   thorpej 	    >> ${TPMAX}
     23      1.5  jonathan 	sort -o ${TPMAX} ${TPMAX}
     24      1.5  jonathan 
     25      1.5  jonathan links:
     26      1.5  jonathan 	-for i in ${DPMAX}; do \
     27      1.5  jonathan 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     28      1.5  jonathan 
     29  1.6.4.1   thorpej 
     30  1.6.4.1   thorpej SUBDIR=	stand
     31  1.6.4.1   thorpej 
     32  1.6.4.1   thorpej .include <bsd.subdir.mk>
     33