blob: 5612722d044e02a4dfd9fe1d0f9f993a19d0a85a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $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
|