make useful for emacs users and update files checked for tags.
This commit is contained in:
parent
0388374233
commit
8562ffd511
@ -1,9 +1,10 @@
|
||||
# from: @(#)Makefile 7.3 (Berkeley) 6/9/91
|
||||
# $Id: Makefile,v 1.6 1994/03/08 07:36:26 chopps Exp $
|
||||
S=../..
|
||||
COMM= $S/net/*.[ch] $S/netimp/*.[ch] $S/netinet/*.[ch] $S/netns/*.[ch] \
|
||||
$S/netiso/*.[ch] $S/netccitt/*.[ch] \
|
||||
$S/kern/*.c $S/ufs/*.[ch] $S/nfs/*.[ch] $S/vm/*.[ch] $S/sys/*.h
|
||||
# $Id: Makefile,v 1.7 1994/03/09 15:56:08 chopps Exp $
|
||||
S=${BSDSRCDIR}/sys
|
||||
COMM= $S/vm/*.[ch] $S/ufs/*.[ch] $S/sys/*.h $S/compat/sunos/*.[ch] \
|
||||
$S/nfs/*.[ch] $S/netns/*.[ch] $S/netiso/*.[ch] \
|
||||
$S/netiso/xebec/*.[ch] $S/netinet/*.[ch] $S/netccitt/*.[ch] \
|
||||
$S/net/*.[ch] $S/miscfs/*/*.[ch] $S/kern/*.[ch]
|
||||
|
||||
# Makefile for amiga tags file
|
||||
|
||||
@ -11,22 +12,31 @@ all:
|
||||
@echo "make tags or links only"
|
||||
|
||||
TAMIGA= $S/arch/amiga/tags
|
||||
SAMIGA= $S/arch/amiga/amiga/*.[ch] $S/arch/amiga/include/*.h \
|
||||
$S/arch/amiga/dev/*.[ch]
|
||||
AAMIGA= $S/arch/amiga/amiga/*.s
|
||||
SAMIGA= $S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \
|
||||
$S/arch/amiga/amiga/*.[ch] $S/arch/amiga/include/*.h \
|
||||
$S/arch/amiga/dev/*.[ch]
|
||||
AAMIGA= $S/arch/m68k/m68k/*.s $S/arch/amiga/amiga/*.s
|
||||
|
||||
# Directories in which to place amiga tags links
|
||||
DAMIGA= amiga dev include
|
||||
|
||||
TAGS:
|
||||
-etags -dt ${COMM} ${SAMIGA} ${AAMIGA}
|
||||
# egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
|
||||
# sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
# >> ${TAMIGA}/tags
|
||||
|
||||
tags:
|
||||
-ctags -dtf ${TAMIGA} ${COMM} ${SAMIGA}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
|
||||
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TAMIGA}
|
||||
sort -o ${TAMIGA} ${TAMIGA}
|
||||
-ctags -dtf ${TAMIGA}/tags ${COMM} ${SAMIGA}
|
||||
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
|
||||
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
||||
>> ${TAMIGA}/tags
|
||||
sort -o ${TAMIGA}/tags ${TAMIGA}/tags
|
||||
|
||||
links:
|
||||
-for i in ${DAMIGA}; do \
|
||||
rm -f $$i/tags; ln -s ../tags $$i/tags; done
|
||||
-for i in ${DAMIGA}; do \
|
||||
rm -f $$i/tags; rm -f $$i/TAGS ; \
|
||||
ln -s ../tags $$i/tags; ln -s ../TAGS $$i/TAGS; done
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user