1993-10-02 13:22:00 +03:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/11/93
|
1994-02-06 18:27:54 +03:00
|
|
|
# $Id: Makefile,v 1.2 1994/02/06 15:27:54 deraadt Exp $
|
1993-10-02 13:22:00 +03:00
|
|
|
#
|
|
|
|
# Makefile for sparc links, tags file
|
|
|
|
|
1994-02-06 18:27:54 +03:00
|
|
|
NOPROG= noprog
|
|
|
|
NOMAN= noman
|
|
|
|
NOOBJ= noobj
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1994-02-06 18:27:54 +03:00
|
|
|
DIRS= conf dev fpu include rcons sbus sparc
|
1993-10-02 13:22:00 +03:00
|
|
|
|
|
|
|
links::
|
|
|
|
-for i in ${DIRS}; do \
|
|
|
|
(cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
|
|
|
|
|
|
|
|
SPARC= /sys/arch/sparc/dev/*.[ch] /sys/arch/sparc/fpu/*.[ch] \
|
|
|
|
/sys/arch/sparc/include/*.[ch] /sys/arch/sparc/rcons/*.[ch] \
|
1994-02-06 18:27:54 +03:00
|
|
|
/sys/arch/sparc/sbus/*.[ch] /sys/arch/sparc/sparc/*.[ch]
|
1993-10-02 13:22:00 +03:00
|
|
|
ASPARC= /sys/arch/sparc/sparc/*.s
|
|
|
|
|
1994-02-06 18:27:54 +03:00
|
|
|
tags:
|
1993-10-02 13:22:00 +03:00
|
|
|
-ctags -wdt ${COMM} ${SPARC}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
|
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> tags
|
|
|
|
sort -o tags tags
|
1994-02-06 18:27:54 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|