Commit | Line | Data |
---|---|---|
ad787160 | 1 | # @(#)Makefile 8.1 (Berkeley) 6/16/93 |
60ba453d | 2 | |
ad787160 | 3 | # Makefile for pmax links, tags file |
60ba453d KM |
4 | |
5 | .include "../kern/Make.tags.inc" | |
6 | ||
7 | all: | |
ad787160 | 8 | @echo "make links or tags only" |
60ba453d | 9 | |
ad787160 C |
10 | DIRS= conf dev dist include pmax ultrix |
11 | ||
12 | links:: | |
13 | -for i in ${DIRS}; do \ | |
14 | (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done | |
15 | ||
16 | PMAX= /sys/pmax/dev/*.[ch] /sys/pmax/include/*.[ch] \ | |
f5934919 KB |
17 | /sys/pmax/pmax/*.[ch] /sys/pmax/ultrix/*.[ch] |
18 | APMAX= /sys/pmax/pmax/*.s | |
60ba453d | 19 | |
f5934919 | 20 | tags:: |
ad787160 C |
21 | -ctags -wdt ${COMM} ${PMAX} |
22 | egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${APMAX} | \ | |
60ba453d | 23 | sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ |
f5934919 KB |
24 | >> tags |
25 | sort -o tags tags | |
ad787160 C |
26 | chown bin.wsrc tags |
27 | chmod 444 tags |