1998-06-13 03:22:30 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 1998/06/12 23:22:38 cgd Exp $
|
1994-10-26 11:45:48 +03:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
# Makefile for mac68k tags file and boot blocks
|
1994-07-02 17:11:10 +04:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
# Find where m68k source files are for inclusion in tags
|
|
|
|
.include <../m68k/Makefile.inc>
|
1994-07-02 17:11:10 +04:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
TMAC68K=../mac68k/tags
|
|
|
|
SMAC68K=../m68k/m68k/*.c ../m68k/include/*.h \
|
|
|
|
../mac68k/mac68k/*.[ch] ../mac68k/include/*.h \
|
|
|
|
../mac68k/dev/*.[ch]
|
|
|
|
AMAC68K=../mac68k/mac68k/*.s
|
1994-07-02 17:11:10 +04:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
# Directories in which to place tags links
|
|
|
|
DMAC68K=mac68k dev include
|
1994-07-02 17:11:10 +04:00
|
|
|
|
1997-10-11 13:10:25 +04:00
|
|
|
.include "../../kern/Make.tags.inc"
|
1994-07-02 17:11:10 +04:00
|
|
|
|
|
|
|
tags:
|
1997-10-11 13:10:25 +04:00
|
|
|
-ctags -wdtf ${TMAC68K} ${SMAC68K} ${SM68K} ${COMM}
|
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMAC68K} ${AM68K} | \
|
1994-07-02 17:11:10 +04:00
|
|
|
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
|
|
|
>> ${TMAC68K}
|
|
|
|
sort -o ${TMAC68K} ${TMAC68K}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DMAC68K}; do \
|
1996-03-27 06:56:22 +03:00
|
|
|
cd $$i && rm -f tags; ln -s ../tags tags; done
|
1994-07-02 17:11:10 +04:00
|
|
|
|
|
|
|
|
1998-06-13 03:22:30 +04:00
|
|
|
SUBDIR= include
|
1997-10-11 13:10:25 +04:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|