NetBSD/sys/arch/pmax/Makefile

30 lines
706 B
Makefile
Raw Normal View History

1994-10-27 00:08:38 +03:00
# $NetBSD: Makefile,v 1.4 1994/10/26 21:08:38 cgd Exp $
# @(#)Makefile 8.1 (Berkeley) 6/16/93
# Makefile for pmax links, tags file
.include "../kern/Make.tags.inc"
all:
@echo "make links or tags only"
DIRS= conf dev dist include pmax ultrix
links::
-for i in ${DIRS}; do \
(cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
PMAX= /sys/pmax/dev/*.[ch] /sys/pmax/include/*.[ch] \
/sys/pmax/pmax/*.[ch] /sys/pmax/ultrix/*.[ch]
APMAX= /sys/pmax/pmax/*.s
tags::
-ctags -wdt ${COMM} ${PMAX}
egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${APMAX} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> tags
sort -o tags tags
chown bin.wsrc tags
chmod 444 tags