1997-10-11 13:12:18 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 1997/10/11 09:12:18 mycroft Exp $
|
1995-02-14 02:06:39 +03:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
# Makefile for alpha tags file and boot blocks
|
1995-02-14 02:06:39 +03:00
|
|
|
|
1995-02-27 19:36:07 +03:00
|
|
|
TALPHA= ../alpha/tags
|
1997-10-11 12:42:02 +04:00
|
|
|
SALPHA= ../alpha/alpha/*.[ch] ../alpha/include/*.h \
|
|
|
|
../alpha/pci/*.[ch] ../alpha/tlsb/*.[ch] ../alpha/tc/*.[ch]
|
1995-02-27 19:36:07 +03:00
|
|
|
AALPHA= ../alpha/alpha/*.S
|
1995-02-14 02:06:39 +03:00
|
|
|
|
1997-10-11 13:12:18 +04:00
|
|
|
# Directories in which to place tags links
|
1995-02-27 19:36:07 +03:00
|
|
|
DALPHA= tc include
|
1997-10-11 12:42:02 +04:00
|
|
|
|
1997-05-04 05:49:14 +04:00
|
|
|
.include "../../kern/Make.tags.inc"
|
1995-02-14 02:06:39 +03:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
tags:
|
1997-05-04 05:53:01 +04:00
|
|
|
-ctags -wdtf ${TALPHA} ${SALPHA} ${COMM}
|
1995-02-27 19:36:07 +03:00
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AALPHA} | \
|
1995-02-14 02:06:39 +03:00
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
1997-10-11 12:42:02 +04:00
|
|
|
>> ${TALPHA}
|
1995-02-27 19:36:07 +03:00
|
|
|
sort -o ${TALPHA} ${TALPHA}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DALPHA}; do \
|
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
|
1997-10-11 13:12:18 +04:00
|
|
|
|
|
|
|
SUBDIR= stand
|
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
.include <bsd.subdir.mk>
|