1993-07-31 19:17:49 +04:00
|
|
|
# from: @(#)Makefile 7.3 (Berkeley) 6/9/91
|
1994-01-27 00:00:13 +03:00
|
|
|
# $Id: Makefile,v 1.4 1994/01/26 21:00:13 mw Exp $
|
1993-07-05 23:19:41 +04:00
|
|
|
|
|
|
|
COMM= ../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] ../netns/*.[ch] \
|
|
|
|
../netiso/*.[ch] ../netccitt/*.[ch] \
|
|
|
|
../kern/*.c ../ufs/*.[ch] ../nfs/*.[ch] ../vm/*.[ch] ../sys/*.h
|
|
|
|
|
1993-10-31 02:40:05 +03:00
|
|
|
# Makefile for amiga tags file
|
1993-07-05 23:19:41 +04:00
|
|
|
|
|
|
|
all:
|
|
|
|
@echo "make tags or links only"
|
|
|
|
|
1993-10-31 02:40:05 +03:00
|
|
|
TAMIGA= ../amiga/tags
|
|
|
|
SAMIGA= ../amiga/amiga/*.[ch] ../amiga/include/*.h \
|
|
|
|
../amiga/dev/*.[ch]
|
|
|
|
AAMIGA= ../amiga/amiga/*.s
|
1993-07-05 23:19:41 +04:00
|
|
|
|
1993-10-31 02:40:05 +03:00
|
|
|
# Directories in which to place amiga tags links
|
|
|
|
DAMIGA= dev include
|
1993-07-05 23:19:41 +04:00
|
|
|
|
|
|
|
tags:
|
1993-10-31 02:40:05 +03:00
|
|
|
-ctags -dtf ${TAMIGA} ${COMM} ${SAMIGA}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
|
1993-07-05 23:19:41 +04:00
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
1993-10-31 02:40:05 +03:00
|
|
|
>> ${TAMIGA}
|
|
|
|
sort -o ${TAMIGA} ${TAMIGA}
|
1993-07-05 23:19:41 +04:00
|
|
|
|
|
|
|
links:
|
1993-10-31 02:40:05 +03:00
|
|
|
-for i in ${DAMIGA}; do \
|
1993-07-05 23:19:41 +04:00
|
|
|
cd ../$$i && rm -f tags; ln -s ../tags tags; done
|