This commit is contained in:
deraadt 1994-02-06 15:27:54 +00:00
parent 2df8c5f528
commit 9c9539c664
1 changed files with 9 additions and 11 deletions

View File

@ -1,14 +1,13 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/11/93
# $Id: Makefile,v 1.1 1993/10/02 10:22:00 deraadt Exp $
# $Id: Makefile,v 1.2 1994/02/06 15:27:54 deraadt Exp $
#
# Makefile for sparc links, tags file
.include "../kern/Make.tags.inc"
NOPROG= noprog
NOMAN= noman
NOOBJ= noobj
all:
@echo "make links or tags only"
DIRS= conf dev fpu include rcons sbus sparc sunos
DIRS= conf dev fpu include rcons sbus sparc
links::
-for i in ${DIRS}; do \
@ -16,15 +15,14 @@ links::
SPARC= /sys/arch/sparc/dev/*.[ch] /sys/arch/sparc/fpu/*.[ch] \
/sys/arch/sparc/include/*.[ch] /sys/arch/sparc/rcons/*.[ch] \
/sys/arch/sparc/sbus/*.[ch] /sys/arch/sparc/sparc/*.[ch] \
/sys/arch/sparc/sunos/*.[ch]
/sys/arch/sparc/sbus/*.[ch] /sys/arch/sparc/sparc/*.[ch]
ASPARC= /sys/arch/sparc/sparc/*.s
tags::
tags:
-ctags -wdt ${COMM} ${SPARC}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASPARC} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> tags
sort -o tags tags
chown bin.wsrc tags
chmod 444 tags
.include <bsd.prog.mk>