1995-02-27 19:36:07 +03:00
|
|
|
# $NetBSD: Makefile,v 1.3 1995/02/27 16:36:07 cgd 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
|
|
|
|
SALPHA= ../alpha/alpha/*.[ch] ../alpha/include/*.h ../alpha/tc/*.[ch]
|
|
|
|
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
|
1995-02-14 02:06:39 +03:00
|
|
|
|
1995-02-27 19:36:07 +03:00
|
|
|
tags:
|
|
|
|
-ctags -dtf ${TALPHA} ${COMM} ${SALPHA}
|
|
|
|
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
|
|
|
|
|
|
|
|
obj: _SUBDIRUSE
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|