1993-07-31 19:17:49 +04:00
|
|
|
# from: @(#)Makefile 7.3 (Berkeley) 6/9/91
|
1994-05-08 09:47:07 +04:00
|
|
|
# $Id: Makefile,v 1.9 1994/05/08 05:47:07 chopps Exp $
|
1994-03-09 18:56:08 +03:00
|
|
|
S=${BSDSRCDIR}/sys
|
1994-03-14 04:55:43 +03:00
|
|
|
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] \
|
1994-05-08 09:47:07 +04:00
|
|
|
$S/net/*.[ch] $S/miscfs/*/*.[ch] $S/kern/*.[ch] $S/dev/*.[ch] \
|
|
|
|
$S/scsi/*.[ch] $S/lib/libkern/m68k/*.[ch] $S/lib/libkern/*.[ch]
|
1993-07-05 23:19:41 +04:00
|
|
|
|
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"
|
|
|
|
|
1994-02-23 23:23:30 +03:00
|
|
|
TAMIGA= $S/arch/amiga/tags
|
1994-03-14 04:55:43 +03:00
|
|
|
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]
|
1994-03-09 18:56:08 +03:00
|
|
|
AAMIGA= $S/arch/m68k/m68k/*.s $S/arch/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
|
1994-02-23 23:23:30 +03:00
|
|
|
DAMIGA= amiga dev include
|
1993-07-05 23:19:41 +04:00
|
|
|
|
1994-03-09 18:56:08 +03:00
|
|
|
TAGS:
|
1994-03-14 04:55:43 +03:00
|
|
|
-etags -dt ${COMM} ${SAMIGA} ${AAMIGA}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
|
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> ${TAMIGA}/tags
|
1994-03-09 18:56:08 +03:00
|
|
|
|
1993-07-05 23:19:41 +04:00
|
|
|
tags:
|
1994-05-08 09:47:07 +04:00
|
|
|
-ctags -dtf ${TAMIGA} ${COMM} ${SAMIGA}
|
1994-03-14 04:55:43 +03:00
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
|
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
1994-05-08 09:47:07 +04:00
|
|
|
>> ${TAMIGA}
|
|
|
|
sort -o ${TAMIGA} ${TAMIGA}
|
1993-07-05 23:19:41 +04:00
|
|
|
|
|
|
|
links:
|
1994-03-14 04:55:43 +03:00
|
|
|
-for i in ${DAMIGA}; do \
|
|
|
|
rm -f $$i/tags; rm -f $$i/TAGS ; \
|
|
|
|
ln -s ../tags $$i/tags; ln -s ../TAGS $$i/TAGS; done
|
1994-02-23 23:23:30 +03:00
|
|
|
|
1994-03-08 10:36:26 +03:00
|
|
|
.include <bsd.prog.mk>
|
1994-03-09 18:56:08 +03:00
|
|
|
|