1994-05-27 12:39:00 +04:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/16/93
|
1994-05-27 12:57:32 +04:00
|
|
|
# $Id: Makefile,v 1.3 1994/05/27 08:57:32 glass Exp $
|
1993-10-12 06:22:19 +03:00
|
|
|
|
1994-05-27 12:39:00 +04:00
|
|
|
# Makefile for pmax links, tags file
|
1993-10-12 06:22:19 +03:00
|
|
|
|
|
|
|
.include "../kern/Make.tags.inc"
|
|
|
|
|
|
|
|
all:
|
1994-05-27 12:39:00 +04:00
|
|
|
@echo "make links or tags only"
|
1993-10-12 06:22:19 +03:00
|
|
|
|
1994-05-27 12:39:00 +04:00
|
|
|
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] \
|
1993-10-12 06:22:19 +03:00
|
|
|
/sys/pmax/pmax/*.[ch] /sys/pmax/ultrix/*.[ch]
|
|
|
|
APMAX= /sys/pmax/pmax/*.s
|
|
|
|
|
|
|
|
tags::
|
1994-05-27 12:39:00 +04:00
|
|
|
-ctags -wdt ${COMM} ${PMAX}
|
|
|
|
egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${APMAX} | \
|
1993-10-12 06:22:19 +03:00
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> tags
|
|
|
|
sort -o tags tags
|
1994-05-27 12:39:00 +04:00
|
|
|
chown bin.wsrc tags
|
|
|
|
chmod 444 tags
|