1997-10-11 09:11:17 +00:00
|
|
|
# $NetBSD: Makefile,v 1.14 1997/10/11 09:11:17 mycroft Exp $
|
1994-10-26 02:01:24 +00:00
|
|
|
|
1997-10-11 08:42:02 +00:00
|
|
|
# Makefile for amiga tags file and boot blocks
|
1993-07-05 19:19:41 +00:00
|
|
|
|
1997-10-11 09:11:17 +00:00
|
|
|
# Find where m68k source files are for inclusion in tags
|
|
|
|
.include <../m68k/Makefile.inc>
|
1993-07-05 19:19:41 +00:00
|
|
|
|
1997-10-11 09:11:17 +00:00
|
|
|
TAMIGA= ../amiga/tags
|
|
|
|
SAMIGA= ../amiga/amiga/*.[ch] ../amiga/include/*.h \
|
|
|
|
../amiga/dev/*.[ch]
|
|
|
|
AAMIGA= ../amiga/amiga/*.s
|
1993-07-05 19:19:41 +00:00
|
|
|
|
1997-10-11 09:11:17 +00:00
|
|
|
# Directories in which to place tags links
|
1994-02-23 20:23:30 +00:00
|
|
|
DAMIGA= amiga dev include
|
1993-07-05 19:19:41 +00:00
|
|
|
|
1997-10-11 08:42:02 +00:00
|
|
|
.include "../../kern/Make.tags.inc"
|
1994-03-09 15:56:08 +00:00
|
|
|
|
1993-07-05 19:19:41 +00:00
|
|
|
tags:
|
1997-10-11 09:11:17 +00:00
|
|
|
-ctags -wdtf ${TAMIGA} ${SAMIGA} ${SM68K} ${COMM}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} ${AM68K} | \
|
1994-03-14 01:55:43 +00:00
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
1994-05-08 05:47:07 +00:00
|
|
|
>> ${TAMIGA}
|
|
|
|
sort -o ${TAMIGA} ${TAMIGA}
|
1993-07-05 19:19:41 +00:00
|
|
|
|
|
|
|
links:
|
1994-03-14 01:55:43 +00:00
|
|
|
-for i in ${DAMIGA}; do \
|
1997-10-11 08:42:02 +00:00
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
1994-03-09 15:56:08 +00:00
|
|
|
|
1997-10-11 09:11:17 +00:00
|
|
|
|
|
|
|
SUBDIR= stand
|
|
|
|
|
1997-10-11 08:42:02 +00:00
|
|
|
.include <bsd.subdir.mk>
|