1997-10-11 12:44:42 +04:00
|
|
|
# $NetBSD: Makefile,v 1.13 1997/10/11 08:44:44 mycroft Exp $
|
1994-10-26 05:01:24 +03:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
# Makefile for amiga tags file and boot blocks
|
1993-07-05 23:19:41 +04:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
SUBDIR= stand
|
1993-07-05 23:19:41 +04:00
|
|
|
|
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
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
.include "../../kern/Make.tags.inc"
|
1994-03-09 18:56:08 +03:00
|
|
|
|
1993-07-05 23:19:41 +04:00
|
|
|
tags:
|
1997-10-11 12:42:02 +04:00
|
|
|
-ctags -wdtf ${TAMIGA} ${SAMIGA} ${COMM}
|
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 \
|
1997-10-11 12:42:02 +04:00
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
1994-03-09 18:56:08 +03:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
.include <bsd.subdir.mk>
|