1997-05-07 21:28:47 +04:00
|
|
|
# $NetBSD: Makefile,v 1.7 1997/05/07 17:28:47 mycroft Exp $
|
1995-02-14 02:06:39 +03:00
|
|
|
|
1995-02-27 19:36:07 +03: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
|
|
|
NOPROG= noprog
|
|
|
|
NOMAN= noman
|
1995-02-14 02:06:39 +03:00
|
|
|
|
1995-02-27 19:36:07 +03:00
|
|
|
SUBDIR= stand
|
1995-02-14 02:06:39 +03:00
|
|
|
|
1995-02-27 19:36:07 +03:00
|
|
|
TALPHA= ../alpha/tags
|
1997-05-04 05:53:01 +04:00
|
|
|
SA0= ../alpha/include/pmap.old.h ../alpha/alpha/pmap.old.c
|
1997-05-04 05:49:14 +04:00
|
|
|
SA1= ../alpha/alpha/*.[ch]
|
|
|
|
SALPHA= ${SA0} ${SA1} ../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
|
|
|
|
1995-02-27 19:36:07 +03:00
|
|
|
# Directories in which to place alpha tags links
|
|
|
|
DALPHA= tc include
|
1997-05-04 05:49:14 +04:00
|
|
|
.include "../../kern/Make.tags.inc"
|
1995-02-14 02:06:39 +03:00
|
|
|
|
1997-05-04 05:49:14 +04:00
|
|
|
tags: FRC
|
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$$/;" \
|
1995-02-27 19:36:07 +03:00
|
|
|
>> ${TALPHA}
|
|
|
|
sort -o ${TALPHA} ${TALPHA}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DALPHA}; do \
|
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1997-05-04 05:49:14 +04:00
|
|
|
|
|
|
|
FRC:
|