1998-06-13 03:22:30 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 1998/06/12 23:22:43 cgd Exp $
|
1996-03-13 07:58:04 +03:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
# Makefile for pica tags file and boot blocks
|
|
|
|
|
|
|
|
# Find where mips source files are for inclusion in tags
|
|
|
|
.include <../mips/Makefile.inc>
|
|
|
|
|
|
|
|
TPICA= ../pica/tags
|
|
|
|
SPICA= ../pica/pica/*.[ch] ../pica/include/*.[ch] \
|
|
|
|
../pica/dev/*.[ch] ../pica/ultrix/*.[ch]
|
|
|
|
APICA= ../pica/pica/*.s
|
|
|
|
|
|
|
|
# Directories in which to place tags links
|
|
|
|
DPICA= dev dist include pica
|
1996-03-13 07:58:04 +03:00
|
|
|
|
1998-06-13 03:22:30 +04:00
|
|
|
.include "../../kern/Make.tags.inc"
|
1996-03-13 07:58:04 +03:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
tags:
|
|
|
|
-ctags -wdtf ${TPICA} ${SPICA} ${SMIPS} ${COMM}
|
|
|
|
egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${APICA} ${AMIPS} | \
|
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> ${TPICA}
|
|
|
|
sort -o ${TPICA} ${TPICA}
|
1996-03-13 07:58:04 +03:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
links:
|
|
|
|
-for i in ${DPICA}; do \
|
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
1996-03-13 07:58:04 +03:00
|
|
|
|
|
|
|
|
1998-06-13 03:22:30 +04:00
|
|
|
SUBDIR= include
|
1996-03-13 07:58:04 +03:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
.include <bsd.subdir.mk>
|